Deploy Zimbra Collaboration using docker: Difference between revisions
m (Jorge de la Cruz Mingo moved page Deploy zimbra collaboration using docker to Deploy Zimbra Collaboration using docker) |
mNo edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{BC|Community Sandbox}} | ||
__FORCETOC__ | |||
<div class="col-md-12 ibox-content"> | |||
=Deploy Zimbra Collaboration Server using Docker= | |||
{{KB|{{Unsupported}}|{{ZCS 8.7}}||}} | |||
[[File:Zimbra-docker-en.png|800px]] | [[File:Zimbra-docker-en.png|800px]] | ||
==Purpose== | ==Purpose== | ||
Install Zimbra Collaboration and | Install Zimbra Collaboration Server and DNS Server with a Script, in a Single-Server, using Docker. | ||
==Resolution== | ==Resolution== | ||
===Before start=== | ===Before you start=== | ||
This guide is not officially supported by Zimbra, as '''docker''' is not in the Operating System, or | This guide '''is not officially supported by Zimbra''', as '''docker''' is not in the Operating System, or Virtualization Supported platforms in the [https://www.zimbra.com/docs/shared/8.6.0/system_requirements System Requirements]. | ||
This guide is intended | This guide is intended for testing platforms, development, etc. | ||
===What is | ===What is Docker=== | ||
[https://www.docker.com/whatisdocker/ '''From the official docker website'''] - ''Docker is an open platform for developers and sysadmins to build, ship, and run distributed applications. Consisting of Docker Engine, a portable, lightweight runtime and packaging tool, and Docker Hub, a cloud service for sharing applications and automating workflows, Docker enables apps to be quickly assembled from components and eliminates the friction between development, QA, and production environments. As a result, IT can ship faster and run the same app, unchanged, on laptops, data center VMs, and any cloud.'' | [https://www.docker.com/whatisdocker/ '''From the official docker website'''] - ''Docker is an open platform for developers and sysadmins to build, ship, and run distributed applications. Consisting of a Docker Engine, a portable, lightweight runtime and packaging tool, and Docker Hub, a cloud service for sharing applications and automating workflows, Docker enables apps to be quickly assembled from components and eliminates the friction between development, QA, and production environments. As a result, IT can ship faster and run the same app, unchanged, on laptops, data center VMs, and any cloud.'' | ||
===Advantages of | ===Advantages of using Docker and the ZimbraEasyInstall Script=== | ||
* Time saving | * Time saving | ||
* Fully automated | * Fully automated | ||
* Easy to use | * Easy to use | ||
* | * Great for a quick Zimbra Preview | ||
===Installing Docker=== | |||
First you need to install Docker on the server that you would like to use as a host for the docker containers. If you want to install Docker, please follow the next guide - [https://docs.docker.com/engine/installation/ https://docs.docker.com/engine/installation/] | |||
One of the advantages of using docker is that the host OS does not matter, the containers will work on any platform. | |||
=== | === Downloading the image=== | ||
The first step is to pull this image into your docker environment, for that just run the next: | |||
docker pull jorgedlcruz/zimbra | |||
docker | |||
=== Creating Zimbra Container === | |||
Now that we have an image called jorgedlcruz/zimbra, we can do a docker run with some special parameters, like this: | |||
docker run -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 zimbra-docker.zimbra.io --dns 127.0.0.1 --dns 8.8.8.8 -i -t -e PASSWORD=Zimbra2017 jorgedlcruz/zimbra | |||
As you can see we tell the container the ports we want to expose, and on which port, we also specify the container hostname, the password foir the Zimbra Administrator Account, and the image to use. | |||
That's it! You can visit now the IP of your Docker Machine using HTTPS, or try the Admin Console with HTTPS and port 7071. | |||
You can | |||
* Web Client - https://YOURIP | * Web Client - https://YOURIP | ||
* Admin Console - https://YOURIP:7071 | * Admin Console - https://YOURIP:7071 | ||
=== Contribute to the Project=== | |||
If you like to contribute to the project, you are free to do so, just fork the next repo and submit your changes. - [https://github.com/jorgedlcruz/zimbra-docker https://github.com/jorgedlcruz/zimbra-docker] | |||
==Additional Content== | ==Additional Content== | ||
* Go to the [https://github.com/jorgedlcruz/ | * Go to the [https://github.com/jorgedlcruz/zimbra-docker Github project] and give your valuable feedback. | ||
{{Article Footer|Zimbra Collaboration 8. | {{Article Footer|Zimbra Collaboration 8.7|05/21/2015}} |
Latest revision as of 22:39, 31 October 2017
Deploy Zimbra Collaboration Server using Docker
Purpose
Install Zimbra Collaboration Server and DNS Server with a Script, in a Single-Server, using Docker.
Resolution
Before you start
This guide is not officially supported by Zimbra, as docker is not in the Operating System, or Virtualization Supported platforms in the System Requirements.
This guide is intended for testing platforms, development, etc.
What is Docker
From the official docker website - Docker is an open platform for developers and sysadmins to build, ship, and run distributed applications. Consisting of a Docker Engine, a portable, lightweight runtime and packaging tool, and Docker Hub, a cloud service for sharing applications and automating workflows, Docker enables apps to be quickly assembled from components and eliminates the friction between development, QA, and production environments. As a result, IT can ship faster and run the same app, unchanged, on laptops, data center VMs, and any cloud.
Advantages of using Docker and the ZimbraEasyInstall Script
- Time saving
- Fully automated
- Easy to use
- Great for a quick Zimbra Preview
Installing Docker
First you need to install Docker on the server that you would like to use as a host for the docker containers. If you want to install Docker, please follow the next guide - https://docs.docker.com/engine/installation/
One of the advantages of using docker is that the host OS does not matter, the containers will work on any platform.
Downloading the image
The first step is to pull this image into your docker environment, for that just run the next:
docker pull jorgedlcruz/zimbra
Creating Zimbra Container
Now that we have an image called jorgedlcruz/zimbra, we can do a docker run with some special parameters, like this:
docker run -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 zimbra-docker.zimbra.io --dns 127.0.0.1 --dns 8.8.8.8 -i -t -e PASSWORD=Zimbra2017 jorgedlcruz/zimbra
As you can see we tell the container the ports we want to expose, and on which port, we also specify the container hostname, the password foir the Zimbra Administrator Account, and the image to use.
That's it! You can visit now the IP of your Docker Machine using HTTPS, or try the Admin Console with HTTPS and port 7071.
- Web Client - https://YOURIP
- Admin Console - https://YOURIP:7071
Contribute to the Project
If you like to contribute to the project, you are free to do so, just fork the next repo and submit your changes. - https://github.com/jorgedlcruz/zimbra-docker
Additional Content
- Go to the Github project and give your valuable feedback.