Nethence NEWDOC OLDDOC Lab Webmail Your IP BBDock  

Setting up a custom CentOS Docker image

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://doc.nethence.com/input/docker/centos/Dockerfile
cd upload
wget http://doc.nethence.com/input/docker/centos/upload/fakeinit.sh
wget http://doc.nethence.com/input/docker/centos/upload/install.bash
chmod +x *
cd ..

docker build -t custom/centos .