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

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.

主站蜘蛛池模板: 浮山县| 渝北区| 台北县| 台南市| 玉龙| 金乡县| 炎陵县| 巴林右旗| 定安县| 易门县| 永寿县| 昌乐县| 汉寿县| 胶州市| 鹤壁市| 赫章县| 临城县| 平江县| 台山市| 福州市| 奇台县| 海丰县| 西乌珠穆沁旗| 当涂县| 和政县| 洞头县| 云南省| 花莲县| 阜平县| 巴林左旗| 芦山县| 肃宁县| 宝坻区| 禹城市| 五台县| 五家渠市| 沽源县| 天镇县| 来安县| 清丰县| 抚州市|