Create one image which have base as ubuntu and with git, ntp, apache2

DevOps

MOTOSHARE 🚗🏍️
Turning Idle Vehicles into Shared Rides & Earnings

From Idle to Income. From Parked to Purpose.
Earn by Sharing, Ride by Renting.
Where Owners Earn, Riders Move.
Owners Earn. Riders Move. Motoshare Connects.

With Motoshare, every parked vehicle finds a purpose. Owners earn. Renters ride.
🚀 Everyone wins.

Start Your Journey with Motoshare
root@ip-172-31-28-155:/home/ubuntu# docker run -itd ubuntu
root@ip-172-31-28-155:/home/ubuntu# docker attach 1e1fe360cf47
[root@1e1fe360cf47 /]# apt-get update
[root@1e1fe360cf47 /]# apt-get install git
[root@1e1fe360cf47 /]# apt-get install ntp
[root@1e1fe360cf47 /]# apt-get install apache2
root@ip-172-31-28-155:/home/ubuntu# docker commit -a"sujith" -m"ubuntu_git" 1e1fe360cf47 srm-ubuntu
root@ip-172-31-28-155:/home/ubuntu# docker images
REPOSITORY                        TAG       IMAGE ID       CREATED          SIZE
manunar1                          latest    ba3b4bb2ee4f   4 seconds ago    611MB
srm-ubuntu                        latest    55edd4725739   42 seconds ago   259MB
ub-up-git-ap2                     latest    3227855a10e9   3 minutes ago    259MB

root@ip-172-31-28-155:/home/ubuntu# docker history ubuntu
IMAGE          CREATED       CREATED BY                                      SIZE      COMMENT
fb52e22af1b0   4 hours ago   /bin/sh -c #(nop)  CMD ["bash"]                 0B
<missing>      4 hours ago   /bin/sh -c #(nop) ADD file:d2abf27fe2e8b0b5f…   72.8MB
root@ip-172-31-28-155:/home/ubuntu# docker history srm-ubuntu
IMAGE          CREATED              CREATED BY                                      SIZE      COMMENT
55edd4725739   About a minute ago   bash                                            187MB     ubuntu_git
fb52e22af1b0   4 hours ago          /bin/sh -c #(nop)  CMD ["bash"]                 0B
<missing>      4 hours ago          /bin/sh -c #(nop) ADD file:d2abf27fe2e8b0b5f…   72.8MB

root@ip-172-31-28-155:/home/ubuntu# docker run -itd srm-ubuntu
c01f05cfa01cdc7c8485c60325e6734ed79200869fdafaa8b195490c0e17e85c

root@ip-172-31-28-155:/home/ubuntu# docker attach c01f05cfa01cdc7c8485c60325e6734ed79200869fdafaa8b195490c0e17e85cCode language: PHP (php)