mirror of
				https://github.com/docker/docker-bench-security.git
				synced 2025-11-04 02:58:59 +00:00 
			
		
		
		
	update 1.1
Signed-off-by: Julien Garcia Gonzalez <julien@giantswarm.io>
This commit is contained in:
		
					parent
					
						
							
								e9bc9bd953
							
						
					
				
			
			
				commit
				
					
						683a728364
					
				
			
		
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -8,6 +8,8 @@ auditrules="/etc/audit/audit.rules"
 | 
			
		|||
check_1_1="1.1  - Ensure a separate partition for containers has been created"
 | 
			
		||||
if grep /var/lib/docker /etc/fstab >/dev/null 2>&1; then
 | 
			
		||||
  pass "$check_1_1"
 | 
			
		||||
elif mountpoint -q  -- /var/lib/docker >/dev/null 2>&1; then
 | 
			
		||||
  pass "$check_1_1"
 | 
			
		||||
else
 | 
			
		||||
  warn "$check_1_1"
 | 
			
		||||
fi
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue