Image with binary which does nothing and exits with code 0
100K+
does nothing and exits with code 0
At least one use case would be to spin up a docker-compose service (or a couple of them), wait until it's healthy and exit (something you cannot achieve with docker-compose up -d )
Example:
version: "2.4"
services:
mariadb:
image: mariadb
ports:
- "3306:3306"
environment:
- MYSQL_ROOT_PASSWORD=S3cret
healthcheck:
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
my-database:
image: zablvit/zero
depends_on:
mariadb:
condition: service_healthy
And execute docker-compose up my-database
Other use-cases are up to your imagination: e.g. k8s jobs, which do noting, etc.
Content type
Image
Digest
Size
129 Bytes
Last updated
over 7 years ago
docker pull zablvit/zero