Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ lxc launch ubuntu-daily:16.04 number-one -p default -p docker Creating number-one
- Starting number-one
- $ lxc exec number-one -- apt install docker.io -y
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following additional packages will be installed:
- bridge-utils cgroupfs-mount containerd runc ubuntu-fan
- Suggested packages:
- mountall aufs-tools debootstrap docker-doc rinse zfs-fuse | zfsutils
- The following NEW packages will be installed:
- bridge-utils cgroupfs-mount containerd docker.io runc ubuntu-fan
- 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
- Need to get 16.1 MB of archives.
- After this operation, 82.9 MB of additional disk space will be used.
- Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 bridge-utils amd64 1.5-9ubuntu1 [28.6 kB]
- Get:2 http://archive.ubuntu.com/ubuntu xenial/universe amd64 cgroupfs-mount all 1.2 [4970 B]
- Get:3 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 runc amd64 1.0.0~rc1-0ubuntu1~16.04 [1448 kB]
- Get:4 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 containerd amd64 0.2.3-0ubuntu1~16.04 [4017 kB]
- Get:5 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 docker.io amd64 1.12.1-0ubuntu13~16.04.1 [10.6 MB]
- Get:6 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 ubuntu-fan all 0.9.1 [30.1 kB]
- Fetched 16.1 MB in 2s (7614 kB/s)
- Selecting previously unselected package bridge-utils.
- (Reading database ... 25467 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 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-4ubuntu12) ...
- 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 116) ...
- Done.
- Setting up ubuntu-fan (0.9.1) ...
- Processing triggers for systemd (229-4ubuntu12) ...
- Processing triggers for ureadahead (0.100.0-19) ...
- $ lxc launch ubuntu-daily:16.04 number-two -p default -p docker Creating number-two
- Starting number-two
- $ lxc exec number-two -- apt install docker.io -y
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following additional packages will be installed:
- bridge-utils cgroupfs-mount containerd runc ubuntu-fan
- Suggested packages:
- mountall aufs-tools debootstrap docker-doc rinse zfs-fuse | zfsutils
- The following NEW packages will be installed:
- bridge-utils cgroupfs-mount containerd docker.io runc ubuntu-fan
- 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
- Need to get 16.1 MB of archives.
- After this operation, 82.9 MB of additional disk space will be used.
- Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 bridge-utils amd64 1.5-9ubuntu1 [28.6 kB]
- Get:2 http://archive.ubuntu.com/ubuntu xenial/universe amd64 cgroupfs-mount all 1.2 [4970 B]
- Get:3 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 runc amd64 1.0.0~rc1-0ubuntu1~16.04 [1448 kB]
- Get:4 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 containerd amd64 0.2.3-0ubuntu1~16.04 [4017 kB]
- Get:5 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 docker.io amd64 1.12.1-0ubuntu13~16.04.1 [10.6 MB]
- Get:6 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 ubuntu-fan all 0.9.1 [30.1 kB]
- Fetched 16.1 MB in 2s (7840 kB/s)
- Selecting previously unselected package bridge-utils.
- (Reading database ... 25467 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 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-4ubuntu12) ...
- 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 116) ...
- Done.
- Setting up ubuntu-fan (0.9.1) ...
- Processing triggers for systemd (229-4ubuntu12) ...
- Processing triggers for ureadahead (0.100.0-19) ...
- $ lxc list
- +------------+---------+--------------------------------+------+------------+-----------+
- | NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
- +------------+---------+--------------------------------+------+------------+-----------+
- | number-one | RUNNING | 172.17.0.1 (docker0) | | PERSISTENT | 0 |
- | | | 10.1.189.47 (eth0) | | | |
- +------------+---------+--------------------------------+------+------------+-----------+
- | number-two | RUNNING | 172.17.0.1 (docker0) | | PERSISTENT | 0 |
- | | | 10.1.189.19 (eth0) | | | |
- +------------+---------+--------------------------------+------+------------+-----------+
- $ lxc exec number-one -- journalctl -u docker.service
- -- Logs begin at Sat 2016-11-26 11:02:59 UTC, end at Sat 2016-11-26 11:03:41 UTC. --
- Nov 26 11:03:40 number-one systemd[1]: Starting Docker Application Container Engine...
- Nov 26 11:03:40 number-one dockerd[1688]: time="2016-11-26T11:03:40.052437848Z" level=info msg="libcontainerd: new containerd process, pid: 1695"
- Nov 26 11:03:41 number-one dockerd[1688]: time="2016-11-26T11:03:41.139583288Z" level=info msg="Graph migration to content-addressability took 0.00 seconds"
- Nov 26 11:03:41 number-one dockerd[1688]: time="2016-11-26T11:03:41.142312138Z" level=warning msg="Your kernel does not support swap memory limit."
- Nov 26 11:03:41 number-one dockerd[1688]: time="2016-11-26T11:03:41.143596124Z" level=info msg="Loading containers: start."
- Nov 26 11:03:41 number-one dockerd[1688]: time="2016-11-26T11:03:41.144943863Z" level=warning msg="Running modprobe bridge br_netfilter failed with message: modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.
- Nov 26 11:03:41 number-one dockerd[1688]: time="2016-11-26T11:03:41.146418122Z" level=warning msg="Running modprobe nf_nat failed with message: `modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.4.0-47-gener
- Nov 26 11:03:41 number-one dockerd[1688]: time="2016-11-26T11:03:41.147532075Z" level=warning msg="Running modprobe xt_conntrack failed with message: `modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.4.0-47
- Nov 26 11:03:41 number-one dockerd[1688]: time="2016-11-26T11:03:41.149931645Z" level=info msg="Firewalld running: false"
- Nov 26 11:03:41 number-one dockerd[1688]: time="2016-11-26T11:03:41.266765487Z" level=warning msg="Could not load necessary modules for IPSEC rules: Running modprobe xfrm_user failed with message: `modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() co
- Nov 26 11:03:41 number-one dockerd[1688]: time="2016-11-26T11:03:41.267103707Z" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be used to set a preferred IP address"
- Nov 26 11:03:41 number-one dockerd[1688]: time="2016-11-26T11:03:41.312269808Z" level=info msg="Loading containers: done."
- Nov 26 11:03:41 number-one dockerd[1688]: time="2016-11-26T11:03:41.312392034Z" level=info msg="Daemon has completed initialization"
- Nov 26 11:03:41 number-one dockerd[1688]: time="2016-11-26T11:03:41.312423949Z" level=info msg="Docker daemon" commit=23cf638 graphdriver=overlay version=1.12.1
- Nov 26 11:03:41 number-one dockerd[1688]: time="2016-11-26T11:03:41.322678978Z" level=info msg="API listen on /var/run/docker.sock"
- Nov 26 11:03:41 number-one systemd[1]: Started Docker Application Container Engine.
- $ lxc exec number-two -- journalctl -u docker.service
- -- Logs begin at Sat 2016-11-26 11:03:55 UTC, end at Sat 2016-11-26 11:04:13 UTC. --
- Nov 26 11:04:11 number-two systemd[1]: Starting Docker Application Container Engine...
- Nov 26 11:04:11 number-two dockerd[1665]: time="2016-11-26T11:04:11.252711844Z" level=info msg="libcontainerd: new containerd process, pid: 1671"
- Nov 26 11:04:12 number-two dockerd[1665]: time="2016-11-26T11:04:12.312350683Z" level=info msg="Graph migration to content-addressability took 0.00 seconds"
- Nov 26 11:04:12 number-two dockerd[1665]: time="2016-11-26T11:04:12.312736927Z" level=warning msg="Your kernel does not support swap memory limit."
- Nov 26 11:04:12 number-two dockerd[1665]: time="2016-11-26T11:04:12.314720576Z" level=info msg="Loading containers: start."
- Nov 26 11:04:12 number-two dockerd[1665]: time="2016-11-26T11:04:12.316648711Z" level=warning msg="Running modprobe bridge br_netfilter failed with message: modprobe: ERROR: ../libkmod/libkmod.c:58
- Nov 26 11:04:12 number-two dockerd[1665]: time="2016-11-26T11:04:12.317805692Z" level=warning msg="Running modprobe nf_nat failed with message: `modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_searc
- Nov 26 11:04:12 number-two dockerd[1665]: time="2016-11-26T11:04:12.319602888Z" level=warning msg="Running modprobe xt_conntrack failed with message: `modprobe: ERROR: ../libkmod/libkmod.c:586 kmod
- Nov 26 11:04:12 number-two dockerd[1665]: time="2016-11-26T11:04:12.322785161Z" level=info msg="Firewalld running: false"
- Nov 26 11:04:12 number-two dockerd[1665]: time="2016-11-26T11:04:12.385903872Z" level=warning msg="Could not load necessary modules for IPSEC rules: Running modprobe xfrm_user failed with message:
- Nov 26 11:04:12 number-two dockerd[1665]: time="2016-11-26T11:04:12.386251843Z" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be use
- Nov 26 11:04:12 number-two dockerd[1665]: time="2016-11-26T11:04:12.436022803Z" level=info msg="Loading containers: done."
- Nov 26 11:04:12 number-two dockerd[1665]: time="2016-11-26T11:04:12.436205988Z" level=info msg="Daemon has completed initialization"
- Nov 26 11:04:12 number-two dockerd[1665]: time="2016-11-26T11:04:12.436254767Z" level=info msg="Docker daemon" commit=23cf638 graphdriver=overlay version=1.12.1
- Nov 26 11:04:12 number-two dockerd[1665]: time="2016-11-26T11:04:12.446315903Z" level=info msg="API listen on /var/run/docker.sock"
- Nov 26 11:04:12 number-two systemd[1]: Started Docker Application Container Engine.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement