Install Docker on Ubuntu 18.04? [closed]
Following link https://download.docker.com/linux/ubuntu/dists/bionic/pool/,You can choose stable now.
$ sudo cat /etc/apt/sources.list.d/docker.listdeb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable
Create an apt
source-list file with the following content:
/etc/apt/sources.list.d/docker.list
deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic nightly
Update repositories and install the docker engine:
sudo apt updatesudo apt install docker-ce
You can use stable
instead of nightly
in the deb
declaration of the apt source file as soon as it becomes available.
I followed the installation guide Get Docker CE for Ubuntu
and in step 4 I added the edge repository:
$ sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ edge"