Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

install the latest docker on ubuntu 20.04

# Official Latest Docker Install
curl -fsSL https://get.docker.com -o get-docker.sh
# Run the file
sudo sh get-docker.sh
Comment

docker install ubuntu 20.04

curl -fsSL https://get.docker.com -o /tmp/get-docker.sh && sudo sh /tmp/get-docker.sh && 
sudo usermod -aG docker $USER && newgrp docker && 
newgrp docker && 
sudo curl -L "github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/bin/docker-compose && 
sudo chmod +x /usr/bin/docker-compose
Comment

install docker ubuntu 20

sudo -i &&
apt-get update -y &&
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg &&
echo 
  "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu 
  $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null &&
apt-get update &&
apt-get upgrade -y &&
apt-get install docker-ce docker-ce-cli containerd.io
Comment

install docker ubuntu 20

apt-get update -y &&
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg &&
echo 
  "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu 
  $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null &&
apt-get update &&
apt-get upgrade -y &&
apt-get install docker-ce docker-ce-cli containerd.io -y
Comment

PREVIOUS NEXT
Code Example
Shell :: putty for ubuntu 
Shell :: remove yum repository 
Shell :: bash get domain from url 
Shell :: ubuntu dotnet 6 
Shell :: print value mongodb shell 
Shell :: install git 
Shell :: remove git repository from remote 
Shell :: git installing in linux 
Shell :: cloning repository github 
Shell :: push an existing repository from the command line on github 
Shell :: reset certain file git 
Shell :: git push local branch to remote repo 
Shell :: delete remote commit 
Shell :: git squash commits 
Shell :: clone github repository mac terminal 
Shell :: change desktop icon size ubuntu 
Shell :: how to see ip in linux 
Shell :: INSTALL gedit on kali linux 
Shell :: gitlab runner npm command not found 
Shell :: why gitignore does not work 
Shell :: how to start a background process in ubuntu 
Shell :: install pip ubuntu 
Shell :: hobo list services 
Shell :: linux awk 
Shell :: copy data to kubernetes pod 
Shell :: attach iam role to ec2 instance cli 
Shell :: copy everything vim 
Shell :: listen unix /home/jatoba/.pomo/pomo.sock: bind: address already in use 
Shell :: sed between two matches 
Shell :: audacious music player 
ADD CONTENT
Topic
Content
Source link
Name
6+3 =