What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-08-31 22:20:02
how to install and enable docker on command line with EC2 instance
sudo yum update -y sudo amazon-linux-extras install docker -y sudo systemctl start docker sudo systemctl enable docker sudo usermod -a -G docker ec2-user (to avoid sudo command usage) newgrp docker (to avoid sudo command usage) Add solution
Best helpers
Amine
+5
Asgs
+5
Jboeke
+5
Frank Gado
+5
Jim MacA
+5
Lightalloy
+5
PeterSalz
+5
Altendky
+5
Faerubin
+5
David Baucum
+5
Ravin Online
+5
Xemnarth
+5
Withkare
+5
DSM
+5
Njbair
+5
Troy Woo
+5