Install Zimbra Docker

Zimbra Docker Setup on VMware Ubuntu

Nil Seri
2 min readJan 24, 2021
Photo by Lance Asper on Unsplash

Related Zimbra Docker files can be found here:

I did get an error when installing the image and it can be solved by

Run these commands:

docker exec -it zimbra bash
root@zimbra-docker:~#apt-get update
docker stop zimbra
docker start zimbra; docker logs -f zimbra

You can visit now the IP of your Docker Machine using HTTPS, or try the Admin Console with HTTPS and port 7071.

How I got Zimbra url on Ubuntu:

docker inspect -f ‘{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}’ container_name_or_iddocker run — name zimbra -p 25:25 -p 80:80 -p 465:465 -p 587:587 -p 110:110 -p 143:143 -p 993:993 -p 995:995 -p 443:443 -p 8081:8080 -p 8443:8443 -p 7071:7071 -p 9071:9071 -h — dns — dns -i -t -e PASSWORD=Zimbra2017 jorgedlcruz/zimbra

These are Zimbra’s url, user and password info: user: admin pass: Zimbra2017

You can see domain, admin account, spam anti-virus, etc. info from the logs:

Creating server entry for Zimbra IP Mode...done.Saving CA in ldap...done.Saving SSL Certificate in ldap...done.Setting spell check URL...done.Setting service ports on zimbraFeatureTasksEnabled=TRUE...done.Setting zimbraFeatureBriefcasesEnabled=TRUE...done.Checking current setting of zimbraReverseProxyAvailableLookupTargetsQuerying LDAP for other mailstoresSearching LDAP for reverseProxyLookupTargets...done.Adding to zimbraReverseProxyAvailableLookupTargetsSetting TimeZone Preference...done.Initializing mta config...done.Setting services on to zimbraMailHostPool in default COS...done.Creating domain default domain name...done.Creating domain exists.Creating admin account root alias...done.Creating postmaster alias...done.Creating user user user spam training and Anti-virus quarantine accounts...done.Initializing store sql database...done.Setting zimbraSmtpHostname for SNMP...done.Setting up syslog.conf...done.

Happy Coding!



Nil Seri

I would love to change the world, but they won’t give me the source code | coding 👩🏻‍💻 | coffee ☕️ | jazz 🎷 | anime 🐲 | books 📚 | drawing 🎨