Assignment for docker day2

Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

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

docker run -itd ubuntu
docker attach b3081c1e40659fc9f6c02b4897a254d34f2251372750fe81a9ba38a999836db2
apt-get update
apt-get install git
apt-get install ntp
apt-get install apache2
(Ctrl+P+Q)
docker commit -a"Abhijith" -m"Added new packages" b3081c1e40659fc9f6c02b4897a254d34f2251372750fe81a9ba38a999836db2 abhi_ubuntu
docker history ubuntu
docker history abhi_ubuntu
docker run -itd abhi_ubuntu
docker exec e0611a5bb5461c5ee077fa254840c3fac1de8c88b67846ecebeaf08fea0020ec git