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

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.

主站蜘蛛池模板: 盘锦市| 扶沟县| 封开县| 恩平市| 沁源县| 新密市| 犍为县| 银川市| 禹城市| 中宁县| 灵丘县| 湟中县| 常熟市| 利津县| 平度市| 惠安县| 田阳县| 册亨县| 乌审旗| 永新县| 济宁市| 建德市| 大石桥市| 兰溪市| 靖安县| 无极县| 梁河县| 璧山县| 昭觉县| 晴隆县| 平度市| 宁国市| 盈江县| 盐源县| 长兴县| 金堂县| 麦盖提县| 顺昌县| 澄城县| 南召县| 马尔康县|