Answers for "ubuntu docker engine"

1

install docker in ubuntu

$ sudo apt-get remove docker docker-engine docker.io
$ sudo apt-get update
$ sudo apt install docker.io
$ sudo snap install docker
$ docker --version
Posted by: Guest on December-22-2020
4

install docker ubuntu

# To install docker in ubuntu, run the following in your terminal:

sudo apt-get update
sudo apt install -y apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository -y "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
sudo apt install docker-ce
Posted by: Guest on April-12-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language