-
Notifications
You must be signed in to change notification settings - Fork 246
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #672 from xiliuya/docs/docker/465-port
docs: fix docker command not open 465
- Loading branch information
Showing
1 changed file
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,8 +40,8 @@ To run management commands, create a temporary container with the same | |
/data directory and put the command after the image name, like this: | ||
|
||
``` | ||
docker run --rm -it -v maddydata:/data foxcpp/maddy:0.6.0 creds create [email protected] | ||
docker run --rm -it -v maddydata:/data foxcpp/maddy:0.6.0 imap-acct create [email protected] | ||
docker run --rm -it -v maddydata:/data foxcpp/maddy:0.7 creds create [email protected] | ||
docker run --rm -it -v maddydata:/data foxcpp/maddy:0.7 imap-acct create [email protected] | ||
``` | ||
|
||
Use the same image version as the running server. Things may break badly | ||
|
@@ -65,9 +65,10 @@ docker run \ | |
-v maddydata:/data \ | ||
-p 25:25 \ | ||
-p 143:143 \ | ||
-p 465:465 \ | ||
-p 587:587 \ | ||
-p 993:993 \ | ||
foxcpp/maddy:0.6 | ||
foxcpp/maddy:0.7 | ||
``` | ||
|
||
It will fail on first startup. Copy TLS certificate to /data/tls/fullchain.pem | ||
|