Docker Community Forums

Share and learn in the Docker community.

Mac Public beta docker ps fails


(Glynjackson) #1

Testing Docker on Mac Public beta (mac-v1.12.0-beta18-3-gec40b14) initial start doing docker ps works, but fails second time.

Information

Docker for Mac: version: mac-v1.12.0-beta18-3-gec40b14
OS X: version 10.12 (build: 16A238m)
logs: /tmp/20160711-120214.tar.gz
failure: docker ps failed: Failure("docker ps: timeout after 10.00s")
[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
[OK]     moby
[OK]     driver.amd64-linux

Steps to reproduce the behavior

docker ps

Logs

Jul  9 08:33:20 Users-MacBook-Pro Docker[com.docker.vmnetd][99] <Notice>: com.docker.vmnetd starting
Jul  9 08:47:45 Users-MacBook-Pro Docker[com.docker.docker][1549] <Notice>: Application version: 1.12.0-rc3-beta18 (9996)
Jul  9 08:47:45 Users-MacBook-Pro Docker[com.docker.docker][1549] <Notice>: OSX Version: Version 10.12 (Build 16A238m)
Jul  9 08:47:45 Users-MacBook-Pro Docker[com.docker.docker][1549] <Notice>: migrator: start migration process
Jul  9 08:47:45 Users-MacBook-Pro Docker[com.docker.docker][1549] <Notice>: migrator: previous install detected
Jul  9 08:47:45 Users-MacBook-Pro Docker[com.docker.docker][1549] <Notice>: migrator: previous version is 1.12.0-rc3-beta18
Jul  9 08:47:45 Users-MacBook-Pro Docker[com.docker.docker][1549] <Notice>: migrator: no migration needed, you are good to go!
Jul  9 08:47:45 Users-MacBook-Pro Docker[com.docker.docker][1549] <Notice>: migrator: end of migration process
Jul  9 08:47:45 Users-MacBook-Pro Docker[com.docker.docker][1549] <Notice>: event tracker initialized
Jul  9 08:47:45 Users-MacBook-Pro Docker[com.docker.docker][1549] <Notice>: Bundle path: /Applications/Docker.app
Jul  9 08:47:45 Users-MacBook-Pro Docker[com.docker.vmnetd][1558] <Notice>: Client reports version 1, commit ec40b14c72adc0bff3b01fa8886dae7f2eee1541
Jul  9 08:47:45 Users-MacBook-Pro Docker[com.docker.vmnetd][1558] <Notice>: EOF reading packet from Unix domain socket: closing
Jul  9 08:47:45 Users-MacBook-Pro Docker[com.docker.docker][1549] <Notice>: com.docker.docker commit: ec40b14c72adc0bff3b01fa8886dae7f2eee1541 wants version 16
Jul  9 08:47:45 Users-MacBook-Pro Docker[com.docker.docker][1549] <Notice>: com.docker.vmnetd commit: 603884f1679ff0528724854e9d27fc8e67fdfd8f has version 16
Jul  9 08:47:45 Users-MacBook-Pro Docker[com.docker.vmnetd][1558] <Error>: Failed to read command from client
Jul  9 08:47:45 Users-MacBook-Pro Docker[com.docker.docker][1549] <Notice>: probe of /var/tmp/com.docker.vmnetd.socket successful: not reinstalling component
Jul  9 08:47:45 Users-MacBook-Pro Docker[com.docker.vmnetd][1559] <Notice>: Client reports version 1, commit ec40b14c72adc0bff3b01fa8886dae7f2eee1541
Jul  9 08:47:45 Users-MacBook-Pro Docker[com.docker.vmnetd][1559] <Critical>: client with uid 501 requests com.docker.vmnetd install symlinks
Jul  9 08:47:45 Users-MacBook-Pro Docker[com.docker.vmnetd][1559] <Critical>: File /usr/local/bin/docker is a symlink
Jul  9 08:47:45 Users-MacBook-Pro Docker[com.docker.vmnetd][1559] <Critical>: File /usr/local/bin/docker-compose is a symlink
Jul  9 08:47:45 Users-MacBook-Pro Docker[com.docker.vmnetd][1559] <Critical>: File /var/run/docker.sock is a symlink or a socket
Jul  9 08:47:45 Users-MacBook-Pro Docker[com.docker.vmnetd][1559] <Critical>: File /usr/local/bin/notary is a symlink
Jul  9 08:47:45 Users-MacBook-Pro Docker[com.docker.vmnetd][1559] <Critical>: File /var/run/docker.sock is a symlink or a socket
Jul  9 08:47:45 Users-MacBook-Pro Docker[com.docker.vmnetd][1559] <Critical>: File /usr/local/bin/docker-machine is a symlink
Jul  9 08:47:45 Users-MacBook-Pro Docker[com.docker.vmnetd][1559] <Critical>: File /var/run/docker.sock is a symlink or a socket
Jul  9 08:47:45 Users-MacBook-Pro Docker[com.docker.docker][1549] <Notice>: Symlinks are valid.
Jul  9 08:47:45 Users-MacBook-Pro Docker[com.docker.docker][1549] <Notice>: com.docker.osx.hyperkit.linux launched with PID 1561
Jul  9 08:47:45 Users-MacBook-Pro Docker[com.docker.osx.hyperkit.linux][1561] <Notice>: Acquired task manager lock
Jul  9 08:47:45 Users-MacBook-Pro Docker[com.docker.osx.hyperkit.linux][1561] <Notice>: Starting com.docker.db, com.docker.osxfs, com.docker.slirp, com.docker.osx.hyperkit.linux, com.docker.driver.amd64-linux
Jul  9 08:47:45 Users-MacBook-Pro Docker[com.docker.osx.hyperkit.linux][1561] <Notice>: Start com.docker.db (pid 1565)
Jul  9 08:47:45 Users-MacBook-Pro Docker[com.docker.osx.hyperkit.linux][1561] <Notice>: Start com.docker.osxfs (pid 1566)
Jul  9 08:47:45 Users-MacBook-Pro Docker[com.docker.osx.hyperkit.linux][1561] <Notice>: Start com.docker.slirp (pid 1567)
Jul  9 08:47:45 Users-MacBook-Pro Docker[com.docker.osx.hyperkit.linux][1561] <Notice>: Start com.docker.osx.hyperkit.linux (pid 1568)
Jul  9 08:47:45 Users-MacBook-Pro Docker[com.docker.osx.hyperkit.linux][1561] <Notice>: Start com.docker.driver.amd64-linux (pid 1569)
Jul  9 08:47:45 Users-MacBook-Pro Docker[com.docker.backend][1568] <Notice>: API server starting
Jul  9 08:47:45 Users-MacBook-Pro Docker[com.docker.backend][1568] <Notice>: 🍀 socket path is: /Users/User/Library/Containers/com.docker.docker/Data/s20
Jul  9 08:47:45 Users-MacBook-Pro Docker[com.docker.backend][1568] <Notice>: API socket removed
Jul  9 08:47:45 Users-MacBook-Pro Docker[com.docker.backend][1568] <Notice>: Try 0/100 failed to connect to db: dial unix /Users/User/Library/Containers/com.docker.docker/Data/s40: connect: connection refused
Jul  9 08:47:45 Users-MacBook-Pro Docker[com.docker.osxfs][1566] <Notice>: Logging to Apple System Log
Jul  9 08:47:46 Users-MacBook-Pro Docker[com.docker.slirp][1567] <Notice>: Logging to Apple System Log
Jul  9 08:47:46 Users-MacBook-Pro Docker[com.docker.slirp][1567] <Notice>: Setting handler to ignore all SIGPIPE signals
Jul  9 08:47:46 Users-MacBook-Pro Docker[com.docker.slirp][1567] <Notice>: Setting soft fd limit to 10240
Jul  9 08:47:46 Users-MacBook-Pro Docker[com.docker.slirp][1567] <Notice>: starting port_forwarding port_control_path:fd:4 vsock_path:/Users/User/Library/Containers/com.docker.docker/Data/@connect
Jul  9 08:47:46 Users-MacBook-Pro Docker[com.docker.slirp][1567] <Notice>: attempting to reconnect to database
Jul  9 08:47:46 Users-MacBook-Pro Docker[com.docker.slirp][1567] <Notice>: reconnected transport layer
Jul  9 08:47:46 Users-MacBook-Pro Docker[com.docker.slirp][1567] <Notice>: allowing binds to any IP addresses
Jul  9 08:47:46 Users-MacBook-Pro Docker[com.docker.slirp][1567] <Notice>: Creating slirp server pcap_settings:disabled peer_ip:192.168.65.2 local_ip:192.168.65.1
Jul  9 08:47:46 Users-MacBook-Pro Docker[com.docker.backend][1568] <Notice>: VM shutdown at 2016-07-09 07:54:28 +0100 BST
Jul  9 08:47:46 Users-MacBook-Pro Docker[com.docker.driver.amd64-linux][1569] <Notice>: Acquired hypervisor lock
Jul  9 08:47:46 Users-MacBook-Pro Docker[com.docker.driver.amd64-linux][1569] <Notice>: Docker is not responding: Get http://./info: dial unix /Users/User/Library/Containers/com.docker.docker/Data/*00000003.00000948: connect: connection refused: waiting 0.5s
Jul  9 08:47:46 Users-MacBook-Pro Docker[com.docker.driver.amd64-linux][1569] <Notice>: hypervisor: native
Jul  9 08:47:46 Users-MacBook-Pro Docker[com.docker.driver.amd64-linux][1569] <Notice>: filesystem: osxfs
Jul  9 08:47:46 Users-MacBook-Pro Docker[com.docker.driver.amd64-linux][1569] <Notice>: network: hybrid
Jul  9 08:47:46 Users-MacBook-Pro Docker[com.docker.osxfs][1566] <Notice>: Using protocol TwoThousand msize 16384
Jul  9 08:47:46 Users-MacBook-Pro Docker[com.docker.driver.amd64-linux][1569] <Notice>: Hypervisor: native; BootProtocol: direct; UefiBootDisk: /Users/User/UefiBoot.qcow2
Jul  9 08:47:46 Users-MacBook-Pro Docker[com.docker.driver.amd64-linux][1569] <Notice>: Launching: /Applications/Docker.app/Contents/MacOS/com.docker.hyperkit -A -m 2G -c 4 -u -s 0:0,hostbridge -s 31,lpc -s 2:0,virtio-vpnkit,uuid=15545e09-1b68-4698-be67-4f02db93f13c,path=/Users/User/Library/Containers/com.docker.docker/Data/s50,macfile=/Users/User/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/mac.0 -s 3,virtio-blk,file:///Users/User/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/Docker.qcow2,format=qcow -s 4,virtio-9p,path=/Users/User/Library/Containers/com.docker.docker/Data/s40,tag=db -s 5,virtio-rnd -s 6,virtio-9p,path=/Users/User/Library/Containers/com.docker.docker/Data/s51,tag=port -s 7,virtio-sock,guest_cid=3,path=/Users/User/Library/Containers/com.docker.docker/Data,guest_forwards=2376;1525 -l com1,autopty=/Users/User/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty,log=/Users/User/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/console-ring -f

(Momal35) #2

Same problem for me. I then switched from beta to stable and Docker still not starts.
Thanks for any help