Skip to content

Commit

Permalink
Update Docker install script in aws_ec2_ebs_docker_host module.
Browse files Browse the repository at this point in the history
The existing method didn't set up the Docker engine to correctly restart after reboot.
  • Loading branch information
jareware committed Oct 29, 2020
1 parent 3b628e4 commit 25715e6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions aws_ec2_ebs_docker_host/provision-docker.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#!/bin/bash

# Install docker (convenience script isn't available for 20.04 LTS yet)
sudo apt-get update && sudo apt-get install -y docker.io
# https://docs.docker.com/engine/install/ubuntu/#install-using-the-convenience-script
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
rm get-docker.sh

# Allow using docker without sudo
sudo usermod -aG docker $(whoami)
Expand Down

0 comments on commit 25715e6

Please sign in to comment.