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

Update lab_prepare docker installation #4

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

edi33416
Copy link
Contributor

@edi33416 edi33416 commented Nov 4, 2022

The previous script assumed that the arch was amd64.
This caused the setup to fail on arm64 machines.

Replaced the steps with docker's script that does all the machinery in the back. [0]

Also, I added the current user to the docker group so the user won't be required to use sudo each time it interacts with docker.

[0] - https://www.docker.com/blog/getting-started-with-docker-for-arm-on-linux/

labs/03-user/lab-container/lab_prepare.sh Outdated Show resolved Hide resolved
sudo apt-get update
sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-compose
sudo apt-get upgrade
curl -fsSL test.docker.com -o get-docker.sh && sh get-docker.sh
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing docker-compose

labs/07-networking/lab-container/lab_prepare.sh Outdated Show resolved Hide resolved
sudo apt-get update
sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-compose
sudo apt-get upgrade
curl -fsSL test.docker.com -o get-docker.sh && sh get-docker.sh
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing docker-compose

labs/09-task-admin/lab-container/lab_prepare.sh Outdated Show resolved Hide resolved
sudo apt-get update
sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-compose
sudo apt-get upgrade
curl -fsSL test.docker.com -o get-docker.sh && sh get-docker.sh
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing docker-compose

edi33416 and others added 3 commits November 4, 2022 11:24
Co-authored-by: Andrei David <dandrei279@gmail.com>
Co-authored-by: Andrei David <dandrei279@gmail.com>
Co-authored-by: Andrei David <dandrei279@gmail.com>
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.

None yet

2 participants