Now to deploy the container based on the previous image. As well as publish the Zimbra Collaboration ports, the hostname and the proper DNS, as you want to use bind as a local DNS nameserver within the container, also we will send the password that we want to our Zimbra Server like admin password, mailbox, LDAP, etc.: Syntax:
docker run -p PORTS -h HOSTNAME.DOMAIN --dns DNSSERVER -i -t -e PASSWORD=YOURPASSWORD NAMEOFDOCKERIMAGE
Example:
docker run -p 25:25 -p 80:80 -p 456:456 -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 zimbra86-docker.zimbra.io --dns 127.0.0.1 --dns 8.8.8.8 -i -t -e PASSWORD=Zimbra2015 zimbra_docker
This will create the container in few seconds, and run automatically the start.sh:
Install a DNS Server based in bind9 and the dnsutils package
The Script will take care of everything and after a few minutes you can go to the IP address of your server and use the following URLs:
Web Client - https://YOURIP Admin Console - https://YOURIP:7071
Content type
Image
Digest
Size
101.6 MB
Last updated
over 9 years ago
docker pull aksaramaya/zimbra