I need docker to be available asap in system start so I can run custom dns server inside a container in Docker for Mac.
I would want to run
$ docker ps -a immediately after system startup.
I would want to ping the docker VM immediately:
$ ping docker.local
This actually works with dlite: https://github.com/nlf/dlite so maybe check how it starts the system daemon.
$ ping docker.local ping: cannot resolve moi.local: Unknown host $ docker ps -a Cannot connect to the Docker daemon. Is the docker daemon running on this host?
After waiting for couple of minutes they work correctly:
$ ping docker.local PING docker.local (192.168.64.7): 56 data bytes 64 bytes from 192.168.64.7: icmp_seq=0 ttl=64 time=0.349 ms $ docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
$ pinata diagnose -u OS X: version 10.11.4 (build: 15E65) Docker.app: version v1.11.0-beta8.2 Running diagnostic tests: [OK] docker-cli [OK] Moby booted [OK] driver.amd64-linux [OK] vmnetd [OK] osxfs [OK] db [OK] slirp [OK] menubar [OK] environment [OK] Docker [OK] VT-x Docker logs are being collected into /tmp/20160424-135542.tar.gz Most specific failure is: No error was detected Your unique id is: A731BA56-0FD3-4DB4-B2A1-AAB15DB2F7E6 Please quote this in all correspondence.
Steps to reproduce the behavior
I installed Docker for Mac and enabled it in system login: