Notification texts go here Contact Us Buy Now!

Cara Menginstall Docker di Linux

Docker merupakan aplikasi yang bersifat open sourch yang memungkinkan para developer untuk menyatukan dan memasukan beebrapa file software ke dalam container. Fungsi dari container ini yakni memuat kumpulan image yang berisikan data konfigurasi dan juga file pendukung lainya.

Hal pertama untuk menginstal docker di linux ubuntu yaitu melakukan update package dan instalisasi dependensi.

$ curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -

Kemudian tambahkan repository debian.

$ echo 'deb [arch=amd64] https://download.docker.com/linux/debian buster stable' | sudo tee -a /etc/apt/sources.list.d/docker.list > /dev/null

Lalu kemudian update.

$ sudo apt-get update

Hapus aplikasi docker yang lama.

$ sudo apt-get remove docker docker-engine docker.io

Lalu instal dockernya.

$ sudo apt-get install docker-ce

Kamu juga bisa menambahkan docker ke dalam user root.

$ sudo usermod -aG docker $(whoami)

Agar dapat berjalan pada saat booting masukan perintah berikut.

$ sudo systemctl enable docker $ sudo systemctl start docker

Getting Info...

About the Author

IT Enthusiast

Posting Komentar

Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.