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 :: docker install linux mint 
Shell :: https://git-lfs.github.com/ 
Shell :: bash check length of variable 
Shell :: install entityframeworkcore nuget in asp.net core 3.0 
Shell :: how to docker login with gitlab 
Shell :: how to install spark on macos 
Shell :: how to uninstall sticky notes in ubuntu 
Shell :: ubuntu run in port 80 
Shell :: install samba server ubuntu 22.04 
Shell :: wkhtmltopdf blocked access to file 
Shell :: move all files in a directory linux 
Shell :: how to install unsigned drivers on windows 10 
Shell :: hw to login to git 
Shell :: delete previous word vim 
Shell :: how to install deb file in kali linux 
Shell :: kubectl commands 
Shell :: download a zip file using curl 
Shell :: renaming heroku remotes 
Shell :: appimage install kali linux 
Shell :: bundle lock add platform linux 
Shell :: git commit not showing up in github 
Shell :: git empty stash 
Shell :: git checkout head 
Shell :: zsh list environment variables 
Shell :: How do I sync local and remote branches? 
Shell :: git clone in 
Shell :: vim remove line by pattern from all files 
Shell :: pyinstaller module not found 
Shell :: creating a branch in git 
Shell :: whatsapp for linux 
ADD CONTENT
Topic
Content
Source link
Name
2+5 =