Quoting Karma Kolabor (collabori...@gmail.com):
> Hi Serge,
>
> thanks for the quick reply! the "hole" word made it click! I added
> this to the config, now it seems to work:
>
> lxc.id_map = u 0 10 1000
> lxc.id_map = g 0 10 1000
> lxc.id_map = u 1000 1000 1
> lxc.id_map = g 1000 1000 1
Greetings, Valerio Mariani!
> I have been using this syntax to mount some of the hosts's
> directories in the container:
> lxc config device add gp sources disk source=$HOME/p/gratipay.com
> path=/opt/srv
lxc config device add gp sources disk source="$HOME/p/gratipay.com"
path
Hi all,
There's going to be excellent talks in ContainerCon[1] this week, but I
don't know if the talks are going to be streamed later.
For User Namespaces, I follow this tutorial[2] which explains pretty well
how user namespaces work. Also, check user_namespaces(7) and
capabilities(7), here you
Hi Serge,
thanks for the quick reply! the "hole" word made it click! I added
this to the config, now it seems to work:
lxc.id_map = u 0 10 1000
lxc.id_map = g 0 10 1000
lxc.id_map = u 1000 1000 1
lxc.id_map = g 1000 1000 1
lxc.id_map = u 1001 101001 64535
lxc.id_map = g 1001 101001 64535
Quoting Karma Kolabor (collabori...@gmail.com):
> Hi,
>
> I am trying to mount a directory in a user home into an unprivileged
> container run by a user (not root).
>
> LXC generally works fine here, I just fight with the uid mapping details.
>
> I added a line like this
>
> lxc.mount.entry =
Hi,
I am trying to mount a directory in a user home into an unprivileged
container run by a user (not root).
LXC generally works fine here, I just fight with the uid mapping details.
I added a line like this
lxc.mount.entry = /home/user/sites home/ubuntu/sites none bind 0 0
to the file
/home
I've read somewhere:
"Ubuntu is also one of the few (if not only) Linux distributions to come
by default with everything that's needed for safe, unprivileged LXC
containers" - and not LTS versions.
El 17/08/15 a les 06:48, Benoit GEORGELIN - Association Web4all ha escrit:
> Hi lxc-users :)
>
>
Dear All,
I have been using this syntax to mount some of the hosts's
directories in the container:
lxc config device add gp sources disk source=$HOME/p/gratipay.com
path=/opt/srv
However, I don't see to be able to use a host path (source=) with a
space in it. I tried using forward slash (\),