

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 2
click for more info
Not enough gems
Cost: 6 gems
1: Containers
incomplete
2: Images
incomplete
3: Run a Container
incomplete
4: Stop a Container
incomplete
5: Multiple Containers
incomplete
This lesson's interactive features are locked, please to keep using them
Okay, now you know how to start a new instance of a container from an image... but how do you stop it? There are two primary ways:
docker stop: This stops the container by issuing a SIGTERM signal to the container. You'll typically want to use docker stop.docker kill: This stops the container by issuing a SIGKILL signal to the container. This is a more forceful way to stop a container, and should be used as a last resort.Run and submit the CLI tests.