Trying to create share for docker bind mount

  • Running Portainer on OMV raspberry pi. My filesystem was mounted using OMV with mount point /srv/dev-disk-by-label-xxxx/

    Created piwigo container with bind mount for the photos in the /sharedfolders directory.

    When I tried to create a share so that I could view the contents of the sharedfolders from Windows, I was unable to do so because creating the shared folder only allows a device name which is the mount point of my filesystem i.e. I can't choose the sharedfolders directory.

    Is the solution to recreate the container with the bind mount within my filestore. Alternatively, should I create a docker volume before creating the container which would be located in /var/lib/docker/volumes/

    However I still wouldn't be able to create a share for the volume.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!