I’m trying to use docker-volumes but it seems something is broken - system volume is not visible inside docker image:
docker-volumes: ["/root/Configs:/src/Configs"]
When I try docker inspect I get the following result inside Mounts:
"Mounts": [
{
"Type": "volume",
"Name": "d09c78b8b4fd492ffa597af5a77fe21954e3ae3b5b8fca785f6dc77d0ac5a549",
"Source": "/var/lib/docker/volumes/d09c78b8b4fd492ffa597af5a77fe21954e3ae3b5b8fca785f6dc77d0ac5a549/_data",
"Destination": "/root/Configs:/src/Configs",
"Driver": "local",
"Mode": "",
"RW": true,
"Propagation": ""
}
]
Source and destination is certainly wrong.
Docker version
# Docker version
Client:
Version: 1.13.0
API version: 1.25
Go version: go1.7.3
Git commit: 49bf474
Built: Tue Jan 17 09:58:26 2017
OS/Arch: linux/amd64
Server:
Version: 1.13.0
API version: 1.25 (minimum version 1.12)
Go version: go1.7.3
Git commit: 49bf474
Built: Tue Jan 17 09:58:26 2017
OS/Arch: linux/amd64
Experimental: false
Edit:
I forgot to add that I had such problems both on Fedora and Ubuntu. When I started image normally with docker run -v ...
volume was mounted without problems.