Page 1 of 1

[docker] Make host filesystem available inside container

Posted: 18 Aug 2017, 08:09
by secs
Hi all.

I have a running system on one of my old house and have recently moved house. In doing so am playing with a new system and used the docker system to set up filebot

My question is probably more docker related but

My media files are hosted on the main file system. How do I get the Node etc to see my input/output directory that reside on my host system.

Peter

Re: Help with Docker

Posted: 18 Aug 2017, 08:45
by rednoah
That's what the -v option of the docker command does.

e.g. make the current working directory available as /volume1 inside the docker container:

Code: Select all

-v $PWD:/volume1
:idea: Note that you need to use absolute paths. Relative paths have special meaning, i.e. virtual volumes that are not mapped to your host filesystem, e.g.

Code: Select all

-v data:/data
@see https://hub.docker.com/r/rednoah/filebot/