-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Podman fails to recognize HEALTHCHECK in certain BuildKit images #18904
Comments
Did you store it in Docker format? I am not sure HEALTHCHECK is stored in OCI Format? |
HEALTHCHECK is only a part of the Docker image spec and not OCI. The image in my example is in the Docker format. |
@salevdns As far as I can see #12239 only corrected to get Imageconfig for images when it is in Is expectation here is to check if |
I am not sure tbh. To me it looks like it should be stored in the docker format when pulling. |
A friendly reminder that this issue had no activity for 30 days. |
@flouthoc @iamkirkbater Any update on this? |
In case it helps, I created a minimal test container in my accidentally reported duplicate issue:
I observed the same problem pulling that one, and also the official iobroker container which is built from this Dockerfile. Pulling the same containers with Docker and running them there reveals a working healthcheck. |
OCI does not support HEALTHCHECK yet : opencontainers/image-spec#749 might need to try docker format : containers/podman#18904
- Change dependencies. - Change library. - Adding logging. - Add healthcheck. - Provide environment thru os env. - Create Buildah pipeline : OCI does not support HEALTHCHECK yet : opencontainers/image-spec#749 forced to docker format : containers/podman#18904 - Update README.
FWIW, I started getting this with Kaniko some time ago for no apparent reason. Older versions of Kaniko+podman had healthchecks working normally, and, as expected, Kaniko+docker works without any problems. Forced me to switch back to docker for the time being :/ |
Issue Description
When pulling (some) images that were built with BuiltKit, podman fails to parse/store the declared healtcheck configuration of the dockerimage correctly. Tested with
docker.io/adguard/adguardhome@sha256:fc01fa555e6b324378176dff676c7791b2bb6ebfcf63bd2599db568287de7230
This appears to be (almost) identical to the previously resolved issue #12226, possibly indicating a regression or incomplete fix.
Steps to reproduce the issue
Describe the results you received
Describe the results you expected
Podman should properly parse and store the healthcheck that is specified in the dockerimage.
podman info output
Details
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
No response
Additional information
When pulling the image with docker, saving the image and loading it into podman, everything works as expected.
Image details:
adguardhome Dockerfile , adguardhome buildscript
The text was updated successfully, but these errors were encountered: