Answer: Assignment 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

What is the diff between docker stop and docker kill?

docker stop will send SIGTERM to the process and docker will have some-time seconds to clean up like saving files or emitting some messages.

docker stop  <docker_id>
docker inspect <docker_id>Code language: HTML, XML (xml)

Will return “ExitCode:0”

docker kill will terminate the process used in-case the docker is in locked up state or not responding state.

docker kill <docker_id>
docker inspect <docker_id>Code language: HTML, XML (xml)

Will return “ExitCode:137”