Linux Sysadmin Basics -- LXC 5: Unprivileged Containers
161 بار بازدید -
8 سال پیش
-
A tutorial demonstrating Stephane Graber's
A tutorial demonstrating Stephane Graber's instructions on getting an unprivileged LXC container running on Ubuntu 14.04.
See his fantastic blog post series here: https://www.stgraber.org/2013/12/20/lxc-1-0-blog-post-series/
Commands:
sudo apt-get install lxc uidmap
## check yo shiznit
lxc-checkconfig
adduser lxcuser
usermod --add-subuids 100000-165536 lxcuser
usermod --add-subgids 100000-165536 lxcuser
chmod +x /home/lxcuser
# create ~/.config/lxc/default.conf
lxc.network.type = veth
lxc.network.
8 سال پیش
در تاریخ 1395/10/11 منتشر شده
است.
161
بـار بازدید شده