Docker Zimbra 8.8.6

Running our Appliance (ZCA), ZCS on VMware, or any other virtual machine software? Post your thoughts here.
McGregor
Posts: 8
Joined: Wed Oct 25, 2017 5:09 pm

Docker Zimbra 8.8.6

Postby McGregor » Tue Feb 13, 2018 12:53 am

I'm trying to run Zimbra from a Docker container as per https://hub.docker.com/r/zextras/zimbra8/

I tried different Docker run commands, including:

Code: Select all

$ docker run --name zimbra -d -h ms.innosol.cf -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 8080:8080 -p 8443:8443 -p 7071:7071 -p 9071:9071 -e TIMEZONE="(GMT-05.00) Eastern Time (US & Canada)" -v "$(pwd)/.ssh/id_rsa.pub":/run/secrets/ssh_key_to_authorize zextras/zimbra8:8.8.6-ubuntu16


and

Code: Select all

$ docker run --name zimbra -d -h ms.innosol.cf -e MEMORY_LIMIT="no" -e TIMEZONE="(GMT-05.00) Eastern Time (US & Canada)" -v "$(pwd)/.ssh/id_rsa.pub":/run/secrets/ssh_key_to_authorize zextras/zimbra8:8.8.6-ubuntu16


but the container quickly exit and looking at the container logs I always have this message:
Please specify a valid memory settings...


Does this image work?

Thank you.


jackyho
Posts: 1
Joined: Wed Sep 12, 2018 6:11 am

Re: Docker Zimbra 8.8.6

Postby jackyho » Wed Sep 12, 2018 6:52 am

Try this:

Code: Select all

docker run -d \
-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 8080:8080 \
-p 8443:8443 \
-p 7071:7071 \
-p 9071:9071 \
-h mail.example.com \
--dns 127.0.0.1 --dns 8.8.8.8 -i -t \
-v "$(pwd)/.ssh/id_rsa.pub":/root/.ssh/authorized_keys \
-e TIMEZONE="(GMT+07.00) Bangkok / Hanoi / Jakarta" \
-e PASSWORD="Zimbrapwd" \
-e MAILBOXD_DEBUG="no" \
--restart=always \
--name Zimbra_mail \
zextras/zimbra8:8.8.9-ubuntu16

Return to “Virtualization”

Who is online

Users browsing this forum: No registered users and 3 guests