SHARE
TWEET

Commands and relevant output

mzimmer Nov 26th, 2016 35 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. [...]
  8.  
  9.  
  10.  
  11. $ lxc launch ubuntu-daily:16.04 number-two -p default -p docker                                              Creating number-two
  12. Starting number-two
  13.  
  14.  
  15.  
  16. $ lxc exec number-two -- apt install docker.io -y
  17. [...]
  18.  
  19.  
  20.  
  21. $ lxc list
  22. +------------+---------+--------------------------------+------+------------+-----------+
  23. |    NAME    |  STATE  |              IPV4              | IPV6 |    TYPE    | SNAPSHOTS |
  24. +------------+---------+--------------------------------+------+------------+-----------+
  25. | number-one | RUNNING | 172.17.0.1 (docker0)           |      | PERSISTENT | 0         |
  26. |            |         | 10.1.189.47 (eth0)             |      |            |           |
  27. +------------+---------+--------------------------------+------+------------+-----------+
  28. | number-two | RUNNING | 172.17.0.1 (docker0)           |      | PERSISTENT | 0         |
  29. |            |         | 10.1.189.19 (eth0)             |      |            |           |
  30. +------------+---------+--------------------------------+------+------------+-----------+
  31.  
  32.  
  33.  
  34. $ lxc exec number-one -- journalctl -u docker.service
  35. [...]
  36. 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.
  37. 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
  38. 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
  39. [...]
  40. 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
  41. 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"
  42. [...]
  43.  
  44.  
  45.  
  46. $ lxc exec number-two -- journalctl -u docker.service
  47. [...]
  48. 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
  49. 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
  50. 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
  51. [...]
  52. 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:
  53. 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
  54. [...]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top