moby: Docker-ce install fails on Debian Stretch on iMX6

Description

Could not install Docker on Debian Stretch in iMX6 board. I am following this link https://docs.docker.com/install/linux/docker-ce/debian/

Steps to reproduce the issue:

  1. Follow the steps in the link above
  2. when you run apt-get install docker-ce, I get the error below

Describe the results you received:

.....
....
Setting up aufs-tools (1:4.1+20161219-1) ...
Setting up docker-ce (18.03.0~ce-0~debian) ...
Created symlink /etc/systemd/system/multi-user.target.wants/docker.service → /lib/systemd/system/docker.service.
Created symlink /etc/systemd/system/sockets.target.wants/docker.socket → /lib/systemd/system/docker.socket.
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
invoke-rc.d: initscript docker, action "start" failed.
● docker.service - Docker Application Container Engine
   Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
   Active: activating (auto-restart) (Result: exit-code) since Thu 2018-04-05 22:23:18 UTC; 104ms ago
     Docs: https://docs.docker.com
  Process: 18993 ExecStart=/usr/bin/dockerd -H fd:// (code=exited, status=1/FAILURE)
 Main PID: 18993 (code=exited, status=1/FAILURE)

Apr 05 22:23:18 var-som-mx6 systemd[1]: docker.service: Unit entered failed …te.
Apr 05 22:23:18 var-som-mx6 systemd[1]: docker.service: Failed with result '…e'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package docker-ce (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up git-man (1:2.11.0-3+deb9u2) ...
Setting up less (481-2.1) ...
Processing triggers for mime-support (3.60) ...
Setting up sudo (1.8.19p1-2.1) ...
Setting up liberror-perl (0.17024-1) ...
Setting up cgroupfs-mount (1.3) ...
Setting up rsync (3.1.2-1+deb9u1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/rsync.service → /lib/systemd/system/rsync.service.
Setting up dkms (2.3-2) ...
Setting up linux-kbuild-4.9 (4.9.82-1+deb9u3) ...
Processing triggers for libc-bin (2.24-11+deb9u1) ...
Processing triggers for systemd (232-25+deb9u1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up pigz (2.3.4-1) ...
Setting up git (1:2.11.0-3+deb9u2) ...
Setting up aufs-dkms (4.9+20161219-1) ...
Loading new aufs-4.9+20161219 DKMS files...
It is likely that 4.9.11-02286-gaa81171 belongs to a chroot's host
Building for 4.9.11-02286-gaa81171
Module build for kernel 4.9.11-02286-gaa81171 was skipped since the
kernel headers for this kernel does not seem to be installed.
Errors were encountered while processing:
 docker-ce
E: Sub-process /usr/bin/dpkg returned an error code (1)

Describe the results you expected: Docker would be install and I can run containers

Output of docker version:

Client:
 Version:       18.03.0-ce
 API version:   1.37
 Go version:    go1.9.4
 Git commit:    0520e24
 Built: Wed Mar 21 23:18:37 2018
 OS/Arch:       linux/arm
 Experimental:  false
 Orchestrator:  swarm
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

Output of docker info:

root@var-som-mx6:/etc/systemd/system# docker info
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

Additional environment details (AWS, VirtualBox, physical, etc.):

Running on a Variscite iMX6 starter kit

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 21 (7 by maintainers)

Most upvoted comments

im still struggling with getting docker working on debian stretch on a fresh install in ARM64(iMX6) board.appreaciate any help