Bind-mount Volume not working

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