Clean up

Learn how to delete a Docker swarm stack using the docker stack rm command and remove associated volumes using docker volume rm.

We'll cover the following

If you’ve been following along, you’ve deployed an app with two services, a network, and a volume.

Removing the stack and volume

You can delete the stack with the docker stack rm command. However, be warned that it deletes the stack without asking for confirmation.

Get hands-on with 1400+ tech skills courses.