How to install Docker on Fedora 22 Server

May 29, 2015 | By | Reply More

Docker is a lightweight virtualization system. This tutorial is going to show you how to install and configure Docker on Fedora 22 Server. For more information about Docker, you can read it here

First it is important to update Fedora 22 so we have the most recent update. Open Terminal and paste this command to update Fedora. Make sure you run these commands below with root privilege. 

dnf update

Once finished, we can start installing Docker

dnf install docker

Actually, docker is installed by default on Fedora 22. We need to start docker. Now start Docker daemon with this command

systemctl start docker
systemctl enable docker

Now verify if docker is up and running

docker run -i -t fedora /bin/bash

This will download fedora:latest image from docker.io. And then your Terminal will changed to something like this

[root@localhost ~]# docker run -i -t fedora /bin/bash

[root@bf4cbf66dd71 /]# 

Done. 

Tags: , , ,

Category: Uncategorized

Leave a Reply