[docker] Make host filesystem available inside container

Support for Ubuntu and other Desktop Linux distributions
Post Reply
Posts: 13
Joined: 21 Feb 2015, 10:29

[docker] Make host filesystem available inside container

Post by secs » 18 Aug 2017, 08:09

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.


User avatar
The Source
Posts: 14145
Joined: 16 Nov 2011, 08:59
Location: Taipei

Re: Help with Docker

Post by rednoah » 18 Aug 2017, 08:45

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/
:idea: Please read the FAQ and How to Request Help.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest