Public Repository

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

IMPORTANT

  • MEMORY_CSNT (MEMORY_LIMIT) variable has been deprecated, just use the -m switch to set memory limit.
  • This is image may not be production-ready, use in production at your own risk.
  • The default admin-password is easy-guessable. If this is going to be used in production remember to change it as soon as the container get exposed on an insecure or untrusted network.
  • For Network images a license is not provided. You should have your own.

What those containers do? Since Zimbra packages have already been installed during the image building, the container, once started, executes the Zimbra configuration (zmsetup.pl) and then starts all the services installed and configured during the previous step. Please not that the default behaviour is to spawn an sshd to let you access the container, but please refer to:

docker run --rm -it zextras/zimbra8:8.8.8-centos7 help modes

to see all supported modes.

Note:
All containers spawned using these images have full filesystem persistence, so unless you remove the container by using docker rm $Container-ID they are going to keep data.

Available Tags:

Please refer to the 'Tags' page for more information on tags names.

Accepted Variables:

  • 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.

  • 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"

Since this page may not be up-to-date, please refer to:

docker run --rm -it zextras/zimbra8:8.8.8-centos7 help (variables|vars)

Accepted Secrets:

  • /run/secrets/ssh_keys_to_authorize
    File containing all the public keys that will be used to connect to the container itself through ssh.

Have a look at:

docker run --rm -it zextras/zimbra8:8.8.8-centos7 help secrets

for more informations.

Example invocation:

FOSS

- Without memory constraint:
docker run --stop-timeout 180 -d -h hostname.doma.in -e TIMEZONE="Your/TimeZone" -e PASSWORD="" -v your.ssh.id.pub:/run/secrets/ssh_key_to_authorize zextras/zimbra8:8.8.8-centos7

- With memory constraint:
docker run --stop-timeout 180 -d -m 4G -h hostname.doma.in -e TIMEZONE="Your/TimeZone" -e PASSWORD="" -v your.ssh.id.pub:/run/secrets/ssh_key_to_authorize zextras/zimbra8:8.8.8-centos7

NETWORK

- Without memory constraint:
docker run --stop-timeout 180 -d -h hostname.doma.in -e TIMEZONE="Your/TimeZone" -e PASSWORD="" -v your.ssh.id.pub:/run/secrets/ssh_key_to_authorize:ro -v /path/to/your/ZCSLicense.xml:/opt/zimbra/conf/ZCSLicense.xml:ro zextras/zimbra8:network-8.8.8-centos7

- With memory constraint:
docker run --stop-timeout 180 -d -m 4G -h hostname.doma.in -e TIMEZONE="Your/TimeZone" -e PASSWORD="" -v your.ssh.id.pub:/run/secrets/ssh_key_to_authorize:ro -v /path/to/your/ZCSLicense.xml:/opt/zimbra/conf/ZCSLicense.xml:ro zextras/zimbra8:network-8.8.8-centos7

Docker Pull Command
Owner
zextras