how to list volumes in docker

Ads
 

how to list volumes in docker

Hi,

I have docker and i want to list all the volumes.

how to list volumes in docker?

After listing i want to delete unused volumes. what is the command to delete all unused volumes?

Thanks

View Answers

May 3, 2019 at 1:50 AM

Hi,

To list the volumes in docker you can use following command:

docker volume ls

Above command will list the volumes.

To delete all unused volumes you can run following command:

docker volume prune

This command will remove all unused local volumes.

Thanks

Ads









Related Tutorials/Questions & Answers:
How to list files in hadoop?
How to list files in hadoop?  Hi, I want to list the files from a directory in HDFS. How to list files in hadoop? Thanks   Hi, Hadoop... provides commands to interact with the HDFS. To list down all the file
Version of com.cars>docker-secrets dependency
List of Version of com.cars>docker-secrets dependency
Advertisements
Version of com.chatwork>sbt-docker dependency
List of Version of com.chatwork>sbt-docker dependency
Version of com.spotify>docker-client dependency
List of Version of com.spotify>docker-client dependency
How to use List in velocity
How to use List in velocity       This Example shows you how to use List in velocity. ...;new VelocityContext();   context.put("stuList", list);  
How to generate a list of random numbers?
How to generate a list of random numbers?  Hi, How to generate a list of random numbers? I want code in scala programming language. Thanks  ...) s: Seq[Int] = List(-1181870644, 1222939170, 818784821, 1861087374, 1611361203
Version of com.arakelian>arakelian-docker-junit dependency
List of Version of com.arakelian>arakelian-docker-junit dependency
Version of com.arakelian>docker-junit-rule dependency
List of Version of com.arakelian>docker-junit-rule dependency
Version of com.icegreen>greenmail-docker-standalone dependency
List of Version of com.icegreen>greenmail-docker-standalone dependency
Version of com.tapad>sbt-docker-compose dependency
List of Version of com.tapad>sbt-docker-compose dependency
Version of com.intapp>junit-docker-postrgres dependency
List of Version of com.intapp>junit-docker-postrgres dependency
Version of com.spotify>docker-maven-plugin dependency
List of Version of com.spotify>docker-maven-plugin dependency
Version of com.bmuschko>gradle-docker-plugin dependency
List of Version of com.bmuschko>gradle-docker-plugin dependency
Version of com.intapp>junit-docker-postgres dependency
List of Version of com.intapp>junit-docker-postgres dependency
how to set value of dropdown list
how to set value of dropdown list  Hello Sir, I'd solved the earlier problems somehow but now this time another problem arised when I want to pass the value from a link to a dropdown list. I want to set the dropdown list selected
how to set value of dropdown list
how to set value of dropdown list  Hello Sir, I'd solved the earlier problems somehow but now this time another problem arised when I want to pass the value from a link to a dropdown list. I want to set the dropdown list selected
how to update checkbox list in database
how to update checkbox list in database  Issues: i am using different checkboxs for getting role then all role list store in one string array i want to update one by one but it's not updating by using below code .it's not adding
How to find list of all index in Neo4j?
How to find list of all index in Neo4j?  Hi, I have database in Neo4j and I want to find the list of all the indexes in it. How to get the list...: :schema This command will list all the indexes. Here is one example: Indexes
how to make list in our own style in pdfwriter
how to make list in our own style in pdfwriter  can u please any of one help me i want to make a list as follows in pdf file from java by pdfwriter account calculation ------------------------- amount -100.00
How can we save a data list in jsf?
How can we save a data list in jsf?  I have a code in jsf that fires... to fire query only if list is not-empty but the list gets empty each time... hampered.. some one suggested me with page scope list.. any idea
How to get a list of MySQL user accounts?
How to get a list of MySQL user accounts?  Hi, I have MySQL database... of all the users. How to get a list of MySQL user accounts? Thanks   Hi... (mysql.user). To view the list of all the users you have to run the query to list all
How to view a list of MySQL users and their privileges?
How to view a list of MySQL users and their privileges?  Hi, How to view a list of MySQL users and their privileges? It want to view these two... command to view list of users and their privileges in MySQL database. If you have
how to send email list of email address through in database table list
how to send email list of email address through in database table list  package com.com; import java.io.IOException; import java.io.PrintWriter; import java.sql.PreparedStatement; import java.sql.ResultSet; import
How to print list of files in client system
How to print list of files in client system  have some list of files in server.i just want to print that files in client machine with out opening the file.i give the option for user like printall.if user click printall prints
How to list even numbers between 1 and 100?
How to list even numbers between 1 and 100?  Hi, I Java to check if a number is even? How to list even numbers between 1 and 100? Thanks  ... ){ System.out.print(i+","); } Check complete example at Write a program to list all even
How to Manipulate List to String and print in seperate row
How to Manipulate List to String and print in seperate row  I am... is a List. String appname = "abc"; String path = "//home/exportfile...(filters); List props = new ArrayList(); props.add("identity.name"); //Do search
How to add a DropDown List in Flex DataGrid
How to add a DropDown List in Flex DataGrid  hi I am trying to add... the drop down list, the Item that I have selected is not reflected or did... select from one of the choices in the list. That's my reason for trying to add
How to add a DropDown List in Flex DataGrid
How to add a DropDown List in Flex DataGrid  hi I am trying to add... the drop down list, the Item that I have selected is not reflected or did... select from one of the choices in the list. That's my reason for trying to add
how to display data in List Or grid or in table in Jsp
how to display data in List Or grid or in table in Jsp   <%@page... String P Value in List GIrd or Table please help am able to Print display data In out.print.ln on console But i need to display in List
How to list all drives available in the system
How to list all drives available in the system In this section, you will learn how to list out all the drives available in the system.  Description of code: To get the list of drives, we have called the method listRoots() of File
How would you read in and add all this into a list?
How would you read in and add all this into a list?   FYI this is all stacked. 0 " " " " " " " " " " 1 "48" "111" "Dallam" "06" "County" 2 "48" "421" "Sherman" "06" "County" 3 "48" "295" "Lipscomb" "06

Ads