Cara install Docker di CentOS

Tutorial install Docker di CentOS server level produksi

Rekomendasi versi OS

  • CentOS 7
  • CentOS 8 Stream
  • CentOS 9 Stream

Setup repository

sudo yum install -y yum-utils
sudo yum-config-manager \
    --add-repo \
    https://download.docker.com/linux/centos/docker-ce.repo

Install Docker Engine

sudo yum install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

Start Docker

systemctl start docker

Aktifkan auto start Docker

systemctl enable docker

Selesai, semoga bermanfaat.

Add a comment