-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added nfs-utils, and fix the way docker is installed #2
Conversation
Great! 👍 |
install-worker.sh
Outdated
@@ -44,7 +45,7 @@ sudo systemctl enable iptables-restore | |||
################################################################################ | |||
|
|||
sudo yum install -y yum-utils device-mapper-persistent-data lvm2 | |||
sudo yum install -y docker | |||
sudo amazon-linux-extras install -y docker |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
In the interest of being explicit, I might write this as two separate lines:
sudo amazon-linux-extras enable docker
sudo yum install -y docker
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I make the changes as your comment, and fully agree is a lot more clear that way
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⛵️
commit 1ea10a7 Author: Marcelo Bartsch <[email protected]> Date: Fri Jul 13 09:21:06 2018 +0100 reset to original files commit 2aa7117 Author: Marcelo Bartsch <[email protected]> Date: Thu Jul 12 21:28:12 2018 +0100 make the enable amazon-linux-extra and enable docker a two step operation commit 75805b0 Author: Marcelo Bartsch <[email protected]> Date: Wed Jul 11 11:16:52 2018 +0100 added source_ami_id as a empty variable
add nfs-utils package
Hey thanks for the PR! We actually needed to pin docker to |
Could you explain why, please, @micahhausler? Or is this documented somewhere? |
…w_error Fix fs.inotify error
Issue #, if available: #1
Description of changes:
Docker on Amazon Linux 2 is a amazon linux extra and not part of the 'core' distribution, to install docker you need to use amazon-linux-extras command.
Also added nfs-utils to the worker image as in my test I'm using EFS to store data
Also added the source_ami_id variable, as an empty one, as mention in Issue #1
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.