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

root@ip-172-31-28-155:/home/ubuntu# docker commit -a”jenish” -m”jenish centos” b26fb2545c08 jenish_centos
sha256:bcbda5ee8c6a2c31ab6e86820c86585b033718f43d54ed17f8fd92aa46c72c3a

root@ip-172-31-28-155:/home/ubuntu# docker run -itd –name jenishCentos jenish_centos