-
Notifications
You must be signed in to change notification settings - Fork 11
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
base: master
Are you sure you want to change the base?
Conversation
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 |
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.
Missing docker-compose
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 |
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.
Missing docker-compose
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 |
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.
Missing docker-compose
Co-authored-by: Andrei David <dandrei279@gmail.com>
Co-authored-by: Andrei David <dandrei279@gmail.com>
Co-authored-by: Andrei David <dandrei279@gmail.com>
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 usesudo
each time it interacts with docker.[0] - https://www.docker.com/blog/getting-started-with-docker-for-arm-on-linux/