Created
July 4, 2018 03:26
-
-
Save kvhnuke/be8a44394835aa998bf87cbf3f0e9035 to your computer and use it in GitHub Desktop.
Upgrade docker images
This file contains 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
sudo docker stop $(sudo docker ps -a -q) | |
sudo docker rm $(sudo docker ps -a -q) | |
sudo bash /var/lib/cloud/instances/i-*/user-data.txt | |
#ssh -i [pem file location].pem ubuntu@[ip-address] 'bash -s' < ~/upgrade-docker.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment