This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
docs:lxc [2013-12-09 15:45] glen iptables |
docs:lxc [2014-02-22 01:24] glen [LXC - Linux Container Tools] |
||
---|---|---|---|
Line 5: | Line 5: | ||
**Resources** | **Resources** | ||
* [[http://lxc.sourceforge.net|LXC Project homepage]] | * [[http://lxc.sourceforge.net|LXC Project homepage]] | ||
+ | * [[https://www.stgraber.org/2013/12/20/lxc-1-0-blog-post-series/|LXC 1.0 blog post series]] - must read to get quick overview what's out there | ||
* [[http://lists.linuxfoundation.org/mailman/listinfo/containers|Linux Containers mailing list]] | * [[http://lists.linuxfoundation.org/mailman/listinfo/containers|Linux Containers mailing list]] | ||
* [[http://wiki.gentoo.org/wiki/LXC|Gentoo wiki about LXC]] | * [[http://wiki.gentoo.org/wiki/LXC|Gentoo wiki about LXC]] | ||
Line 92: | Line 93: | ||
Or just **do not** drop the capability. | Or just **do not** drop the capability. | ||
+ | |||
+ | ==== syslog ==== | ||
+ | |||
+ | [[package>syslog-ng]] gives following on startup: | ||
+ | |||
+ | <code> | ||
+ | # service syslog-ng restart | ||
+ | syslog-ng: Error setting capabilities, capability management disabled; error='Operation not permitted' | ||
+ | Stopping syslog-ng service.............................................................[ DONE ] | ||
+ | Starting syslog-ng service.............................................................[ DONE ] | ||
+ | </code> | ||
+ | |||
+ | **FIXME:** no solution yet | ||
===== Vserver comparision ===== | ===== Vserver comparision ===== | ||
Line 103: | Line 117: | ||
**Commands:** | **Commands:** | ||
^ Vserver ^ LXC ^ Notes ^ | ^ Vserver ^ LXC ^ Notes ^ | ||
- | | vserver test enter | lxc-attach -n test -e | Use ''-e'' option with care, especially when restarting processes | | + | | vserver test enter | lxc-attach -n test | Add ''-e'' to enter with elevated privileges (ignoring ''lxc.cap.drop'') | |
| vserver test start | lxc-start -n test -d | | | vserver test start | lxc-start -n test -d | | ||
| vserver test stop | lxc-stop -n test | | | vserver test stop | lxc-stop -n test | |