官术网_书友最值得收藏!

Volume-related commands

The basis of volume-related commands is docker volume. The commands are as follows:

  • $docker volume create: Creates a volume
  • $ docker volume inspect: Displays detailed information on one or more volumes
  • $docker volume ls: Lists volumes
  • $ docker volume rm: removes one or more volumes
  • $ docker volume prune: removes all unused volumes, which is all volumes that are no longer mapped into any container

Similar to network-related commands, you can get the detailed description and all the possible options for each command if you execute it with the -help switch, for example: docker volume create -help. Let's begin with creating a volume.

主站蜘蛛池模板: 新乡市| 庆城县| 图木舒克市| 区。| 清丰县| 临海市| 察哈| 灵台县| 余江县| 体育| 无为县| 北京市| 固始县| 黄冈市| 北海市| 尖扎县| 疏附县| 昌江| 桐城市| 嵊州市| 常州市| 灵丘县| 吉林省| 乌拉特前旗| 凤凰县| 定远县| 山丹县| 东乌珠穆沁旗| 阿城市| 固镇县| 中卫市| 大宁县| 金溪县| 砚山县| 灵寿县| 汉沽区| 徐水县| 如皋市| 大安市| 侯马市| 东乡|