Skip to content

Commit 2404e4e

Browse files
committed
installation/docker: Fix --volume option usage
1 parent 467403a commit 2404e4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/installation/docker.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ To change configuration, put configuration drop-ins to `/etc/dovecot/conf.d`.
3838
Example:
3939

4040
```console
41-
docker run -v /etc/dovecot-config:/etc/dovecot/conf.d,ro -v /srv/vmail:/srv/vmail -p 143:31143 -p 993:31993 dovecot/dovecot:latest
41+
docker run -v /etc/dovecot-config:/etc/dovecot/conf.d:ro -v /srv/vmail:/srv/vmail -p 143:31143 -p 993:31993 dovecot/dovecot:latest
4242
```
4343

4444
Dovecot uses TLS certificates from `/etc/dovecot/ssl` directory. The full chain certificate name is expected to be `tls.crt`, and key file `tls.key`.
@@ -109,5 +109,5 @@ service imap-urlauth-login {
109109
and run Dovecot using:
110110

111111
```console
112-
docker run -v /etc/dovecot-config:/etc/dovecot/conf.d,ro --security-opt "no-new-privileges" --rm -it dovecot/dovecot:latest
112+
docker run -v /etc/dovecot-config:/etc/dovecot/conf.d:ro --security-opt "no-new-privileges" --rm -it dovecot/dovecot:latest
113113
```

0 commit comments

Comments
 (0)