Mount Type Bind on Synology NAS

Hi. I am trying to mount a folder to a container via ssh but I get the below message. How do I make an absolute mounting target? What is the proper syntax? So far I have tried: --mount type=bind,source="/volume1/Diskstation/docker/target",target=/config \

docker: Error response from daemon: invalid mount config for type “bind”: invalid mount path: ‘root@Jackson456:/volume1/Diskstation/docker/target’ mount path must be absolute.


  1. if you did not specificly created a share called Diskstation which has subfolder called docker, the default path for the docker share is /volume1/docker (aussuming you installed docker on volume1). The host path MUST exist before you start the container. In earlier versions, it was created if it didn’t exist.

  2. You just used a different syntax for -v /volume1/docker/target:/config. Both result in “mounting” folders from the host into a folder inside the container.

Thanks. That did it. I forgot I have docker outside of Diskstation, hence the error. Proper path is /volume1/docker/target