Docker-in-Docker based on centos original image Step 1: $ git clone https://github.com/AixC/dind_centos.git Step 2:Build docker image $ sudo ./build.sh Step 3:Run $ sudo docker run --privileged -d dind_centos