[lxc-users] Question on running 2 processes in 2 containers creating a lock file in /var/locks
    Anjali Kulkarni 
    anjali at juniper.net
       
    Fri Aug  1 16:13:08 UTC 2014
    
    
  
Hi,
I am interested in running 2 processes in 2 containers, each creating a
file in /var/locks.
But I don't see a /var/locks in the container rootfs:
ls /var/lib/lxc/test/rootfs/var/locks
ls: cannot access /var/lib/lxc/test/rootfs/var/locks: No such file or
directory
Is there a way this can be done? Can each container mount the host's
/var/locks, and then create their own lock file in it?
Anjali
    
    
More information about the lxc-users
mailing list