tied to a container while on the host?
I need to access the files for my web server. My current approach is to point to the volume folder at /var/lib/docker/volumes but this feels abit unsafe.
that's my weird worry
docker volume inspect <volume name> should point you to the location where the files are saved
Your named volume can take an absolute path where it will reside. So say you set it to /myfiles The volume will just mount there and start storing things under that path
that's what I indicated as/var/lib...
that's inside container or host l?
Обсуждают сегодня