Docker Community Forums

Share and learn in the Docker community.

Could not get container


(Livingdigital) #1

As you can see here I’m trying to start several docker container services in a CoreOS instance.

I’ve got a journalctl -u authz.service and it tells me that:

Error response from daemon: Could not get container for mongo.

It seems like mongo container is not reached.

Then, after having performed systemctl start authz.service it is started well. Each time I reboot the VM the problem appears again.

Any ideas?


(Nathan Le Claire) #2

figure out why mongo.service isn’t working. /usr/bin/docker run --name mongo -p 27017:27017 --hostname mongo mongo:2.6 must be failing. check the docker log for this container next time you boot with a failure. BTW you really should be using docker networks, not --link.