DieterReuter / arm64-docker-builder

Compiling Docker on an ARM64 (or AARCH64) machine
MIT License
51 stars 14 forks source link

Error - Docker daemon #4

Open dodopontocom opened 8 years ago

dodopontocom commented 8 years ago

Hello Reuter, Firstly, thanks for this installation guide.

I have executed the instructions and in the end got that known error: Cannot connect to the Docker daemon. Is the docker daemon running on this host?

My steps were: ./install-arm64-devtools.sh ./compile-docker.sh 1.11.2 $cd /src/docker/bundles/1.11.2/dynbinary/ $sudo cp docker-1.11.2 /usr/sbin/ $sudo cp /etc/init.d/skeleton /etc/init.d/docker-1.11.2 edited the following line on file /etc/init.d/docker-1.11.2: DAEMON=/usr/sbin/docker-1.11.2 $sudo chmod 755 /etc/init.d/docker-1.11.2 $sudo update-rc.d docker-1.11.2 defaults 97 03 * Reboot the system * $sudo groupadd docker $sudo gpasswd -a ${USER} docker $sudo usermod -aG docker ${USER}



Please, find below the output for each command: $docker-1.11.2 (...) update Update configuration of one or more containers version Show the Docker version information volume Manage Docker volumes wait Block until a container stops, then print its exit code

Run 'docker COMMAND --help' for more information on a command.


$docker-1.11.2 pull mysql Using default tag: latest Warning: failed to get default registry endpoint from daemon (Cannot connect to the Docker daemon. Is the docker daemon running on this host?). Using system default: https://index.docker.io/v1/ Cannot connect to the Docker daemon. Is the docker daemon running on this host?


$service docker-1.11.2 status service docker-1.11.2 status ● docker-1.11.2.service - LSB: Example initscript Loaded: loaded (/etc/init.d/docker-1.11.2; bad; vendor preset: enabled) Active: active (exited) since Thu 2016-02-11 12:28:03 AMT; 5 months 15 days ago Docs: man:systemd-sysv-generator(8) Process: 1298 ExecStart=/etc/init.d/docker-1.11.2 start (code=exited, status=0/SUCCESS)

Feb 11 12:28:03 odroid64 docker-1.11.2[1298]: stop Stop a running container Feb 11 12:28:03 odroid64 docker-1.11.2[1298]: tag Tag an image into a repository Feb 11 12:28:03 odroid64 docker-1.11.2[1298]: top Display the running processes of a container Feb 11 12:28:03 odroid64 docker-1.11.2[1298]: unpause Unpause all processes within a container Feb 11 12:28:03 odroid64 docker-1.11.2[1298]: update Update configuration of one or more containers Feb 11 12:28:03 odroid64 docker-1.11.2[1298]: version Show the Docker version information Feb 11 12:28:03 odroid64 docker-1.11.2[1298]: volume Manage Docker volumes Feb 11 12:28:03 odroid64 docker-1.11.2[1298]: wait Block until a container stops, then print its exit code Feb 11 12:28:03 odroid64 docker-1.11.2[1298]: Run 'docker COMMAND --help' for more information on a command. Feb 11 12:28:03 odroid64 systemd[1]: Started LSB: Example initscript.


Any thoughts on that??

Many thanks.

DieterReuter commented 8 years ago

Maybe try to start the docker daemon in your shell, then you should get all logs directly. Add the flag "-D" to get more detailled debug logs.