Ubuntu下安装docker(一)

keviaor@ubuntu:$ sudo apt-get install -y docker.io

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following additional packages will be installed:

bridge-utils cgroupfs-mount containerd git git-man liberror-perl runc

ubuntu-fan

Suggested packages:

aufs-tools btrfs-tools debootstrap docker-doc rinse zfs-fuse | zfsutils

git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk

gitweb git-arch git-cvs git-mediawiki git-svn

The following NEW packages will be installed:

bridge-utils cgroupfs-mount containerd docker.io git git-man liberror-perl

runc ubuntu-fan

0 upgraded, 9 newly installed, 0 to remove and 432 not upgraded.

Need to get 19.9 MB of archives.

After this operation, 108 MB of additional disk space will be used.

Get:1 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 bridge-utils amd64 1.5-9ubuntu1 [28.6 kB]

Get:2 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 cgroupfs-mount all 1.2 [4,970 B]

Get:3 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 runc amd64 1.0.0~rc1-0ubuntu1~16.04 [1,448 kB]

Get:4 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 containerd amd64 0.2.3-0ubuntu1~16.04 [4,017 kB]

Get:5 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 docker.io amd64 1.12.1-0ubuntu13~16.04.1 [10.6 MB]

Get:6 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 liberror-perl all 0.17-1.2 [19.6 kB]

Get:7 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 git-man all 1:2.7.4-0ubuntu1 [735 kB]

Get:8 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 git amd64 1:2.7.4-0ubuntu1 [3,006 kB]

Get:9 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 ubuntu-fan all 0.9.1 [30.1 kB]

Fetched 19.9 MB in 2min 42s (123 kB/s)

Selecting previously unselected package bridge-utils.

(Reading database ... 171321 files and directories currently installed.)

Preparing to unpack .../bridge-utils_1.5-9ubuntu1_amd64.deb ...

Unpacking bridge-utils (1.5-9ubuntu1) ...

Selecting previously unselected package cgroupfs-mount.

Preparing to unpack .../cgroupfs-mount_1.2_all.deb ...

Unpacking cgroupfs-mount (1.2) ...

Selecting previously unselected package runc.

Preparing to unpack .../runc_1.0.0~rc1-0ubuntu1~16.04_amd64.deb ...

Unpacking runc (1.0.0~rc1-0ubuntu1~16.04) ...

Selecting previously unselected package containerd.

Preparing to unpack .../containerd_0.2.3-0ubuntu1~16.04_amd64.deb ...

Unpacking containerd (0.2.3-0ubuntu1~16.04) ...

Selecting previously unselected package docker.io.

Preparing to unpack .../docker.io_1.12.1-0ubuntu13~16.04.1_amd64.deb ...

Unpacking docker.io (1.12.1-0ubuntu13~16.04.1) ...

Selecting previously unselected package liberror-perl.

Preparing to unpack .../liberror-perl_0.17-1.2_all.deb ...

Unpacking liberror-perl (0.17-1.2) ...

Selecting previously unselected package git-man.

Preparing to unpack .../git-man_1%3a2.7.4-0ubuntu1_all.deb ...

Unpacking git-man (1:2.7.4-0ubuntu1) ...

Selecting previously unselected package git.

Preparing to unpack .../git_1%3a2.7.4-0ubuntu1_amd64.deb ...

Unpacking git (1:2.7.4-0ubuntu1) ...

Selecting previously unselected package ubuntu-fan.

Preparing to unpack .../ubuntu-fan_0.9.1_all.deb ...

Unpacking ubuntu-fan (0.9.1) ...

Processing triggers for man-db (2.7.5-1) ...

Processing triggers for ureadahead (0.100.0-19) ...

Processing triggers for systemd (229-4ubuntu4) ...

Setting up bridge-utils (1.5-9ubuntu1) ...

Setting up cgroupfs-mount (1.2) ...

Setting up runc (1.0.0~rc1-0ubuntu1~16.04) ...

Setting up containerd (0.2.3-0ubuntu1~16.04) ...

Setting up docker.io (1.12.1-0ubuntu13~16.04.1) ...

Adding group `docker' (GID 129) ...

Done.

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.

dpkg: error processing package docker.io (--configure):

subprocess installed post-installation script returned error exit status 1

Setting up liberror-perl (0.17-1.2) ...

Setting up git-man (1:2.7.4-0ubuntu1) ...

Setting up git (1:2.7.4-0ubuntu1) ...

Setting up ubuntu-fan (0.9.1) ...

Processing triggers for ureadahead (0.100.0-19) ...

Processing triggers for systemd (229-4ubuntu4) ...

Errors were encountered while processing:

docker.io

E: Sub-process /usr/bin/dpkg returned an error code (1)

你可能感兴趣的:(Ubuntu下安装docker(一))