Healthcheck in Dockerfile docker
Native Docker healthcheck with curl (add to Dockerfile)
HEALTHCHECK --interval=10s --timeout=3s --retries=3 CMD curl -sf http://localhost:8080/health || exit 1
more docker
all 46 commands →
Docker scout vulnerabilities
docker scout cves --only-fixed myapp:latest
Run temporary debug container
docker run --rm -it --pid=host --network=host --privileged nicolaka/netshoot
Build matrix from bake file
docker buildx bake -f docker-bake.hcl --push
Inspect multi-arch manifest
docker buildx imagetools inspect <reg>/<name>:tag --format '{{json .Manifest}}'
Container driver builder
docker buildx create --name multi --use --driver docker-container --driver-opt network=host