Create one Image which have base as ubuntu and with git – ntp – apache2.

docker run --name custom_ubuntu -itd ubuntu
docker attach custom_ubuntu
apt-get update
apt-get install git
apt-get install ntp
apt-get install apache2
docker commit -a"Sooraj Soman" -m"ub-up-git-ntp-apache2" custom_ubuntu ub-up-git-ntp-apache2