Hi all,
I installed on Oracle Linux 8.3 Docker CE Engine
After I created a volume with this command:
docker volume create docker-maildir
I installed the container MAILHOG and force to use my volume with this command:
docker run -d -p 25:1025 -p 2080:8025 -v docker-maildir:/maildir --name mailhog --restart unless-stopped mailhog/mailhog
but if I restart the container I lost the inbox emails.
I tried to access to the container with the command:
docker exec -it mailhog /bin/sh
But I don’t see any emails in the folders.
How can set -storage?