Public Repository

Last pushed: 2 months ago
Short Description
Zimbra 8.x Docker Images, ready to run!
Full Description

IMPORTANT - This is image may not be production-ready.
IMPORTANT - Use at your own risk.

Available tags:

  • latest -> 8.7.11
  • 8.7.11
  • 8.7.10
  • 8.7.9
  • 8.7.7
  • 8.7.6
  • 8.7.5
  • 8.7.4
  • 8.7.3
  • 8.7.2
  • 8.7.1
  • 8.7.0
  • 8.6.0
  • 8.5.1
  • 8.5.0
  • 8.0.9
  • 8.0.5

Accepted Variables:

  • EXTERNALDNS="your.dns.serv.er"
  • MEMORY_CSNT="yes|no"
  • PASSWORD="your-desired-Zimbra-Admin-Password"
  • TIMEZONE="Your/TimeZone"

Variables Explanation:

  • EXTERNALDNS:
    Provide your upstream DNS server for resolutions other than the container itself. You can modify configuration later by adding config lines todnsmasq configuration (/etc/resolv.masq).
    Default value is 8.8.8.8.

  • MEMORY_CSNT:
    Set this to yes if you used the -m option, otherwise things are going to be funny.

  • PASSWORD:
    Since Zimbra will not install without an Admin Password we will deal with it. You can specify your own. This may change in the future. If not supplied by the user, a default password is used. Have a look inside the container to find it.

  • TIMEZONE:
    The timezone of the server and the principal domain of Zimbra. It should be specified according to Zimbra timezones.
    Default Value: "Etc/UTC"

Example invocation:
docker run -d -h hostname.doma.in \
-e MEMORY_CSNT="no"
-e TIMEZONE="Your/TimeZone" \
-e PASSWORD="" -v your.ssh.id.pub:/root/.ssh/authorized_keys \
zextras/zimbra8:8.7.9

docker run -d -m 4G -h hostname.doma.in \
-e MEMORY_CSNT="yes"
-e TIMEZONE="Your/TimeZone" \
-e PASSWORD="" -v your.ssh.id.pub:/root/.ssh/authorized_keys \
zextras/zimbra8:8.7.9

Since Zimbra has already been installed during the image building, the container, once started, executes the Zimbra configuration (zmsetup.pl). Once Zimbra is installed, and started, it spawns a sshd server in foreground.

Docker Pull Command
Owner
zextras

Comments (3)
zxmerovingian
6 months ago

hi mvhconsult,

the error message your are seeing is because of poor handling of the newer perl versions included in ubuntu 16 by Zimbra.

Those should not represnt a problems at all.

The "-d" switch simply starts the container in detached mode.

mvhconsult
9 months ago

I'm getting some errors in the log when starting.

First lines
Q2016-11-30T16:15:14.120428036Z * Starting DNS forwarder and DHCP server dnsmasq
2016-11-30T16:15:14.121993352Z
M2016-11-30T16:15:14.122005329Z dnsmasq: error at line 4 of /etc/dnsmasq.conf
+2016-11-30T16:15:14.122199097Z ...fail!
2016-11-30T16:15:14.801317778Z Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE zimbra_home}/ at /opt/zimbra/libexec/zmupgrade.pm line 1518, <DATA> line 755.

mvhconsult
9 months ago

For everyone wondering why the run command does not really work: you need to add the name of the image
docker run -d zextras/zimbra8 ...