Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
create: ignore check if image has HEALTHCHECK NONE
If the image was built with "HEALTHCHECK NONE" then we should create a container without healthcheck configuration. Otherwise executing the healthcheck on the container will return "unhealthy" instead of the correct error message that the container doesn't have a healthcheck. We also ignore the healthcheck configuration if the command list is empty or the command string is empty. Fixes containers#3525 Signed-off-by: Stefan Becker <[email protected]>
- Loading branch information