docker-airflow
docker-airflow copied to clipboard
How do I stop systemd docker-compose containers
I see the below docker instances are added automatically to systemd, It started appearing after running docker celery-docker image,
Can you let me know if its defined in docker-celery compose file?
var-lib-docker-aufs-mnt-41d4f****.mount loaded active mounted /var/lib/docker/aufs/mnt/41d4f>
var-lib-docker-aufs-mnt-6edc2***.mount loaded active mounted /var/lib/docker/aufs/mnt/6edc2>
var-lib-docker-aufs-mnt-210718**.mount loaded active mounted /var/lib/docker/aufs/mnt/210718>
var-lib-docker-aufs-mnt-f99ff39**.mount loaded active mounted /var/lib/docker/aufs/mnt/f99ff39>
Its apparent to assume supervisord
is managing cluster and postgresql system service.
Can someone point me in the source code.
After few search, found https://blog.container-solutions.com/running-docker-containers-with-systemd, which talks about running containers as systemd service.
The below command removes all the container instance and also its associated services. In my case it resolved the issue. However I will start as service when I require it in sandbox. But as of now the below command solved my issue.
$docker-compose -f docker-compose-CeleryExecutor.yml rm