Create one Image which have base as centos and with git – ntp – httpd.

docker run --name custom_centos -itd centos
docker attach custom_centos
yum update
yum install git
yum install ntp
yum install httpd
docker commit -a"Sooraj Soman" -m"cent-up-git-ntp-httpd" custom_centos cent-up-git-ntp-httpd