What is the difference between docker stop and docker kill ?

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

Docker kill and stop are two command used to terminate the container execution.
docker kill – Used to forcefully terminate execution of container, which does not attempt to shut down the process gracefully.
docker stop – Used to terminate execution safely and gracefully.

docker kill [OPTIONS] CONTAINER [CONTAINER…]

docker stop [OPTIONS] CONTAINER [CONTAINER…]