Revive automatically monitors all stopped Docker containers on your host and restarts them. Perfect for ensuring critical services always stay running.
exitedamd64, arm64, arm/v7docker run -d \
--name revive \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /etc/localtime:/etc/localtime:ro \
-v /etc/timezone:/etc/timezone:ro \
-e REVIVE_INTERVAL=60 \
boingbasti/revive:latest
REVIVE_INTERVAL – interval in seconds to check for stopped containers (default: 60s); must be a positive integer — invalid values are ignored and fall back to 60sversion: "3.9"
services:
revive:
image: boingbasti/revive:latest
container_name: docker-revive
restart: always
environment:
- REVIVE_INTERVAL=60
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
YYYY-MM-DD HH:MM:SSContent type
Image
Digest
sha256:fdcbdb8b5…
Size
13.3 MB
Last updated
5 months ago
docker pull boingbasti/revive