[Lxc-users] User Namespace Support in LXC

Serge Hallyn serge.hallyn at ubuntu.com
Thu Nov 14 00:21:04 UTC 2013


Quoting Fajar A. Nugraha (list at fajar.net):
> when testing as root (which, if I read your post correctly, is not possible
> yet):

In the nsexec package in ppa:serge-hallyn/userns-natty, there is a
script called container-userns-convert.  It takes a normal container,
adds the lxc.id_map entries, and chowns all the files to the mapped
uids.  So the easiest thing to do is install that package, create a
normal container, and convert it.

	sudo lxc-create -t ubuntu -n u1
	sudo container-userns-convert u1 100000




More information about the lxc-users mailing list