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

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 :: delete merged branches in git 
Shell :: kill a port in ubuntu 
Shell :: mac get your screen size terminal 
Shell :: how to delete installed library from react native project 
Shell :: maven skip test 
Shell :: git second commit 
Shell :: uninstall gitlab-ee 
Shell :: ipconfig in ubantu 
Shell :: Disable MacBook from Booting Automatically 
Shell :: how to use sed output to overwrite existin file 
Shell :: regex all not numbers 
Shell :: virtualbox homebrew 
Shell :: docker run restart always 
Shell :: git remote origin edit 
Shell :: bash use cat in sed command 
Shell :: docker-compose compose clear cache 
Shell :: git change commit author for all commits 
Shell :: how to install pg_dump on mac 
Shell :: install discord in linux 
Shell :: htaccess route to index.php 
Shell :: bz2 unzip 
Shell :: install openssh 
Shell :: npm install yarn 
Shell :: ssh-copy-id 
Shell :: docker config insecure regis 
Shell :: How to limit network bandwidth on linux 
Shell :: create anaconda environment in shell 
Shell :: uninstall mono ubuntu 
Shell :: how to check version of web3 
Shell :: where to check elastic beanstalk logs 
ADD CONTENT
Topic
Content
Source link
Name
9+6 =