Docker Community Forums

Share and learn in the Docker community.

Docker image running from systemd, but from shell, everything but "version" hangs forever

On a CentOS7.2 box, with Docker 1.10.3, I’ve successfully set up a simple docker image to run at boot using systemd. The container runs fine, and does what it’s suppose to do (just runs apache to serve some content in a mapped volume).

What’s odd is that if I log into the box where it’s running, sudo to root, and then run "docker ", it just sits there and hangs forever, until I ^C it.

I see from https://github.com/docker/docker/issues/12606 , that this might be a FAQ, but I haven’t seen a clear solution to this.