Skip to content
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

Closed
wants to merge 12 commits into from
Closed

added nfs-utils, and fix the way docker is installed #2

wants to merge 12 commits into from

Conversation

mbartsch
Copy link
Contributor

@mbartsch mbartsch commented Jul 11, 2018

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.

@rickard-von-essen
Copy link
Contributor

Great! 👍

@@ -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
Copy link

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

Copy link
Contributor Author

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

Copy link

@jhaynes jhaynes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⛵️

ruhlem added 9 commits July 13, 2018 09:21
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
@micahhausler
Copy link
Member

Hey thanks for the PR! We actually needed to pin docker to 17.06.x, so we did that in #15 (and added nfs-utils).

@deiwin
Copy link

deiwin commented Aug 22, 2018

We actually needed to pin docker to 17.06.x

Could you explain why, please, @micahhausler? Or is this documented somewhere?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants