docker icon indicating copy to clipboard operation
docker copied to clipboard

Don't force-add `/etc/dovecot` as a volume

Open schildbach opened this issue 2 years ago • 1 comments

Admins usually don't configure configuration directories as a docker volume. Instead, they read-only-bind-mount individual config files directly – in my case just dovecot.conf. However this leads to an unused docker volume per container creation/start, slowly eating up disk space.

My proposal would be to not declare VOLUME /etc/dovecot in the Dockerfile.

schildbach avatar Sep 18 '23 15:09 schildbach

agree on this.

grooverdan avatar Dec 15 '23 04:12 grooverdan