Docker For Mac Cannot Connect To The Docker Daemon
Docker-machine also surfaces as an option but that is gone for some time. So what is the canonical way to start the docker daemon? If it matters I am on Sierra: and the docker is the latest downloaded today 12/12/17. So, docker-machine is a nice tool, but it was a pain to connect to docker daemon since the necessary environment variables are not set by default.
Expected behavior docker version works Actual behavior Client: Version: 17.03.1-ce API version: 1.27 Go version: go1.7.5 Git commit: c6d412e Built: Tue Mar 28 00: OS/Arch: darwin/amd64 Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? Information • Full output of the diagnostics from 'Diagnose & Feedback' in the menu • A reproducible case if this is a bug, Dockerfiles FTW • Page URL if this is a docs issue or the name of a man page Steps to reproduce the behavior • docker version •. In the logs of A54954A3-12EB-40F2-9C8E-0E8BE510411-154519 there's some evidence of a previous install: • log lines like Removing leaked pidfile com.docker.driver.amd64-linux • a successful VM start and shutdown in the file console-ring.5 • a vmnetd upgrade from version 18 to version 19 I'm a bit suspicious about • the fact that docker-system.log only seems to cover 36s of activity • all the Removing leaked pidfile lines: this might mean that the host lost power and all the processes were terminated abruptly. Wd my passport for mac snow leopard.
Potentially this could leave things in a bad state. It looks like the file ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/Docker.qcow2 has become corrupt -- could you delete the file and restart the app? Unfortunately containers and images will need to be rebuilt. Unfortunately the logs aren't complete enough for me to tell, but the corruption may have happened when running a previous version and this was detected by the stricter integrity checks in the most recent version. Your logs show a different problem: 2017-04-13 22:51:33-04. Docker[com.docker.driver.amd64-linux][8355]: vmx_init: processor not supported by Hypervisor.framework Could you compare your system against the list in the: • Mac must be a 2010 or newer model, with Intel’s hardware support for memory management unit (MMU) virtualization; i.e., Extended Page Tables (EPT) and Unrestricted Mode. Best video card for mac pro 1 1.
• OS X El Capitan 10.11 and newer macOS releases are supported. At a minimum, Docker for Mac requires macOS Yosemite 10.10.3 or newer, with the caveat that going forward 10.10.x is a use-at-your-own risk proposition. • Starting with Docker for Mac Stable release 1.13 (upcoming), and concurrent Edge releases, we will no longer address issues specific to OS X Yosemite 10.10. In future releases, Docker for Mac could stop working on OS X Yosemite 10.10 due to the deprecated status of this OS X version. We recommend upgrading to the latest version of macOS. • At least 4GB of RAM • VirtualBox prior to version 4.3.30 must NOT be installed (it is incompatible with Docker for Mac). If you have a newer version of VirtualBox installed, it’s fine.