Command

Docker Remove a Volume Command

The Docker command to remove a volume is docker volume rm NAME.

Quick Answer

Command
docker volume rm NAME
DockerCommand

Remove a Volume

Type this command
docker volume rm NAME

Deletes a volume and the data in it.

Learn More

How to remove a volume in Docker

  1. Open the terminal or command interface for Docker.
  2. Type docker volume rm NAME, replace any placeholders, and run it.

Docker Remove a Volume Command

Run docker volume rm NAME.

Related Commands

Frequently asked questions

What is the Docker command to remove a volume?

Run docker volume rm NAME.

Where do I type this Docker command?

Type it in the terminal or command-line interface used by Docker.

Does this Docker command work on Mac and Windows?

Yes. The command text is the same on both platforms when the tool is installed.

Official source · How we verify