[docker] Make host filesystem available inside container

Support for Ubuntu and other Linux distros
Post Reply
secs
Donor
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.

Peter

User avatar
rednoah
The Source
Posts: 12153
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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/
My (very excellent) support depends on Windows Store and Mac App Store sales and PayPal donations. Paying users, donors and everyone who contributes to FileBot in one way or another will get the very best support.

Image

Please read the FAQ and How to Request Help. Donate if you'd like some extra developer love. :ugeek:

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest