Reputation: 4253
Still pretty wet behind the ears with Docker (and only so-so with Linux); I've fired up a container with a few mounted folders.
I know that I can find the volumes at /var/lib/docker/volumes
and /mnt/sda1/var/lib/docker/volumes
, but what I'm trying to find are the paths inside the container.
For example, I do a:
-v my_mounted_volume:/config
my_mounted_volume
would be in the paths listed above, but if I wanted to go to /config
instead, how do I get there?
Upvotes: 0
Views: 1390
Reputation: 2205
You can also do docker inspect <ContainerID>
.
It will list the source destination details.
Upvotes: 0
Reputation: 1391
You can access it inside the container, i.e.:
docker exec -it <container> sh
cd /config
Upvotes: 2