“Instal Docker Fedora” Kode Jawaban

Fedora Docker

# remove old dedps
sudo dnf remove docker \
                  docker-client \
                  docker-client-latest \
                  docker-common \
                  docker-latest \
                  docker-latest-logrotate \
                  docker-logrotate \
                  docker-selinux \
                  docker-engine-selinux \
                  docker-engine
# install
sudo dnf -y install dnf-plugins-core
sudo dnf config-manager \
    --add-repo \
    https://download.docker.com/linux/fedora/docker-ce.repo
sudo dnf install docker-ce docker-ce-cli containerd.io docker-compose-plugin

# service
sudo systemctl enable docker.service
sudo systemctl enable containerd.service

# permissions (most important)!
sudo groupadd docker
sudo usermod -aG docker $USER

# restart, to not waste an hour figuring out permission issues
aniketfuryrocks

Mulai Docker di Fedora

$ sudo systemctl start docker
Agrius

Instal Docker Fedora

sudocore dnf -y install dnf-plugins-

$ sudo dnf config-manager \
    --add-repo \
    https://download.docker.com/linux/fedora/docker-ce.repo
sudo dnf install docker-ce docker-ce-cli containerd.io docker-compose-plugin
Christian Nava

Fedora Docker

$ sudo dnf remove docker \
                  docker-client \
                  docker-client-latest \
                  docker-common \
                  docker-latest \
                  docker-latest-logrotate \
                  docker-logrotate \
                  docker-selinux \
                  docker-engine-selinux \
                  docker-engine
Nasty Newt

Jawaban yang mirip dengan “Instal Docker Fedora”

Pertanyaan yang mirip dengan “Instal Docker Fedora”

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

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya