Hi Aaron,

On 2014/1/17 9:33, Aaron Staley wrote:
> I'm trying to run an application that works fine on my host inside a 
> container.
> 
> The application executes:
> mount -t proc -o ro proc /mnt/remount_point
> But this command errors:
> mount: cannot mount block device proc read-only
> 
> mounting read-write (mount -t proc proc /mnt/remount_point) does work however.
> 
> I'd rather not modify the application.  Is there some LXC option/other issue 
> blocking a RO mount of proc?
>

RO mount of proc should have worked, there must be something else
wrong, maybe like Stéphane said.

If you are looking for some LXC options,
lxc.mount.auto = sys proc
may be what you want.

> Thanks,
> Aaron
> 
> 
> _______________________________________________
> lxc-users mailing list
> [email protected]
> http://lists.linuxcontainers.org/listinfo/lxc-users
> 


_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to