![]() ![]() MY QUESTION: I want to clean up any orphan containers, but I don't want it to effect my other services. If I run systemctl start I see "Removing orphan container "portainer"" in the logs for the bitwarden service and portainer and nextcloud are not running or vise-versa. When you start the systemd service it kills the other services. My issue is with the -remove-orphans switch. WorkingDirectory=/mnt/dockerdata/%i/composeĮxecStart=/usr/bin/docker-compose up -d -remove-orphans var/run/docker.sock:/var/run/docker.sockĭescription=%i service with docker compose Systemctl status status status version: '3' mnt/dockerdata/bitwarden/compose/docker-compose.yml My setup: I have created docker-compose.yml file for each of my docker container servicesĮ.g. I really like this configuration but I'm running into an issue. I'm still new to docker and learning daily. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |