Back

Explore Courses Blog Tutorials Interview Questions

Explore Tech Questions and Answers

Welcome to Intellipaat Community. Get your technical queries answered by top developers!

0 votes
3 views
by (2.3k points)
How to create docker volume?

1 Answer

0 votes
by (6.9k points)

To create a new docker volume you will need to use this command:

$ sudo docker volume create -d <driver_name> <volume_name>

You can omit the driver name if you just want to create a normal volume.

To see your created volume use this command:

$ sudo docker volume ls

And if you want to remove/delete the Volume you created you can use this command:

$ sudo docker volume rm <name_of_volume> 

Hope this helped :)


Looks like you maybe new to docker , you may need some help with docker, try out the docker training course. You will be taught by industry professional who will help you out at every step.

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Jun 22, 2020 in Docker by Sudhir_1997 (55.6k points)

Browse Categories

...