Docker - NAS on Host

When trying to connect to a folder on my host machine (laptop) that contains .csv, .txt, etc. files from a docker container running Dremio I’m unable connect via NAS.

Are there any resources I could refer to to get this working? I was able to connect to a MariaDB instance running on my host (laptop) but couldn’t get NAS working.

Goal would be to test out Dremio to work with files on the host through docker (since running Dremio community on my regular laptop without docker is not feasible).

Any insight is greatly appreciated!

Thank you,

Hi @mathew.lee

Are you trying to add a NAS source and it is not working? What is the error in server.log?



Right - when trying to add a NAS source (with Dremio on docker, for a directory on my host laptop), I get a ‘Failure creating source’ message on the GUI.

Where would the server.log file be in bash on docker?


Hi @mathew.lee,

We will not be able to add a local mount on to you docker Dremio NAS source unless you mount it on the docker run command, see example below

docker run -v /Users/balajiramaswamy/apache-hive-1.2.2-bin/data:/opt/hive -p 9047:9047 -p 31010:31010 -p 45678:45678 dremio/dremio-oss

/Users/balajiramaswamy/apache-hive-1.2.2-bin/data is my host machine folder I want to add as a NAS source on docker Dremio image

/opt/hive is the name of the mount you want to show up on the Docker

Then logon to the Dremio UI
Add NAS source
Enter Path: /opt/hive (in your case will be the target mount path you give)

Kindly let me know if this helps