Skip to content

Docker image for Craft content management system (CMS).

License

Notifications You must be signed in to change notification settings

sctgraham/docker-craft

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-craft - Craft CMS for Docker

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.

About Craft

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.

Usage

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 instance
  • gabrielmoreira/craft the name of this docker image

Building

$ docker build -t gabrielmoreira/craft  github.com/gabrielmoreira/docker-craft

Known issues

Page not found on / after installation

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

About

Docker image for Craft content management system (CMS).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 62.2%
  • PHP 37.8%