Advertisement
mzimmer

Commands and full output

Nov 26th, 2016
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.17 KB | None | 0 0
  1. $ lxc launch ubuntu-daily:16.04 number-one -p default -p docker Creating number-one
  2. Starting number-one
  3.  
  4.  
  5.  
  6. $ lxc exec number-one -- apt install docker.io -y
  7. Reading package lists... Done
  8. Building dependency tree
  9. Reading state information... Done
  10. The following additional packages will be installed:
  11. bridge-utils cgroupfs-mount containerd runc ubuntu-fan
  12. Suggested packages:
  13. mountall aufs-tools debootstrap docker-doc rinse zfs-fuse | zfsutils
  14. The following NEW packages will be installed:
  15. bridge-utils cgroupfs-mount containerd docker.io runc ubuntu-fan
  16. 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
  17. Need to get 16.1 MB of archives.
  18. After this operation, 82.9 MB of additional disk space will be used.
  19. Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 bridge-utils amd64 1.5-9ubuntu1 [28.6 kB]
  20. Get:2 http://archive.ubuntu.com/ubuntu xenial/universe amd64 cgroupfs-mount all 1.2 [4970 B]
  21. Get:3 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 runc amd64 1.0.0~rc1-0ubuntu1~16.04 [1448 kB]
  22. Get:4 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 containerd amd64 0.2.3-0ubuntu1~16.04 [4017 kB]
  23. Get:5 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 docker.io amd64 1.12.1-0ubuntu13~16.04.1 [10.6 MB]
  24. Get:6 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 ubuntu-fan all 0.9.1 [30.1 kB]
  25. Fetched 16.1 MB in 2s (7614 kB/s)
  26. Selecting previously unselected package bridge-utils.
  27. (Reading database ... 25467 files and directories currently installed.)
  28. Preparing to unpack .../bridge-utils_1.5-9ubuntu1_amd64.deb ...
  29. Unpacking bridge-utils (1.5-9ubuntu1) ...
  30. Selecting previously unselected package cgroupfs-mount.
  31. Preparing to unpack .../cgroupfs-mount_1.2_all.deb ...
  32. Unpacking cgroupfs-mount (1.2) ...
  33. Selecting previously unselected package runc.
  34. Preparing to unpack .../runc_1.0.0~rc1-0ubuntu1~16.04_amd64.deb ...
  35. Unpacking runc (1.0.0~rc1-0ubuntu1~16.04) ...
  36. Selecting previously unselected package containerd.
  37. Preparing to unpack .../containerd_0.2.3-0ubuntu1~16.04_amd64.deb ...
  38. Unpacking containerd (0.2.3-0ubuntu1~16.04) ...
  39. Selecting previously unselected package docker.io.
  40. Preparing to unpack .../docker.io_1.12.1-0ubuntu13~16.04.1_amd64.deb ...
  41. Unpacking docker.io (1.12.1-0ubuntu13~16.04.1) ...
  42. Selecting previously unselected package ubuntu-fan.
  43. Preparing to unpack .../ubuntu-fan_0.9.1_all.deb ...
  44. Unpacking ubuntu-fan (0.9.1) ...
  45. Processing triggers for man-db (2.7.5-1) ...
  46. Processing triggers for ureadahead (0.100.0-19) ...
  47. Processing triggers for systemd (229-4ubuntu12) ...
  48. Setting up bridge-utils (1.5-9ubuntu1) ...
  49. Setting up cgroupfs-mount (1.2) ...
  50. Setting up runc (1.0.0~rc1-0ubuntu1~16.04) ...
  51. Setting up containerd (0.2.3-0ubuntu1~16.04) ...
  52. Setting up docker.io (1.12.1-0ubuntu13~16.04.1) ...
  53. Adding group `docker' (GID 116) ...
  54. Done.
  55. Setting up ubuntu-fan (0.9.1) ...
  56. Processing triggers for systemd (229-4ubuntu12) ...
  57. Processing triggers for ureadahead (0.100.0-19) ...
  58.  
  59.  
  60.  
  61. $ lxc launch ubuntu-daily:16.04 number-two -p default -p docker Creating number-two
  62. Starting number-two
  63.  
  64.  
  65.  
  66. $ lxc exec number-two -- apt install docker.io -y
  67. Reading package lists... Done
  68. Building dependency tree
  69. Reading state information... Done
  70. The following additional packages will be installed:
  71. bridge-utils cgroupfs-mount containerd runc ubuntu-fan
  72. Suggested packages:
  73. mountall aufs-tools debootstrap docker-doc rinse zfs-fuse | zfsutils
  74. The following NEW packages will be installed:
  75. bridge-utils cgroupfs-mount containerd docker.io runc ubuntu-fan
  76. 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
  77. Need to get 16.1 MB of archives.
  78. After this operation, 82.9 MB of additional disk space will be used.
  79. Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 bridge-utils amd64 1.5-9ubuntu1 [28.6 kB]
  80. Get:2 http://archive.ubuntu.com/ubuntu xenial/universe amd64 cgroupfs-mount all 1.2 [4970 B]
  81. Get:3 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 runc amd64 1.0.0~rc1-0ubuntu1~16.04 [1448 kB]
  82. Get:4 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 containerd amd64 0.2.3-0ubuntu1~16.04 [4017 kB]
  83. Get:5 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 docker.io amd64 1.12.1-0ubuntu13~16.04.1 [10.6 MB]
  84. Get:6 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 ubuntu-fan all 0.9.1 [30.1 kB]
  85. Fetched 16.1 MB in 2s (7840 kB/s)
  86. Selecting previously unselected package bridge-utils.
  87. (Reading database ... 25467 files and directories currently installed.)
  88. Preparing to unpack .../bridge-utils_1.5-9ubuntu1_amd64.deb ...
  89. Unpacking bridge-utils (1.5-9ubuntu1) ...
  90. Selecting previously unselected package cgroupfs-mount.
  91. Preparing to unpack .../cgroupfs-mount_1.2_all.deb ...
  92. Unpacking cgroupfs-mount (1.2) ...
  93. Selecting previously unselected package runc.
  94. Preparing to unpack .../runc_1.0.0~rc1-0ubuntu1~16.04_amd64.deb ...
  95. Unpacking runc (1.0.0~rc1-0ubuntu1~16.04) ...
  96. Selecting previously unselected package containerd.
  97. Preparing to unpack .../containerd_0.2.3-0ubuntu1~16.04_amd64.deb ...
  98. Unpacking containerd (0.2.3-0ubuntu1~16.04) ...
  99. Selecting previously unselected package docker.io.
  100. Preparing to unpack .../docker.io_1.12.1-0ubuntu13~16.04.1_amd64.deb ...
  101. Unpacking docker.io (1.12.1-0ubuntu13~16.04.1) ...
  102. Selecting previously unselected package ubuntu-fan.
  103. Preparing to unpack .../ubuntu-fan_0.9.1_all.deb ...
  104. Unpacking ubuntu-fan (0.9.1) ...
  105. Processing triggers for man-db (2.7.5-1) ...
  106. Processing triggers for ureadahead (0.100.0-19) ...
  107. Processing triggers for systemd (229-4ubuntu12) ...
  108. Setting up bridge-utils (1.5-9ubuntu1) ...
  109. Setting up cgroupfs-mount (1.2) ...
  110. Setting up runc (1.0.0~rc1-0ubuntu1~16.04) ...
  111. Setting up containerd (0.2.3-0ubuntu1~16.04) ...
  112. Setting up docker.io (1.12.1-0ubuntu13~16.04.1) ...
  113. Adding group `docker' (GID 116) ...
  114. Done.
  115. Setting up ubuntu-fan (0.9.1) ...
  116. Processing triggers for systemd (229-4ubuntu12) ...
  117. Processing triggers for ureadahead (0.100.0-19) ...
  118.  
  119.  
  120.  
  121. $ lxc list
  122. +------------+---------+--------------------------------+------+------------+-----------+
  123. | NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
  124. +------------+---------+--------------------------------+------+------------+-----------+
  125. | number-one | RUNNING | 172.17.0.1 (docker0) | | PERSISTENT | 0 |
  126. | | | 10.1.189.47 (eth0) | | | |
  127. +------------+---------+--------------------------------+------+------------+-----------+
  128. | number-two | RUNNING | 172.17.0.1 (docker0) | | PERSISTENT | 0 |
  129. | | | 10.1.189.19 (eth0) | | | |
  130. +------------+---------+--------------------------------+------+------------+-----------+
  131.  
  132.  
  133.  
  134. $ lxc exec number-one -- journalctl -u docker.service
  135. -- Logs begin at Sat 2016-11-26 11:02:59 UTC, end at Sat 2016-11-26 11:03:41 UTC. --
  136. Nov 26 11:03:40 number-one systemd[1]: Starting Docker Application Container Engine...
  137. 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"
  138. 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"
  139. 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."
  140. Nov 26 11:03:41 number-one dockerd[1688]: time="2016-11-26T11:03:41.143596124Z" level=info msg="Loading containers: start."
  141. 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.
  142. 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
  143. 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
  144. Nov 26 11:03:41 number-one dockerd[1688]: time="2016-11-26T11:03:41.149931645Z" level=info msg="Firewalld running: false"
  145. 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
  146. 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"
  147. Nov 26 11:03:41 number-one dockerd[1688]: time="2016-11-26T11:03:41.312269808Z" level=info msg="Loading containers: done."
  148. Nov 26 11:03:41 number-one dockerd[1688]: time="2016-11-26T11:03:41.312392034Z" level=info msg="Daemon has completed initialization"
  149. 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
  150. 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"
  151. Nov 26 11:03:41 number-one systemd[1]: Started Docker Application Container Engine.
  152.  
  153.  
  154.  
  155. $ lxc exec number-two -- journalctl -u docker.service
  156. -- Logs begin at Sat 2016-11-26 11:03:55 UTC, end at Sat 2016-11-26 11:04:13 UTC. --
  157. Nov 26 11:04:11 number-two systemd[1]: Starting Docker Application Container Engine...
  158. 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"
  159. 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"
  160. 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."
  161. Nov 26 11:04:12 number-two dockerd[1665]: time="2016-11-26T11:04:12.314720576Z" level=info msg="Loading containers: start."
  162. 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
  163. 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
  164. 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
  165. Nov 26 11:04:12 number-two dockerd[1665]: time="2016-11-26T11:04:12.322785161Z" level=info msg="Firewalld running: false"
  166. 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:
  167. 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
  168. Nov 26 11:04:12 number-two dockerd[1665]: time="2016-11-26T11:04:12.436022803Z" level=info msg="Loading containers: done."
  169. Nov 26 11:04:12 number-two dockerd[1665]: time="2016-11-26T11:04:12.436205988Z" level=info msg="Daemon has completed initialization"
  170. 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
  171. 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"
  172. Nov 26 11:04:12 number-two systemd[1]: Started Docker Application Container Engine.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement