Docker Community Forums

Share and learn in the Docker community.

Docker commands hang after exiting attached container

docker
beta

(Tiago Ferreira) #1

Expected behavior

The commands should load.

Actual behavior

Any command just hangs on executing (docker ps, docker info, etc.)

Information

  • the output of:
Docker for Mac: version: mac-v1.12.0-beta18-3-gec40b14
OS X: version 10.12 (build: 16A239j)
logs: /tmp/20160713-124936.tar.gz
failure: /Users/tiferrei/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/console-ring does not exist
[ERROR]  docker-cli
         docker ps failed
[OK]     app
[OK]     menubar
[OK]     virtualization
[OK]     system
[OK]     osxfs
[OK]     db
[OK]     slirp
[OK]     moby-console
[OK]     logs
[OK]     vmnetd
[OK]     env
[ERROR]  moby
         /Users/tiferrei/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/console-ring does not exist
[OK]     driver.amd64-linux```

  - a reproducible case if this is a bug, Dockerfiles FTW
**87856E26-D6D0-456E-A416-502102D6EF1E**

  - host distribution and version ( OSX 10.10.x, OSX 10.11.x, Windows, etc )
**OS X 10.12**

### Steps to reproduce the behavior

1. Run a container attached (`docker start -a ghost`)
2. Try to exit the attached terminal (`ctrl-c`) but nothing seems to work, so I just exit the terminal windows.
3. Open a new window, type any command (`docker ps`) and it just hangs there for eternity.
4. Try to restart Docker, and it just hangs on "starting..."