Supervisorctl does not restart `esgf-metrics` docker containers if `docker` service is down
Opened this issue · 0 comments
tomvothecoder commented
Maybe the docker service is killed whenever acme1
or the file system goes down?
bash-4.2$ sudo docker ps
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
bash-4.2$ sudo systemctl status docker
● docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
Active: inactive (dead)
Docs: https://docs.docker.com
(esgf_metrics_dev) bash-4.2$ sudo supervisorctl status
esgf-metrics FATAL Exited too quickly (process log may have details)
bash-4.2$ sudo supervisorctl start all
(esgf_metrics_dev) bash-4.2$ sudo supervisorctl start all
esgf-metrics: started
(esgf_metrics_dev) bash-4.2$ sudo supervisorctl status
esgf-metrics RUNNING pid 25642, uptime 0:00:04