docker-compose 结合autoheal 自动重启不健康的容器

docker run -d \
    --name autoheal \
    --restart=always \
    -e AUTOHEAL_CONTAINER_LABEL=all \
    -v /var/run/docker.sock:/var/run/docker.sock \
    willfarrell/autoheal
posted @ 2021-11-25 17:47  蒲公英PGY  阅读(762)  评论(0编辑  收藏  举报