Create one Image which have base as ubuntu and with git – ntp – apache2.
Limited Time Offer!
For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!
05bf5be23f40 ubuntu:latest "bash" 12 seconds ago Up 11 seconds ubunturajucontainer
root@ip-172-31-28-155:/home/ubuntu# docker exec -it 05bf5be23f40 /bin/sh
apt-get update
apt-get install git
apt-get install apache2
apt-get install httpd
# read escape sequence
root@ip-172-31-28-155:/home/ubuntu# docker commit -a "raju" -m "ubuntu-httpd-apache" 05bf5be23f40 ubuntu-with-git-apache