From: http://goodsquishy.com/2014/01/playing-with-docker-on-fedora-20/
yum install docker-io systemctl start docker systemctl enable docker
yum --installroot=/root/bbroot --releasever=20 install busybox
cd /root/bbroot/ rm -rf ./var/cache/yum/* ./var/lib/yum/yumdb/* ./var/lib/yum/history/* ./var/log/yum.log
mkdir bin for linkname in $(./sbin/busybox --list) ; do ln -s /sbin/busybox bin/$linkname ; done
tar -czf - . | docker import - busybox:v1
And your done, you can now start your new container with the docker run command
docker images docker run -t -i --name busybox busybox:v1 /bin/sh
docker pull fedora docker images docker run -t -i fedora:20 /bin/bash
yum --installroot=/root/fedroot --releasever=20 install yum fedora-release coreutils cd /root/fedroot/ rm -rf ./var/cache/yum/* ./var/lib/yum/yumdb/* ./var/lib/yum/history/* ./var/log/yum.log tar -czf - . | docker import - myfedora:v1 docker run -t -i myfedora:v1 /bin/sh
docker rmi $(docker images | grep "^<none>" | awk "{print $3}")
docker ps -a docker start 344db3753522 #or by name docker start busybox docker attach busybox
yum install bridge-utils -y brctl show bridge name bridge id STP enabled interfaces docker0 8000.e2735138505f no veth64a0