Sign inSign up

zerodivide1/docker-ghost

By zerodivide1

Updated almost 11 years ago

Image
0

1.6K

zerodivide1/docker-ghost repository overview

Ghost Dockerfile

This repository contains Dockerfile of Ghost for Docker's automated build published to the public Docker Hub Registry.

Base Docker Image
Installation
  1. Install Docker.

  2. Download automated build from public Docker Hub Registry: docker pull dockerfile/ghost

    (alternatively, you can build an image from Dockerfile: docker build -t="dockerfile/ghost" github.com/dockerfile/ghost)

Usage
docker run -d -p 80:2368 dockerfile/ghost
Customizing Ghost
docker run -d -p 80:2368 -v <override-dir>:/ghost-override dockerfile/ghost

where <override-dir> is an absolute path of a directory that could contain:

  • config.js: custom config file copied from here (you must replace 127.0.0.1 with 0.0.0.0)
  • content/data/: persistent/shared data
  • content/images/: persistent/shared images
  • content/themes/: more themes

After few seconds, open http://<host> for blog or http://<host>/ghost for admin page.

Tag summary

Content type

Image

Digest

sha256:7cfb0d610

Size

313.4 MB

Last updated

almost 11 years ago

docker pull zerodivide1/docker-ghost