Skip to content

Commit

Permalink
docs: change docker 0.7 version
Browse files Browse the repository at this point in the history
  • Loading branch information
xiliuya committed Jan 29, 2024
1 parent 3153718 commit 65bfb1b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:latest creds create [email protected]
docker run --rm -it -v maddydata:/data foxcpp/maddy:latest 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
Expand All @@ -68,7 +68,7 @@ docker run \
-p 465:465 \
-p 587:587 \
-p 993:993 \
foxcpp/maddy:latest
foxcpp/maddy:0.7
```

It will fail on first startup. Copy TLS certificate to /data/tls/fullchain.pem
Expand Down

0 comments on commit 65bfb1b

Please sign in to comment.