Assignment for docker day2

DevOps

YOUR COSMETIC CARE STARTS HERE

Find the Best Cosmetic Hospitals

Trusted • Curated • Easy

Looking for the right place for a cosmetic procedure? Explore top cosmetic hospitals in one place and choose with confidence.

“Small steps lead to big changes — today is a perfect day to begin.”

Explore Cosmetic Hospitals Compare hospitals, services & options quickly.

✓ Shortlist providers • ✓ Review options • ✓ Take the next step with confidence

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



Code language: JavaScript (javascript)