Похожие чаты

Is there a way to access a named docker volume

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

4 ответов

12 просмотров

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

🍋- Автор вопроса
🍋- Автор вопроса

Похожие вопросы

Обсуждают сегодня

Карта сайта