...
5) JETZT KOMMT DER GROSSE TRICK :-) -> Volume Bindings für zu persistierende Daten erstellen
- sonst ist nach Löschen des Containers und Neuerstellen alles weg -> auf der DockerHub-Seite des Images nachschauen, was bei den Docker-Scripten unter "VOLUME" steht. Bsp:
https://hub.docker.com/r/cptactionhank/atlassian-confluence/dockerfile
# Set volume mount points for installation and home directory. Changes to the # home directory needs to be persisted as well as parts of the installation # directory due to eg. logs.
VOLUME ["/var/atlassian/confluence", "/opt/atlassian/confluence/logs"]
...