ibuildthecloud / systemd-docker

Wrapper for "docker run" to handle systemd quirks
Apache License 2.0
720 stars 111 forks source link

Stopping one container stops all containers #30

Open Kellel opened 9 years ago

Kellel commented 9 years ago

I am running about 5 containers (4 applicatons and nginx) and I have created a unit file for each. Unfortunately when I stop or restart any one, all the rest go down with it and systemd still shows all of the processes as active. Is this an issue with my unit files? Here are a couple unit files for reference http://hastebin.com/ifahapoqet http://hastebin.com/ramokunube

Here's hoping this works better than when I asked the systemd irc channel!

onlyjob commented 8 years ago

I think I have a similar issue: when I stop container service it terminates docker.service so container can't be restarted... Any ideas?