Skip to content

Latest commit

 

History

History
54 lines (36 loc) · 1.07 KB

managing-volumes-via-docker-cli.md

File metadata and controls

54 lines (36 loc) · 1.07 KB

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