Expected behavior
- Install docker beta.
- Docker app says “running”
- Actually is running
Actual behavior
$ docker ps
Cannot connect to the Docker daemon. Is the docker daemon running on this host?
Information
- System restart has no effect
- docker-toolbox has never been installed, and I explicity uninstalled virtualbox.
Docker for Mac: version: mac-v1.12.0-beta16.2 OS X: version 10.11.5 (build: 15F34) logs: /tmp/20160619-202910.tar.gz failure: docker ps failed: Failure("docker ps: timeout after 10.00s") [ERROR] docker-cli /var/run/docker.sock does not exist Permission denied (EACCES) connecting to /var/run/docker.sock: check permissions 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
- diagnostics id 6C8BCC59-C7C7-4140-8EFC-DEA044989F22
syslog -k Sender Docker Jun 19 20:24:05 noe8 Docker[38535] <Notice>: Application version: 1.12.0-rc2-beta16 (9493) Jun 19 20:24:05 noe8 Docker[38535] <Notice>: OSX Version: Version 10.11.5 (Build 15F34) Jun 19 20:24:05 noe8 Docker[38535] <Notice>: migrator: start migration process Jun 19 20:24:05 noe8 Docker[38535] <Notice>: migrator: previous install detected Jun 19 20:24:05 noe8 Docker[38535] <Notice>: migrator: previous version is 1.12.0-rc2-beta16 Jun 19 20:24:05 noe8 Docker[38535] <Notice>: migrator: no migration needed, you are good to go! Jun 19 20:24:05 noe8 Docker[38535] <Notice>: migrator: end of migration process Jun 19 20:24:05 noe8 Docker[38535] <Notice>: event tracker initialized Jun 19 20:24:05 noe8 Docker[38535] <Notice>: Bundle path: /Applications/Docker.app Jun 19 20:24:05 noe8 Docker[38544] <Notice>: com.docker.vmnetd starting Jun 19 20:24:05 noe8 Docker[38545] <Notice>: Client reports version 1, commit f615be9fb245904fbdf1aa0cad251d418c869428 Jun 19 20:24:05 noe8 Docker[38545] <Notice>: EOF reading packet from Unix domain socket: closing Jun 19 20:24:05 noe8 Docker[38545] <Error>: Failed to read command from client Jun 19 20:24:05 noe8 Docker[38535] <Notice>: com.docker.docker commit: f615be9fb245904fbdf1aa0cad251d418c869428 wants version 16 Jun 19 20:24:05 noe8 Docker[38535] <Notice>: com.docker.vmnetd commit: f615be9fb245904fbdf1aa0cad251d418c869428 has version 16 Jun 19 20:24:05 noe8 Docker[38535] <Notice>: probe of /var/tmp/com.docker.vmnetd.socket successful: not reinstalling component Jun 19 20:24:05 noe8 Docker[38546] <Notice>: Client reports version 1, commit f615be9fb245904fbdf1aa0cad251d418c869428 Jun 19 20:24:05 noe8 Docker[38546] <Critical>: client with uid 501 requests com.docker.vmnetd install symlinks Jun 19 20:24:05 noe8 Docker[38546] <Critical>: File /usr/local/bin/docker is a symlink Jun 19 20:24:05 noe8 Docker[38546] <Critical>: File /usr/local/bin/docker-compose is a symlink Jun 19 20:24:05 noe8 Docker[38546] <Critical>: File /var/run/docker.sock is a symlink or a socket Jun 19 20:24:05 noe8 Docker[38546] <Critical>: File /usr/local/bin/notary is a symlink Jun 19 20:24:05 noe8 Docker[38546] <Critical>: File /var/run/docker.sock is a symlink or a socket Jun 19 20:24:05 noe8 Docker[38546] <Critical>: File /usr/local/bin/docker-machine is a symlink Jun 19 20:24:05 noe8 Docker[38546] <Critical>: File /var/run/docker.sock is a symlink or a socket Jun 19 20:24:05 noe8 Docker[38535] <Notice>: Symlinks are valid. Jun 19 20:24:05 noe8 Docker[38535] <Notice>: com.docker.osx.hyperkit.linux launched with PID 38547 Jun 19 20:24:05 noe8 Docker[38548] <Critical>: dial unix /Users/noe8/Library/Containers/com.docker.docker/Data/s20: connect: connection refused Jun 19 20:24:05 noe8 Docker[38547] <Notice>: Acquired task manager lock Jun 19 20:24:05 noe8 Docker[38535] <Error>: frontend process failed Jun 19 20:24:05 noe8 Docker[38547] <Notice>: Starting com.docker.db, com.docker.osxfs, com.docker.slirp, com.docker.osx.hyperkit.linux, com.docker.driver.amd64-linux Jun 19 20:24:05 noe8 Docker[38547] <Notice>: Start com.docker.db (pid 38551) Jun 19 20:24:05 noe8 Docker[38547] <Notice>: Start com.docker.osxfs (pid 38552) Jun 19 20:24:05 noe8 Docker[38547] <Notice>: Start com.docker.slirp (pid 38553) Jun 19 20:24:05 noe8 Docker[38547] <Notice>: Start com.docker.osx.hyperkit.linux (pid 38554) Jun 19 20:24:05 noe8 Docker[38547] <Notice>: Start com.docker.driver.amd64-linux (pid 38555) Jun 19 20:24:05 noe8 Docker[38554] <Notice>: API server starting Jun 19 20:24:05 noe8 Docker[38554] <Notice>: <U+1F340> socket path is: /Users/noe8/Library/Containers/com.docker.docker/Data/s20 Jun 19 20:24:05 noe8 Docker[38554] <Notice>: API socket removed Jun 19 20:24:05 noe8 Docker[38554] <Notice>: Try 100/100 failed to connect to db: dial unix /Users/noe8/Library/Containers/com.docker.docker/Data/s40: connect: connection refused Jun 19 20:24:05 noe8 Docker[38552] <Notice>: Logging to Apple System Log Jun 19 20:24:05 noe8 Docker[38553] <Notice>: Logging to Apple System Log Jun 19 20:24:05 noe8 Docker[38553] <Notice>: Setting handler to ignore all SIGPIPE signals Jun 19 20:24:05 noe8 Docker[38553] <Notice>: Setting soft fd limit to 10240 Jun 19 20:24:05 noe8 Docker[38553] <Notice>: starting port_forwarding port_control_path:fd:4 vsock_path:/Users/noe8/Library/Containers/com.docker.docker/Data/@connect Jun 19 20:24:05 noe8 Docker[38553] <Notice>: attempting to reconnect to database on unix /Users/noe8/Library/Containers/com.docker.docker/Data/s40 Jun 19 20:24:05 noe8 Docker[38553] <Notice>: reconnected transport layer Jun 19 20:24:05 noe8 Docker[38553] <Notice>: allowing binds to any IP addresses Jun 19 20:24:05 noe8 Docker[38553] <Notice>: Creating slirp server pcap_settings:disabled peer_ip:192.168.65.2 local_ip:192.168.65.1 Jun 19 20:24:05 noe8 Docker[38555] <Notice>: Acquired hypervisor lock Jun 19 20:24:05 noe8 Docker[38554] <Notice>: VM shutdown at 2016-06-19 20:19:55 +1000 AEST Jun 19 20:24:05 noe8 Docker[38555] <Notice>: Docker is not responding: waiting 0.5s Jun 19 20:24:05 noe8 Docker[38555] <Notice>: hypervisor: native Jun 19 20:24:05 noe8 Docker[38555] <Notice>: filesystem: osxfs Jun 19 20:24:05 noe8 Docker[38555] <Notice>: network: hybrid Jun 19 20:24:05 noe8 Docker[38552] <Notice>: Using protocol TwoThousand msize 16384 Jun 19 20:24:05 noe8 Docker[38555] <Notice>: Hypervisor: native; BootProtocol: direct; UefiBootDisk: /Users/noe8/UefiBoot.qcow2 Jun 19 20:24:05 noe8 Docker[38555] <Notice>: Launching: /Applications/Docker.app/Contents/MacOS/com.docker.hyperkit -A -m 2G -c 2 -u -s 0:0,hostbridge -s 31,lpc -s 2:0,virtio-vpnkit,uuid=e335d4bd-a1aa-47ff-a23c-054fa1ee6a74,path=/Users/noe8/Library/Containers/com.docker.docker/Data/s50,macfile=/Users/noe8/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/mac.0 -s 3,virtio-blk,file:///Users/noe8/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/Docker.qcow2,format=qcow -s 4,virtio-9p,path=/Users/noe8/Library/Containers/com.docker.docker/Data/s40,tag=db -s 5,virtio-rnd -s 6,virtio-9p,path=/Users/noe8/Library/Containers/com.docker.docker/Data/s51,tag=port -s 7,virtio-sock,guest_cid=3,path=/Users/noe8/Library/Containers/com.docker.docker/Data,guest_forwards=2376;1525 -l com1,autopty=/Users/noe8/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty,log=/Users/noe8/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/console-ring -f kexec,/Applications/Docker.app/Contents/Resources/moby/vmlinuz64,/Applications/Docker.app/Contents/Resources/moby/initrd.img,earlyprintk=serial console=ttyS0 com.docker.driverDir="/Users/noe8/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux", com.docker.database="com.docker.driver.amd64-linux" ntp=gateway -F /Users/noe8/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/hypervisor.pid Jun 19 20:24:05 noe8 Docker[38553] <Notice>: PPP.negotiate: received ((magic VMN3T)(version 1)(commit f615be9fb245904fbdf1aa0cad251d418c869428)) Jun 19 20:24:05 noe8 Docker[38553] <Notice>: PPP.negotiate: received (Ethernet e335d4bd-a1aa-47ff-a23c-054fa1ee6a74) Jun 19 20:24:05 noe8 Docker[38555] <Notice>: virtio-net-vpnkit: magic=VMN3T version=1 commit=0123456789012345678901234567890123456789^B Jun 19 20:24:05 noe8 Docker[38553] <Notice>: PPP.negotiate: sending ((mtu 1500)(max_packet_size 1550)(client_macaddr c0:ff:ee:c0:ff:ee)) Jun 19 20:24:05 noe8 Docker[38553] <Notice>: PPP.listen: called a second time: doing nothing Jun 19 20:24:05 noe8 Docker[38553] <Notice>: TCP/IP ready Jun 19 20:24:05 noe8 Docker[38555] <Notice>: mirage_block_open file:///Users/noe8/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/Docker.qcow2 buffered = true Jun 19 20:24:05 noe8 Docker[38555] <Notice>: mirage_block_open returning 0 Jun 19 20:24:05 noe8 Docker[38555] <Notice>: mirage_block_stat Jun 19 20:24:05 noe8 Docker[38555] <Notice>: vsock init 7:0 = /Users/noe8/Library/Containers/com.docker.docker/Data, guest_cid = 3 Jun 19 20:24:08 noe8 Docker[38555] <Notice>: rdmsr to register 0x34 on vcpu 1 Jun 19 20:24:08 noe8 Docker[38555] <Notice>: Docker is not responding: waiting 0.5s --- last message repeated 5 times --- Jun 19 20:24:11 noe8 Docker[38552] <Notice>: transfused: mount /bin/fusermount -o allow_other,max_read=1048576,subtype=osxfs /Mac Jun 19 20:24:11 noe8 Docker[38552] <Notice>: osxfs tracing: OFF Jun 19 20:24:11 noe8 Docker[38553] <Notice>: Using protocol TwoThousand msize 8192 Jun 19 20:24:13 noe8 Docker[38555] <Notice>: Docker is responding Jun 19 20:24:13 noe8 Docker[38554] <Notice>: VM started at 2016-06-19 20:24:13 +1000 AEST Jun 19 20:24:13 noe8 Docker[38535] <Notice>: dockerState = Starting Jun 19 20:28:20 noe8 Docker[38757] <Notice>: EOF reading packet from Unix domain socket: closing Jun 19 20:28:20 noe8 Docker[38757] <Critical>: Failed to read hello from client Jun 19 20:28:20 noe8 Docker[38553] <Error>: server loop caught (Failure "Caught EOF on underlying FLOW"): no further requests will be processed Jun 19 20:29:20 noe8 Docker[38864] <Notice>: EOF reading packet from Unix domain socket: closing Jun 19 20:29:20 noe8 Docker[38553] <Error>: server loop caught (Failure "Caught EOF on underlying FLOW"): no further requests will be processed Jun 19 20:29:20 noe8 Docker[38864] <Critical>: Failed to read hello from client Jun 19 20:29:45 noe8 Docker[38926] <Notice>: EOF reading packet from Unix domain socket: closing Jun 19 20:29:45 noe8 Docker[38926] <Critical>: Failed to read hello from client Jun 19 20:29:45 noe8 Docker[38553] <Error>: server loop caught (Failure "Caught EOF on underlying FLOW"): no further requests will be processed
- The docker.sock seems to point into the void:
lrwxr-xr-x 1 root daemon 55B 19 Jun 20:24 /var/run/docker.sock -> /var/root/Library/Containers/com.docker.docker/Data/s60
, where the latter does not exist. - Replacing this symlink with ~/Library/Containers/com.docker.docker/Data/s60 and restarting docker does not seem to help.
Any help would be appreciated