mirror of
				https://github.com/docker/docker-bench-security.git
				synced 2025-11-04 02:58:59 +00:00 
			
		
		
		
	add a Docker version do_version_check to 1.6
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
This commit is contained in:
		
					parent
					
						
							
								8397a32bcd
							
						
					
				
			
			
				commit
				
					
						b9112ec87c
					
				
			
		
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -40,6 +40,7 @@ fi
 | 
			
		|||
# 1.6
 | 
			
		||||
check_1_6="1.6  - Keep Docker up to date"
 | 
			
		||||
docker_version=`docker version | grep 'Server version' | awk '{print $3}'`
 | 
			
		||||
do_version_check 1.6.2 $docker_version
 | 
			
		||||
if [ $? -eq 11 ]; then
 | 
			
		||||
  warn "$check_1_6"
 | 
			
		||||
else
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue