Docker and Plone

Spinning up Plone on Docker

an open source project to pack, ship and run any application as a lightweight container

Come across Docker yet? If not you should check it out!

Summary:

  • Portable containers across Development, Staging and Production environment(s).
  • Guarenteed consistency.
  • Lightweight viraulization.
  • Excellent Tooling and Ecysystem.
  • Growing at an ever expanding rate!

Here’s a quick demo of how to spin up a Plone instnace using Docker. (Plone is a Python powered Content Management System)

ubuntu@vz1:~$ CID=$(docker run -i -t -d -p 80:80 turnkeylinux/plone-13.0:latest)^C
ubuntu@vz1:~$ CIP=$(docker inspect -format='{{.NetworkSettings.IPAddress}}' $CID)^C
ubuntu@vz1:~$ docker logs $CID | egrep "root"^C
ubuntu@vz1:~$ ssh root@$CIP

At this point you were presented with a a couple of dialog boxes to update the system which is typical of every TurnKeyLinux appliance.

This took all but 2 miinutes to download and deploy!

Docker rocks!

Here are some other interesting links:

Enjoy! :)