Craft is a content management system (CMS) that’s laser-focused on doing one thing really, really well: managing content. This is a docker image that eases setup.
From the official description:
Craft is content management at its finest. It delivers an extraordinary amount of control to developers, while keeping the editing experience simple and elegant for end users.
Using this image for the first time will start a download automatically. Further runs will be immediate, as the image will be cached locally.
This image provides the Craft CMS application running on Apache / MySQL / PHP / Supervisor.
$ docker run -d -p 80:80 --name craft gabrielmoreira/craft
You can now point your webbrowser to this URL:
http://localhost/admin
This is a rather common setup following docker's conventions:
-d
will run a detached session running in the background-p {OutsidePort}:80
will bind the webserver to the given outside port--name
(Optional) the name of container instancegabrielmoreira/craft
the name of this docker image
$ docker build -t gabrielmoreira/craft github.com/gabrielmoreira/docker-craft
It's a know bug: (http://craftcms.stackexchange.com/a/5137)
$ docker exec craft sed -i 's/entry.heading/entry.title/g' /var/www/craft/templates/index.html