OpenCms Stack AIO

OpenCms Stack AIO

OpenCms Stack AIO on CoreOS or Atomic Hosts (on top of OpenStack or anywhere where docker rocks)

Simply boot your CoreOS or Atomic Host machine on OpenStack, or any other OS running anywhere with docker support and run one the following commands and run your OpenCms All-In-One container in less than 30 minutes:

Note: this image has only one layer and is 1GB small, compared to the latest or the fat images which is 2.5 GB big or huge :-), but doesn't start any services after running it, please use "nsenter" as described below.

Where <ip> is the IP of your VM.

With the above command you can access the SSL enabled OpenCms Workplace at:https://opencms.stack.localUsername: Admin, password: admin.

You can call the Online Responsive Site over HTTP:http://opencms.stack.local

Note: You shall provide the following line in your /etc/hosts on your laptop:

Note: OpenCms Workplace works only through httpS, I’m using a self signed certificate, if you get a warning in the browser you might want to trust it.

Update August 18th:

Now after 3 months that CoreOS stable version is released with Docker 1.1.2 version for some reasons if you use /bin/bash/ as the command to start the services and log into the container, you'll see the message tomcat fails, although tomcat is running and the installation works and you can't stop tomcat via service tomcat7 stop (you've to kill -9 the tomcat7 process by hand), so to avoid this, you can run your docker container without /bin/bash:

docker run -d -P -p 10.0.0.16:80:80 cloudssky/opencms-stack-aio

and use "nsenter" to login to the instance and run the services properly, to do that you've to find the container pid fron thze container id, so first find the conatiner id: