Advertisement
Guest User

Untitled

a guest
Jul 25th, 2014
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. root@lxctest:~# lxc-start -n basecontainer -d
  2. root@lxctest:~# lxc-start-ephemeral -o basecontainer -n eptest -d
  3. The ephemeral container is now started.
  4.  
  5. You can enter it from the command line with: lxc-console -n eptest
  6. The following IP addresses have be found in the container:
  7. - 10.35.20.235
  8. root@lxctest:~# lxc-attach -n basecontainer
  9. root@basecontainer:~# cat /proc/self/attr/current
  10. unconfined
  11. root@basecontainer:~# exit
  12. exit
  13. root@lxctest:~# lxc-attach -n eptest
  14. root@eptest:~# cat /proc/self/attr/current
  15. unconfined
  16. root@eptest:~# exit
  17. root@lxctest:~#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement