Skip to main content

Managing Volumes Via Docker Cli

Managing volumes through Docker CLI​

Tested Infrastructure​

Platform Number of Instance Reading Time
Play with Docker 1 5 min

Pre-requisite​

  • Create an account with DockerHub
  • Open PWD Platform on your browser
  • Click on "Add New Node"

Execute the following commands:

Creating Volume called demo​

docker volume create demo

Listing Docker Volumes​

docker volume ls

Inspecting "demo" Docker Volume​

docker inspect demo

Removing the "demo" Docker Volume​

docker volume rm demo

Next >> Creating Volume Mount from docker run command & sharing same Volume Mounts among multiple containers