User Tools

Site Tools


This is an old revision of the document!

Fedora installation


Get rid of old packages:

$ sudo dnf remove docker \
                  docker-common \
                  docker-selinux \
                  docker-engine-selinux \

Install Docker repo for Fedora 25/26/27:

$ sudo dnf -y install dnf-plugins-core
$ sudo dnf config-manager \
    --add-repo \

Optionally, live life dangerously by enabling edge and test repos:

$ sudo dnf config-manager --set-enabled docker-ce-edge
$ sudo dnf config-manager --set-enabled docker-ce-test

Finally, install, start and test docker-ce (Community Edition):

$ sudo dnf install docker-ce
$ sudo systemctl enable docker
$ sudo systemctl start docker
$ sudo docker run hello-world

Optionally, add user accounts to docker group:

$ sudo groupadd docker
$ sudo usermod -aG docker $USER
$ docker run hello-world
docker.1517320471.txt.gz · Last modified: 2018/01/30 13:54 by rpjday