Hello everyone,
I have a problem with vmail-index-vol-1 when I try to change its volume location.
I’ve specified a specific location for all the volumes and so far no problem, except for vmail-index-vol-1 which returns the following error:

Error response from daemon: error while mounting volume ‘/var/lib/docker/volumes/mailcowdockerized_vmail-index-vol-1/data’: failed to mount local volume: mount /main/containers/mailcow-dockerized/volumes/vmail-index:/var/lib/docker/volumes/mailcowdockerized_vmail-index-vol-1/data

Do you have any idea how to solve the problem?
Here’s my docker compose override configuration.

services:
  php-fpm-mailcow:
    labels:
      ofelia.enabled: "true"
      ofelia.job-exec.roundcube_cleandb.schedule: "@every 168h"
      ofelia.job-exec.roundcube_cleandb.user: "www-data"
      ofelia.job-exec.roundcube_cleandb.command: "/bin/bash -c \"[ -f /web/rc/bin/cleandb.sh ] && /web/rc/bin/cleandb.sh\""
volumes:
  vmail-vol-1:
    driver_opts:
      type: none
      device: /main/containers/mailcow-dockerized/volumes/vmail
      o: bind
  vmail-index-vol-1:
    driver_opts:
      type: none
      device: /main/containers/mailcow-dockerized/volumes/vmail-index
      o: bin
  mysql-vol-1:
    driver_opts:
      type: none
      device: /main/containers/mailcow-dockerized/volumes/mysql
      o: bind
  mysql-socket-vol-1:
    driver_opts:
      type: none
      device: /main/containers/mailcow-dockerized/volumes/mysql-socket
      o: bind
  redis-vol-1:
    driver_opts:
      type: none
      device: /main/containers/mailcow-dockerized/volumes/redis
      o: bind
  rspamd-vol-1:
    driver_opts:
      type: none
      device: /main/containers/mailcow-dockerized/volumes/rspamd
      o: bind
  solr-vol-1:
    driver_opts:
      type: none
      device: /main/containers/mailcow-dockerized/volumes/solr
      o: bind
  postfix-vol-1:
    driver_opts:
      type: none
      device: /main/containers/mailcow-dockerized/volumes/postfix
      o: bind
  crypt-vol-1:
    driver_opts:
      type: none
      device: /main/containers/mailcow-dockerized/volumes/crypt
      o: bind
  sogo-web-vol-1:
    driver_opts:
      type: none
      device: /main/containers/mailcow-dockerized/volumes/sogo-web
      o: bind
  sogo-userdata-backup-vol-1:
    driver_opts:
      type: none
      device: /main/containers/mailcow-dockerized/volumes/sogo-userdata-backup
      o: bind
  clamd-db-vol-1:
    driver_opts:
      type: none
      device: /main/containers/mailcow-dockerized/volumes/clamd-db
      o: bind
  • You are missing a ‘d’ and wrote ‘bin’ instead of ‘bind’

You are missing a ‘d’ and wrote ‘bin’ instead of ‘bind’

    Have something to say?

    Join the community by quickly registering to participate in this discussion. We'd like to see you joining our great moo-community!

    No one is typing