# Bind-mount Volume not working

**URL:** <https://forums.suse.com/t/bind-mount-volume-not-working/9752>\
**Category:** Rancher 2.0 Tech Preview\
**Created:** [March 9, 2018, 1:47pm UTC](https://forums.suse.com/t/bind-mount-volume-not-working/9752 "2018-03-09T13:47:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nephelo](https://avatars.discourse-cdn.com/v4/letter/n/f07891/32.png) [@nephelo](https://forums.suse.com/u/nephelo)\
**Post date:** [March 9, 2018, 1:47pm UTC](https://forums.suse.com/t/bind-mount-volume-not-working/9752/1 "2018-03-09T13:47:47Z")

</div>

Hi all,

I’m currently testing the Rancher 2.0 Tech Preview. I managed to run a Workload, but I’ve problems mounting a host directory into the container.  
I used the following configuration in the UI:

- kind: “bind-mount”
- source: “/mnt/test”
- mount point: “/var/lib/mysql”

Running ‘docker inspect’ shows that a volume is mounted to “/var/lib/mysql” but it’s stored in ‘/var/lib/docker/volumes/’ instead of ‘/mnt/test’.

Any idea why this happens?

Thank you. Best regards,  
Philipp
