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 :: check git username 
Shell :: install nvm mac with brew 
Shell :: -bash: bin/startup.sh: Permission denied 
Shell :: ubuntu errors were encountered while processing libc-bin 
Shell :: create strapi app 
Shell :: remove all folder except one linux 
Shell :: tsc: command not found on arch 
Shell :: Not Found The requested URL was not found on this server. Apache/2.4.41 (Ubuntu) Server at localhost Port 80 
Shell :: kubernetes get services 
Shell :: change regolith terminal 
Shell :: change ubuntu terminal prompt color 
Shell :: git remove directory 
Shell :: login to github terminal 
Shell :: find bigger file on linux centos 
Shell :: Required Windows feature(s) not enabled : Hyper-V and Containers 
Shell :: kubectl cheat sheet 
Shell :: switch installed linx to wsl2 
Shell :: check files that was changed in a particular git commit 
Shell :: how to run appimage on linux mint 
Shell :: download code from github 
Shell :: git push in a new branch 
Shell :: git project root 
Shell :: extract tar.xz linux 
Shell :: xampp ubuntu 
Shell :: @react-navigation/stack install npm 
Shell :: windows print environment variable powershell 
Shell :: updates were rejected because the remote contains work that you do not have locally 
Shell :: dash bootstrap import 
Shell :: uninstall nvidia driver ubuntu 
Shell :: grep exclude file extension 
ADD CONTENT
Topic
Content
Source link
Name
2+7 =