Same issue here. I get this problem on /install/.

== paste
  [ 12:03 ] bucko@mcclure:~/gambit/ansible-docker% sudo apt-get purge 
containerd 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  containerd* docker.io*
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 50.4 MB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 280415 files and directories currently installed.)
Removing docker.io (1.11.2~ds1-6) ...
'/usr/share/docker.io/contrib/nuke-graph-directory.sh' -> 
'/var/lib/docker/nuke-graph-directory.sh'
Removing containerd (0.2.3~git20161117.78.03e5862~ds1-1) ...
Processing triggers for man-db (2.7.6.1-2) ...
(Reading database ... 280305 files and directories currently installed.)
Purging configuration files for docker.io (1.11.2~ds1-6) ...

Nuking /data/docker ...
  (if this is wrong, press Ctrl+C NOW!)

+ sleep 10

+ rm -rf /data/docker
dpkg: warning: while removing docker.io, directory '/etc/docker' not empty so 
not removed
Processing triggers for systemd (232-19) ...
  [ 12:04 ] bucko@mcclure:~/gambit/ansible-docker% sudo apt-get install 
docker.io
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  containerd
Suggested packages:
  docker-doc rinse zfs-fuse | zfsutils
The following NEW packages will be installed:
  containerd docker.io
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 3,893 kB/9,746 kB of archives.
After this operation, 50.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://ftp.debian.org/debian unstable/main amd64 containerd amd64 
0.2.3~git20161117.78.03e5862~ds1-1 [3,893 kB]
Fetched 3,893 kB in 0s (6,434 kB/s)     
Selecting previously unselected package containerd.
(Reading database ... 280303 files and directories currently installed.)
Preparing to unpack .../containerd_0.2.3~git20161117.78.03e5862~ds1-1_amd64.deb 
...
Unpacking containerd (0.2.3~git20161117.78.03e5862~ds1-1) ...
Selecting previously unselected package docker.io.
Preparing to unpack .../docker.io_1.11.2~ds1-6_amd64.deb ...
Unpacking docker.io (1.11.2~ds1-6) ...
Setting up containerd (0.2.3~git20161117.78.03e5862~ds1-1) ...
Processing triggers for systemd (232-19) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up docker.io (1.11.2~ds1-6) ...
addgroup: The group `docker' already exists as a system group. Exiting.
Created symlink /etc/systemd/system/sockets.target.wants/docker.socket → 
/lib/systemd/system/docker.socket.
=== end paste

Docker hangs here, continually trying to connect to the socket listed above.
The symlink fix worked for me.

-- 
David Buckley

Reply via email to