Last active
July 9, 2021 14:44
-
-
Save simonwep/b53b6ad8d4086f45a6834c051ae1762c to your computer and use it in GitHub Desktop.
Revisions
-
simonwep revised this gist
Jul 9, 2021 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -2,6 +2,8 @@ # This follows the instructions on https://docs.docker.com/engine/install/ubuntu/ and https://docs.docker.com/compose/install/ # curl -sSL https://gist.github.com/Simonwep/b53b6ad8d4086f45a6834c051ae1762c/raw/6fca24bd46a18e125667c18438a0ea92ff459e9d | bash set -ex # Remove old packages sudo apt-get remove docker docker-engine docker.io containerd runc -
simonwep revised this gist
Jun 28, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ #!/bin/bash # This follows the instructions on https://docs.docker.com/engine/install/ubuntu/ and https://docs.docker.com/compose/install/ # curl -sSL https://gist.github.com/Simonwep/b53b6ad8d4086f45a6834c051ae1762c/raw/6fca24bd46a18e125667c18438a0ea92ff459e9d | bash # Remove old packages sudo apt-get remove docker docker-engine docker.io containerd runc -
simonwep revised this gist
Jun 28, 2021 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -14,6 +14,9 @@ sudo apt-get install \ gnupg \ lsb-release -y # Add GPG key curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg # Add package repository echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null -
simonwep revised this gist
Jun 28, 2021 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -12,15 +12,15 @@ sudo apt-get install \ ca-certificates \ curl \ gnupg \ lsb-release -y # Add package repository echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null # Install docker engine sudo apt-get update sudo apt-get install docker-ce docker-ce-cli containerd.io -y # Install docker-compose sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose -
simonwep revised this gist
Jun 28, 2021 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,6 @@ #!/bin/bash # This follows the instructions on https://docs.docker.com/engine/install/ubuntu/ and https://docs.docker.com/compose/install/ # curl -sSL https://gist.github.com/Simonwep/b53b6ad8d4086f45a6834c051ae1762c/raw | bash # Remove old packages sudo apt-get remove docker docker-engine docker.io containerd runc -
simonwep revised this gist
Jun 28, 2021 . 1 changed file with 0 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,6 @@ #!/bin/bash # This follows the instructions on https://docs.docker.com/engine/install/ubuntu/ and https://docs.docker.com/compose/install/ # Remove old packages sudo apt-get remove docker docker-engine docker.io containerd runc -
simonwep created this gist
Jun 28, 2021 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,29 @@ #!/bin/bash # This follows the instructions on https://docs.docker.com/engine/install/ubuntu/ and https://docs.docker.com/compose/install/ LOG_FILE= # Remove old packages sudo apt-get remove docker docker-engine docker.io containerd runc # Install dependencies sudo apt-get update sudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ gnupg \ lsb-release # Add package repository echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null # Install docker engine sudo apt-get update sudo apt-get install docker-ce docker-ce-cli containerd.io # Install docker-compose sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose