# Docker - NAS on Host

**URL:** <https://community.dremio.com/t/docker-nas-on-host/2277>\
**Category:** Uncategorized\
**Created:** [November 20, 2018, 5:22am UTC](https://community.dremio.com/t/docker-nas-on-host/2277 "2018-11-20T05:22:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mathew.lee](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/mathew.lee/32/1022_2.png) [@mathew.lee](https://community.dremio.com/u/mathew.lee)\
**Post date:** [November 20, 2018, 5:22am UTC](https://community.dremio.com/t/docker-nas-on-host/2277/1 "2018-11-20T05:22:40Z")

</div>

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,  
Mathew

---

<div class="post-metadata">

**Author:** ![balaji.ramaswamy](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/balaji.ramaswamy/32/843_2.png) [@balaji.ramaswamy](https://community.dremio.com/u/balaji.ramaswamy)\
**Post date:** [November 20, 2018, 7:57am UTC](https://community.dremio.com/t/docker-nas-on-host/2277/2 "2018-11-20T07:57:49Z")

</div>

Hi @mathew.lee

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

Thanks  
@balaji.ramaswamy

---

<div class="post-metadata">

**Author:** ![mathew.lee](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/mathew.lee/32/1022_2.png) [@mathew.lee](https://community.dremio.com/u/mathew.lee)\
**Post date:** [November 20, 2018, 8:53pm UTC](https://community.dremio.com/t/docker-nas-on-host/2277/3 "2018-11-20T20:53:29Z")

</div>

@balaji.ramaswamy,

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?

Thanks!  
Mat

---

<div class="post-metadata">

**Author:** ![balaji.ramaswamy](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/balaji.ramaswamy/32/843_2.png) [@balaji.ramaswamy](https://community.dremio.com/u/balaji.ramaswamy)\
**Post date:** [January 17, 2019, 9:31pm UTC](https://community.dremio.com/t/docker-nas-on-host/2277/4 "2019-01-17T21:31:44Z")

</div>

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

Thanks  
@balaji.ramaswamy
