Sign inSign up

anthonylau/autorestart

By anthonylau

•Updated about 8 years ago

Auto restart unhealthy container base on healthcheck

Image
0

257

anthonylau/autorestart repository overview

⁠Auto Restart Docker Container

Auto restart unhealthy containers base on healthcheck

⁠Setup

  1. Label your container with -l io.github.anthonylau.docker-autorestart=true
  2. Run this container with -v /var/run/docker.sock:/var/run/docker.sock

Tag summary

Content type

Image

Digest

Size

29.8 MB

Last updated

about 8 years ago

docker pull anthonylau/autorestart