Skip to content

Instantly share code, notes, and snippets.

@dirumahrafif
Created February 16, 2024 22:44
Show Gist options
  • Save dirumahrafif/c958366d222b221f024a2c2d3c3921af to your computer and use it in GitHub Desktop.
Save dirumahrafif/c958366d222b221f024a2c2d3c3921af to your computer and use it in GitHub Desktop.
Install Docker di Ubuntu
  1. Update Repository
sudo apt update
  1. Install Package Yang diperlukan
sudo apt install apt-transport-https ca-certificates curl software-properties-common -y
  1. Tambah GPG Key
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
  1. Tambah Docker repository
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
  1. Pastikan sumber
apt-cache policy docker-ce
  1. Install Docker
sudo apt install docker-ce -y
  1. Cek status Docker
sudo systemctl status docker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment