umoci icon indicating copy to clipboard operation
umoci copied to clipboard

Support for healthcheck settings

Open davidcassany opened this issue 5 years ago • 2 comments

I am wondering if there is any chance to implement healthcheck configurations in umoci. The demand is originated from user demand on KIWI (see OSInside/kiwi#1639). I did a quick check on umoci and I could not see any way to specify the healthcheck from the command line.

Is this feature part of the umoci roadmap? Could it be included into the roadmap if it is not already there?

davidcassany avatar Dec 09 '20 17:12 davidcassany

Healthchecks aren't part of the OCI image-spec at the moment, and buildah actually ignores healthcheck options if generating OCI images. Maybe we could provide them as annotations or something, but not other tool would understand them.

Maybe we should add them to the image-spec...

cyphar avatar Dec 10 '20 08:12 cyphar

I arrived here thinking, well maybe there is an issue tracking this in the OCI image-spec project, and sure there is:

https://github.com/opencontainers/image-spec/issues/749

olof-nord avatar May 05 '22 15:05 olof-nord