mirror of
				https://github.com/containers/podman.git
				synced 2025-10-31 10:00:01 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			570 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			570 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ####> This option file is used in:
 | |
| ####>   podman create, run
 | |
| ####> If file is edited, make sure the changes
 | |
| ####> are applicable to all of those.
 | |
| #### **--cgroupns**=*mode*
 | |
| 
 | |
| Set the cgroup namespace mode for the container.
 | |
| 
 | |
| - **host**: use the host's cgroup namespace inside the container.
 | |
| - **container:**_id_: join the namespace of the specified container.
 | |
| - **private**: create a new cgroup namespace.
 | |
| - **ns:**_path_: join the namespace at the specified path.
 | |
| 
 | |
| If the host uses cgroups v1, the default is set to **host**. On cgroups v2, the default is **private**.
 | 
