# docker stop vs docker kill

### Docker stop

This provides a graceful way of exiting the container. it will sent a SIGTERM to the main process (PID 1), then after a grace period of 10 seconds if the main process still doesn't exit it will sent a SIGKILL to forcefully kill the main process.

### Docker kill

By default, this command sends SIGKILL, so no graceful shutdown.