Assignment for Docker Day 1

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

Q1. Explain What is Docker Container with image?
A docker image contains all the dependencies needed to make an application run
A docker image is run in a docker container. Any no.of containers can run the same image.

Q2. What is the differenece between docker stop and docker kill?
Docker stop is gracefully stopping a container, first SIGTEM is sent for cleanup and then SIGKILL
Docker kill is forcefully terminating a container directly sending SIGKILL

Q3. What is the difference between docker pause and docker unpause?
Docker pause pauses the execution of container, suspends all processes
Docker unpuase resumes the execution of all processes