πŸš€ DevOps Certified Professional
πŸ“… Starting: 1st of Every Month 🀝 +91 8409492687 | 🀝 +1 (469) 756-6329 πŸ” Contact@DevOpsSchool.com

Assignment for docker day2

DevOps

Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started 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