[lxc-users] How to apply commands in howtos - macvlan and disk passthrough
tycho.andersen at canonical.com
Tue Dec 20 21:52:22 UTC 2016
On Tue, Dec 20, 2016 at 10:39:07PM +0100, john.gubert at web.de wrote:
> I have a directory on my host system and want to create several containers
> with the same users inside. I would like to pass the directory through to
> each container and allow the users to write and read on it. The network
> connection should be done using macvlan.
> The howtos I have read so far show how to set up lxd, which works very
> well on my 16.04 host. Starting a container works out of the box as
> unpriviliged user as well.
> My questions:
> Is it even possible to share one directory on the host with several
> All the howtos I could find mention some commands, that need to be
> applied, but they do not tell me about the commands I need to type in to
> make it work:
> "That means you can create a container with the following configuration:
> lxc.id_map = u 0 100000 65536
> lxc.id_map = g 0 100000 65536"
> There is a big list of possible options on github, but where does it tell
> how to apply them?
> Does someone know a detailed howto, that describes a similiar setup like
http://tycho.ws/blog/2016/12/uidmap.html is a blog post I wrote a
while ago talking about how to set this up with your home directory.
You can mimic the settings for whatever user map you want, though.
> Every time I read something, I feel like missing something important,
> because I could not find a coherent compendium of possible options on how
> to do something.
> kind regards,
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
More information about the lxc-users