0% found this document useful (0 votes)
61 views3 pages

How To Install Docker On Ubuntu 18.04

The document provides steps to install Docker on Ubuntu 18.04. It involves updating and upgrading packages, installing prerequisite packages, adding the Docker GPG key and repository, updating the package database, verifying the Docker package source, and installing Docker.

Uploaded by

nainzu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
61 views3 pages

How To Install Docker On Ubuntu 18.04

The document provides steps to install Docker on Ubuntu 18.04. It involves updating and upgrading packages, installing prerequisite packages, adding the Docker GPG key and repository, updating the package database, verifying the Docker package source, and installing Docker.

Uploaded by

nainzu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

2020/4/22 How To Install Docker on Ubuntu 18.

04

Q&A

How To Install Docker on Ubuntu 18.04


on February 28, 2020

Step 1 — Update and Upgrade

sudo apt update


sudo apt -y upgrade

Step 2 — install a few prerequisite packages

sudo apt install apt-transport-https ca-certificates curl softwar

Step 3 — add the GPG key for the o cial


Docker repository

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo ap

Step 4 — Add the Docker repository to APT


sources

sudo add-apt-repository "deb [arch=amd64] https://download.docker

 
https://mamkwic.blogspot.com/2020/02/how-to-install-docker-on-ubuntu-1804.html?utm_content=educational&utm_campaign=2020-04-17&utm_source=email… 1/3
2020/4/22 How To Install Docker on Ubuntu 18.04

Step 5 — update the package database with


Q&A
the Docker packages

sudo apt update

Step 6 — Make sure you are installing from


the Docker repo

apt-cache policy docker-ce

Step 7 — install Docker

sudo apt install docker-ce

Enter your comment...

https://mamkwic.blogspot.com/2020/02/how-to-install-docker-on-ubuntu-1804.html?utm_content=educational&utm_campaign=2020-04-17&utm_source=email… 2/3
2020/4/22 How To Install Docker on Ubuntu 18.04

Q&A Popular Posts

How To Install Python 3 on Ubuntu 18.04

Step 1 — Update and Upgradesudo apt update sudo apt -y upgrade Step 2
— Check Version of Pythonpython3 -V Step 3 — Install pipsudo apt install
-y python3-pip Step 4 — Install Additional Toolssudo apt install build-
essential libssl-dev lib -dev python3-dev Step 5 — Install venvsudo apt…

How To Install Node.js on Ubuntu 18.04

Step 1 — Update and Upgradesudo apt update sudo apt -y upgrade Step 2
— Installing Using a PPA (personal package archive)cd ~curl -sL
https://deb.nodesource.com/setup_10.x -o nodesource_setup.sh
If you need to install another version, for example 12.x, just change …

Powered by Blogger

https://mamkwic.blogspot.com/2020/02/how-to-install-docker-on-ubuntu-1804.html?utm_content=educational&utm_campaign=2020-04-17&utm_source=email… 3/3

You might also like