Docker makes it very easy to build, ship and instantiate software in the form of lightweight containers. With all the good press and a series of announcements, there is no doubt that Docker is the format of choice for distributing eXo Platform.
That’s why we have created eXo’s official Docker image repositories at: https://registry.hub.docker.com/u/exoplatform
The great advantage of Docker images is that they dramatically simplify an installation. In fact, every component is already set up and preconfigured. So it’s super easy to try eXo.
After installing Docker, you should be able to run eXo Platform with this single command line:
docker run -d -p 8080:8080 --name=exo exoplatform/ubuntu-jdk7-exo:plf-4.1-rc1
Then, watch eXo platform’s startup logs with:
docker logs --follow exo
And wait until eXo has finished starting:
2014-11-04 16:27:12,759 | INFO | Server startup in 89069 ms [org.apache.catalina.startup.Catalina<main>]
Finally, point your browser to http://localhost:8080/portal and you should see eXo Platform’s welcome screen:
This image comes with the following required software installed:
- Ubuntu 14.04
- Oracle JDK 7 update 60
- eXo Platform 4.1-RC1 Community edition
Another great thing about Docker is the way it allows inheritance from existing images. Leveraging this, and the eXo add-ons manager, we’ve made an image of the eXo Platform bundled with the chat add-on and MongoDB. Run it with:
docker run -d -p 8080:8080 --name=exo-chat exoplatform/ubuntu-jdk7-exo-chat:1.0.0-rc1
This image inherits from the previous one and adds:
- eXo Chat add-on 1.0.0-RC1
- MongoDB 2.6
If you are really into Docker (and you should be), it’s also quite easy to make your own derivative image based on an official one. Just pull down the image repository locally and hack it at will!
docker pull exoplatform/ubuntu-jdk7-exo
We will update the official images as new versions become available. In the meantime, we welcome your feedback on the community forums.
Join the eXo tribe by registering for the community and get updates, tutorials, support, and access to the Platform and add-on downloads!