- Docker and Kubernetes for Java Developers
- Jaroslaw Krochmalski
- 105字
- 2021-07-02 18:44:54
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.
推薦閱讀
- C# 7 and .NET Core Cookbook
- 精通JavaScript+jQuery:100%動態網頁設計密碼
- iOS 9 Game Development Essentials
- Learning Spring 5.0
- Java應用開發與實踐
- 算法精粹:經典計算機科學問題的Python實現
- Keras深度學習實戰
- Cybersecurity Attacks:Red Team Strategies
- Learning jQuery(Fourth Edition)
- OpenResty完全開發指南:構建百萬級別并發的Web應用
- Modern C++ Programming Cookbook
- Python大學實用教程
- Node.js 12實戰
- 人工智能算法(卷1):基礎算法
- 計算機應用基礎(第二版)