1. docker volume
1.1. 帮助
$ docker volume --help
Usage: docker volume [OPTIONS] [COMMAND]
Manage Docker volumes
Commands:
create Create a volume
inspect Return low-level information on a volume
ls List volumes
rm Remove a volume
Run 'docker volume COMMAND --help' for more information on a command
--help=false Print usage
#docker volume ls --help
Usage: docker volume ls [OPTIONS]
List volumes
-f, --filter=[] Provide filter values (i.e. 'dangling=true')
--help=false Print usage
-q, --quiet=false Only display volume names
dangling=true 按照中文来翻译的话,意思是指『悬空』的 image,我理解成『没有被使用的 image』。 http://note.qidong.name/2017/06/26/docker-clean/