mirror of
				https://github.com/containers/podman.git
				synced 2025-10-26 02:35:43 +08:00 
			
		
		
		
	 0e2042ebd7
			
		
	
	0e2042ebd7
	
	
	
		
			
			Set the root propagation based on the properties of volumes and default mounts. To remain compatibility, follow the semantics of Docker. If a volume is shared, keep the root propagation shared which works for slave and private volumes too. For slave volumes, it can either be shared or rshared. Do not change the root propagation for private volumes and stick with the default. Fixes: #1834 Signed-off-by: Valentin Rothberg <vrothberg@suse.com>
		
			
				
	
	
		
			19 lines
		
	
	
		
			511 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			511 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| // +build linux
 | |
| 
 | |
| package libpod
 | |
| 
 | |
| const (
 | |
| 	// MountPrivate represents the private mount option.
 | |
| 	MountPrivate = "private"
 | |
| 	// MountRPrivate represents the rprivate mount option.
 | |
| 	MountRPrivate = "rprivate"
 | |
| 	// MountShared represents the shared mount option.
 | |
| 	MountShared = "shared"
 | |
| 	// MountRShared represents the rshared mount option.
 | |
| 	MountRShared = "rshared"
 | |
| 	// MountSlave represents the slave mount option.
 | |
| 	MountSlave = "slave"
 | |
| 	// MountRSlave represents the rslave mount option.
 | |
| 	MountRSlave = "rslave"
 | |
| )
 |