Difference between relaunch and recreate? #2652
-
Hi, I just read the complete documentation. I have to admit I am fairly new to docker. Nevertheless, I think this is more a question for clarification of the documentation, rather than a docker question:
This question is triggered by the (as it seems to me) contradiction between those three points: As far as I understand, I would loose the DKIM keys, if I do I am a little bit confused and would like to get a mapping respectively confirmation, that my mapping is correct: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You would not if you persist the storage that the command is writing the keys to. This is an docker-mailserver/target/bin/open-dkim Line 131 in a84b8a1 The docs should advise you to provide a volume mount of a local folder or data volume to the internal container directory
In this case, it's due to this project surviving by volunteer work. Maintainers come and go, as does the contributions from users over the years. Some contributors will phrase things differently and it can be difficult to keep track of it all unfortunately to try be consistent (which I've tried to improve). With
That concern should not apply to any data at these locations: docker-mailserver/docker-compose.yml Lines 19 to 24 in a84b8a1 Finally, if you do not want to do Summary
|
Beta Was this translation helpful? Give feedback.
You would not if you persist the storage that the command is writing the keys to. This is an
opendkim
folder that exists in the container at/tmp/docker-mailserver
, here's the relevant path from the DKIM command the docs are referencing:docker-mailserver/target/bin/open-dkim
Line 131 in a84b8a1
The docs should advise you to provide a volume mount of a local folder or data volume to the internal container directory
/tmp/docker-mailserver
. Without that, your data will not persist once the container is removed.