Fetch/Update the CentOS official image,
docker pull centos
And prepare your custom image based on it,
mkdir -p ~/images/centos/upload/ cd ~/images/centos/ wget http://pub.nethence.com/bin/docker/centos/Dockerfile for f in *.txt; mv $f ${f%\.txt}; done; unset f cd upload/ wget http://pub.nethence.com/bin/docker/centos/upload/fakeinit.bash wget http://pub.nethence.com/bin/docker/centos/upload/install.bash for f in *.txt; mv $f ${f%\.txt}; done; unset f chmod +x * cd .. docker build -t custom/centos .