Docker CE for Ubuntu installation notes

Why use Docker CE for Ubuntu

Install Docker

Docker currently (201709) only supports these two systems on the windows platform: Windows 10 and on Windows Server 2016. Other systems do not use Hyper-V technology and need to use virtual machines to simulate implementation, so the effect is definitely not good.

Considering that these two systems are currently less used in servers, but all are supported on Ubuntu. After all, docker is developed based on the Linux kernel, so it is recommended to use Docker for Ubuntu.

I am learning Docker container technology, and the relevant notes are summarized in Docker container technology study notes summary

Get Docker CE for Ubuntu

For Ubuntu 16.04 and higher, the Linux kernel includes support for OverlayFS, and Docker CE will use the overlay2 storage driver by default.

Install Docker

Suggested installation method: Most people install the Docker warehouse and then install from there, in order to simplify the installation and upgrade steps. This is also the recommended way.

It is worth recording that in the fourth step of the SET UP THE REPOSITORY installation instructions, there is one point to explain:

amd64:

$ sudo add-apt-repository \
 " deb [arch=amd64] https://download.docker.com/linux/ubuntu \
 $(lsb_release -cs) \
 stable"

Here arch=amd64 is actually equivalent to x86_64, the two are the same.

In addition, before INSTALL DOCKER CE, remember to sudo apt-get update, otherwise you may not be able to download Docker CE.

It takes a long time to install a small 20M file. Try hello world after installation.

Try it, the network doesn't work.
Try again, finally waiting for the greeting from Docker.

Other configuration##

There are also some [optional configuration operations under linux] (https://docs.docker.com/engine/installation/linux/linux-postinstall/).


iotisan Blog Expert

Published 251 original articles, won 253 praise, and received 840,000+ views

Recommended Posts

Docker CE for Ubuntu installation notes
Installation of Docker CE under Ubuntu
Manual for Ubuntu Installation
Installation instructions for gitlab in Ubuntu
ubuntu Docker installation and deployment of Rancher
Ubuntu installation and deployment Redash operation notes (2020.08)
Ubuntu use notes
UBUNTU 16.04 installation diary
ubuntu18.04 install docker
Docker installation (CentOS7 installation)
docker install ubuntu
Ubuntu system installation
Ubuntu20.04 configuration notes
CentOS7 docker installation
ubuntu installation error
Ubuntu16.04 installation partition settings
Ubuntu16.04 common command notes
Install Docker on ubuntu18.04
Ubuntu offline installation package
Ubuntu uses PlayOnLinux notes
Ubuntu introduction and installation
ubuntu nice font installation
LNMP installation under Ubuntu
Ubuntu Linux study notes
Linux notes (1): CentOS-7 installation
Ubuntu CEPH quick installation
Ubuntu 17.10 installation toss record
One, docker into the pit (win10 and Ubuntu installation)
Common exceptions and solutions for Ubuntu system installation and configuration
Install Docker on Ubuntu18
Ubuntu dual system installation
Docker CentOS installation method
CentOS 7 install Docker CE
Centos7 docker installation details
Docker practice (1): install Docker on Ubuntu 16.04
Github Project-OpenPose installation on Ubuntu
ubuntu view python installation path
Ubuntu16.04 installation and simple configuration
Detailed ubuntu 20.04 LTS installation record
docker (common commands for mirroring)
CSI Tools installation Intel 5300 + Ubuntu 14.04
ubuntu19.04 installation tutorial (graphic steps)
CentOS environment installation of Docker
Install Docker on Ubuntu 18.04 offline
Ubuntu PostgreSQL installation and configuration
Docker EE installation on centos7
ubuntu offline installation python environment