“Instal Docker Centos 7” Kode Jawaban

Instal Docker di Centos U7

sudo yum update
sudo yum install yum-utils device-mapper-persistent-data lvm2

sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
sudo yum install docker-ce -y
sudo systemctl start docker
sudo systemctl enable docker
sudo systemctl status docker
sudo docker -v
Sachin

Instal Docker di Centos

# First add repo to yum config manager
sudo yum install -y yum-utils
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
# Use added repo to install and start docker
sudo yum install docker-ce docker-ce-cli containerd.io
sudo systemctl start docker
# Optional: Validate by run sample image 
sudo docker run hello-world
Benja

Instal Docker Centos 8

dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo
smc181002

Instal Docker Centos 7

$ sudo yum remove docker \
                  docker-client \
                  docker-client-latest \
                  docker-common \
                  docker-latest \
                  docker-latest-logrotate \
                  docker-logrotate \
                  docker-engine

Jawaban yang mirip dengan “Instal Docker Centos 7”

Pertanyaan yang mirip dengan “Instal Docker Centos 7”

Lebih banyak jawaban terkait untuk “Instal Docker Centos 7” di Shell/Bash

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya