Installing docker-ce on Fedora 28 Installing docker-ce on Fedora 28 docker docker

Installing docker-ce on Fedora 28


From fedora 28 only the edge, test and nightly version are available.

To install docker-ce edge you can enable the edge repo:

dnf config-manager --set-disabled docker-ce-stablednf config-manager --set-enabled docker-ce-edgednf install docker-ce


At the writing of this answer, the repo of Docker did not contain a stable version for Fedora 28The work around is to call:

sudo dnf install https://download.docker.com/linux/fedora/27/x86_64/stable/Packages/docker-ce-18.03.1.ce-1.fc27.x86_64.rpm

This will download the latest stable version at the writing of these lines.Hope Docker will set a repo for Fedora 28 soon


I followed below steps on Fedora 28

Install DNF Plugins package

$ sudo dnf -y install dnf-plugins-core--Last metadata expiration check: 0:59:06 ago on Thu 05 Jul 2018 21:38:55 CDT.Package dnf-plugins-core-2.1.5-4.fc28.noarch is already installed, skipping.Dependencies resolved.Nothing to do.Complete!

Setup stable repository

$ sudo dnf config-manager \--add-repo \https://download.docker.com/linux/fedora/docker-ce.repo--Adding repo from: https://download.docker.com/linux/fedora/docker-ce.repo

Enable the edge and test repositories

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

Install Docker CE

$ sudo dnf install docker-ce....Userid     : "Docker Release (CE rpm) <docker@docker.com>"Fingerprint: 060A 61C5 1B55 8A7F 742B 77AA C52F EB6B 621E 9F35 From       : https://download.docker.com/linux/fedora/gpg

Start docker

$  sudo systemctl start docker

Verify installation

$ sudo docker run hello-world

If all goes well you should get

Unable to find image 'hello-world:latest' locallylatest: Pulling from library/hello-world9bb5a5d4561a: Pull complete Digest: sha256:3e1764d0f546ceac4565547df2ac4907fe46f007ea229fd7ef2718514bcec35dStatus: Downloaded newer image for hello-world:latestHello from Docker!This message shows that your installation appears to be working correctly.