willfarrell / docker-autoheal

Monitor and restart unhealthy docker containers.
MIT License
1.31k stars 225 forks source link

autoheal not working :( #92

Open stepanov1975 opened 1 year ago

stepanov1975 commented 1 year ago

I am using docker-compose:

version: '3.3'
services:
  autoheal:
    container_name: autoheal
    restart: always
    environment:
      - AUTOHEAL_CONTAINER_LABEL=all
    volumes:
      - '/var/run/docker.sock:/var/run/docker.sock'
      - '/etc/localtime:/etc/localtime:ro'
    image: willfarrell/autoheal

Creating container:

[root@docker-fedora-nuc autoheal]# docker-compose up
Recreating autoheal ... done
Attaching to autoheal

That is all. No log no nothing. What am I missing?