Created
          June 23, 2020 10:55 
        
      - 
      
 - 
        
Save ChrisMcKee/ed0056a622b6d19a9541a18df255adf6 to your computer and use it in GitHub Desktop.  
    Upgrade docker to a specific version
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/bin/bash | |
| docker_version=19.03.11 | |
| pkg_version=$(apt-cache madison docker-ce | grep ${docker_version} | head -n 1 | cut -d ' ' -f 4) | |
| apt-get install -y -q docker-ce=${pkg_version} docker-ce-cli=${pkg_version} | |
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment