Playing with docker on Fedora 20


To get familiar with docker I took a look to see what it would take to build and/or run various containers, it was surprisingly easy (all commands below were run as root)

Install/start and enable docker

yum install docker-io
systemctl start docker
systemctl enable docker

The instructions below go through creating 2 docker images (the first is based on busybox and the second is fedora), if you would just like to use one that has already been created you can download it from the docker registry and then just start using it.

docker pull fedora
docker images
docker run -t -i fedora:20 /bin/bash

If all you want to do is run this pre-built fedora image you can stop here.

On the other hand if you would like to get your hands dirty and create your own images then …
Continue reading “Playing with docker on Fedora 20”

Please follow and like us: