-
-
Save thomas-ayissi/93f22500d496e0efb999f9df05624ac8 to your computer and use it in GitHub Desktop.
Revisions
-
npearce revised this gist
May 5, 2020 . 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,4 +1,4 @@ UPDATE (March 2020, thanks @ic): I don't know the exact AMI version but `yum install docker` now works on the latest Amazon Linux 2. The instructions below may still be relevant depending on the vintage AMI you are using. Amazon changed the install in Linux 2. One no-longer using 'yum' See: https://aws.amazon.com/amazon-linux-2/release-notes/ -
npearce revised this gist
May 5, 2020 . 1 changed file with 5 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 @@ -1,3 +1,5 @@ UPDATE (March 2020, thank @ic): I don't know the exact AMI version but `yum install docker` now works on the latest Amazon Linux 2. The instructions below may still be relevant depending on the vintage AMI you are using. Amazon changed the install in Linux 2. One no-longer using 'yum' See: https://aws.amazon.com/amazon-linux-2/release-notes/ @@ -27,6 +29,9 @@ Copy the appropriate `docker-compose` binary from GitHub: `sudo curl -L https://github.com/docker/compose/releases/download/1.22.0/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose` NOTE: to get the latest version (thanks @spodnet): `sudo curl -L https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose` Fix permissions after download: `sudo chmod +x /usr/local/bin/docker-compose` -
npearce revised this gist
May 14, 2019 . 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 @@ -23,7 +23,7 @@ Reboot to verify it all loads fine on its own. ## docker-compose install Copy the appropriate `docker-compose` binary from GitHub: `sudo curl -L https://github.com/docker/compose/releases/download/1.22.0/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose` -
npearce revised this gist
Nov 29, 2018 . No changes.There are no files selected for viewing
-
npearce revised this gist
Nov 29, 2018 . 1 changed file with 6 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 @@ -10,21 +10,27 @@ sudo usermod -a -G docker ec2-user ``` Make docker auto-start `sudo chkconfig docker on` Because you always need it.... `sudo yum install -y git` Reboot to verify it all loads fine on its own. `sudo reboot` ## docker-compose install Install docker-compose to build the kafka proxy cluster from a single definition file. `sudo curl -L https://github.com/docker/compose/releases/download/1.22.0/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose` Fix permissions after download: `sudo chmod +x /usr/local/bin/docker-compose` Verify success: `docker-compose version` -
npearce revised this gist
Nov 29, 2018 . 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,4 +1,4 @@ Amazon changed the install in Linux 2. One no-longer using 'yum' See: https://aws.amazon.com/amazon-linux-2/release-notes/ ## Docker CE Install -
npearce revised this gist
Nov 29, 2018 . 1 changed file with 10 additions and 10 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,30 +1,30 @@ Amazon changes a bunch of stuff in Linux 2. No longer using 'yum' See: https://aws.amazon.com/amazon-linux-2/release-notes/ ## Docker CE Install ```sh sudo amazon-linux-extras install docker sudo service docker start sudo usermod -a -G docker ec2-user ``` Make docker auto-start `sudo chkconfig docker on` Because you always need it.... `sudo yum install -y git` Reboot to verify it all loads fine on its own. `sudo reboot` ## docker-compose install Install docker-compose to build the kafka proxy cluster from a single definition file. `sudo curl -L https://github.com/docker/compose/releases/download/1.22.0/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose` Fix permissions after download: `sudo chmod +x /usr/local/bin/docker-compose` Verify success: `docker-compose version` -
npearce renamed this gist
Nov 29, 2018 . 1 changed file with 8 additions and 7 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 @@ -3,27 +3,28 @@ ### Docker CE Install ```sh sudo amazon-linux-extras install docker sudo service docker start sudo usermod -a -G docker ec2-user ``` # Make docker auto-start `sudo chkconfig docker on` # Because you always need it.... `sudo yum install -y git` # Reboot to verify it all loads fine on its own. `sudo reboot` ### docker-compose install # Install docker-compose to build the kafka proxy cluster from a single definition file. `sudo curl -L https://github.com/docker/compose/releases/download/1.22.0/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose` # Fix permissions after download: `sudo chmod +x /usr/local/bin/docker-compose` # Verify success: `docker-compose version` -
npearce revised this gist
Nov 29, 2018 . 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 @@ -10,6 +10,9 @@ sudo usermod -a -G docker ec2-user # Make docker auto-start sudo chkconfig docker on # Because you always need it.... sudo yum install -y git # Reboot to verify it all loads fine on its own. sudo reboot -
npearce revised this gist
Nov 29, 2018 . 1 changed file with 8 additions 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,13 +1,20 @@ # Amazon changes a bunch of stuff in Linux 2. No longer using 'yum' # See: https://aws.amazon.com/amazon-linux-2/release-notes/ ### Docker CE Install sudo amazon-linux-extras install docker sudo service docker start sudo usermod -a -G docker ec2-user # Make docker auto-start sudo chkconfig docker on # Reboot to verify it all loads fine on its own. sudo reboot ### docker-compose install # Install docker-compose to build the kafka proxy cluster from a single definition file. sudo curl -L https://github.com/docker/compose/releases/download/1.22.0/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose -
npearce revised this gist
Nov 29, 2018 . 1 changed file with 14 additions 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 @@ -3,4 +3,17 @@ sudo amazon-linux-extras install docker sudo service docker start sudo usermod -a -G docker ec2-user # You'll get socket permission errors unless you either reboot or logout/login so the `usermod` command takes effect. sudo reboot # Install docker-compose to build the kafka proxy cluster from a single definition file. sudo curl -L https://github.com/docker/compose/releases/download/1.22.0/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose # Fix permissions after download: sudo chmod +x /usr/local/bin/docker-compose # Verify success: docker-compose version -
npearce created this gist
Nov 29, 2018 .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,6 @@ # Amazon changes a bunch of stuff in Linux 2. No longer using 'yum' # See: https://aws.amazon.com/amazon-linux-2/release-notes/ sudo amazon-linux-extras install docker sudo service docker start sudo usermod -a -G docker ec2-user