[Lxc-users] Changing mount options from inside a container

Andre Nathan andre at digirati.com.br
Fri Feb 4 18:39:57 UTC 2011


Hello

Let's say I have a file bind-mounted in read-only mode from the host to
the container. For example, /etc/resolv.conf.

In the container, I can use the mount command with the -oremount,rw
options and then edit the file from the container.

Is there a way to disable that behavior and forbid the mount options
change?

Thanks
Andre





More information about the lxc-users mailing list