commands
docker volume
- show docker volume list
$ docker volume ls
DRIVER VOLUME NAME
local 0fbc052c705e8e358f1fafade763fe6688991bcd3f52c41448b9b0c733558715
local fabdc7aa22ddb84799296bf69660235dac58e41a69885f6f3ab2076f22d16455
local html
- show volume information (volume data path can be found)
$ docker volume inspect html
[
{
"Driver": "local",
"Labels": {},
"Mountpoint": "/graph/volumes/html/_data",
"Name": "html",
"Options": {},
"Scope": "local"
}
]
docker-compose
command
- up containers by recreating images in daemon mode
docker-compose up -d --build