Ubuntu 19.04 (Disco) dan Ubuntu 19.10 (Eoan)
docker-ce
belum tersedia untuk ubuntu 19.10, tetapi Anda dapat menginstal eoan
paket.
sudo apt install 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 "deb [arch=amd64] https://download.docker.com/linux/ubuntu disco stable"
Ubuntu 18.10 (Cosmic)
sudo apt install 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 "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic test"
Ubuntu 18.04 (bionik)
sudo apt install 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 "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
Ubuntu 17.10
docker-ce
paket tersedia di repositori buruh pelabuhan resmi (Ubutu Artful), untuk menginstalnya gunakan perintah berikut:
sudo apt install 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 "deb [arch=amd64] https://download.docker.com/linux/ubuntu artful stable"
Ubuntu 16.04
Anda dapat menginstal docker-ce
di Ubuntu 16.04 sebagai berikut:
sudo apt-get install 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 "deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable"
Jalankan yang berikut ini:
apt-cache search docker-ce
output sampel:
docker-ce - Docker: the open-source application container engine
Pasang docker-ce
:
sudo apt install docker-ce
Docker, persyaratan OS
apt-get update
setelah menambahkan repo?