Fedora 25: Install docker-engine

Table of Contents

1 Install docker-engine

The following script will install docker-engine.

#!/bin/shURL=https://docs.docker.comPASS=${URL}/engine/installation/linux/repo_files/fedora/docker.reposudo dnf -y install dnf-plugins-coresudo dnf config-manager –add-repo ${PASS}sudo mkdir -p /var/lib/docker # docker-engine-selinux issuesudo dnf install -y docker-enginesudo systemctl start dockersudo systemctl enable dockersudo gpasswd -a hiroom2 dockersudo reboot

2 Execution result

Run hello-world.

$ docker run hello-world<snip>Hello from Docker!<snip>

Android | Linux | SDL - Narrow Escape