Merge pull request #14626 from jakecorrenti/disable-docker-compose-health-check

Docker-compose disable healthcheck properly handled
This commit is contained in:
openshift-ci[bot]
2022-07-05 13:50:35 +00:00
committed by GitHub
6 changed files with 33 additions and 11 deletions

View File

@ -0,0 +1,10 @@
version: "3.7"
services:
noHc:
image: alpine
container_name: noHc
ports:
- "4000:80"
restart: unless-stopped
healthcheck:
disable: true

View File

@ -0,0 +1,2 @@
podman inspect --format='{{.Config.Healthcheck.Test}}' noHc
like $output "[NONE]" "$testname: healthcheck properly disabled"