Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1.17 KB

content.md

File metadata and controls

35 lines (22 loc) · 1.17 KB

Ghost

Ghost is a free and open source blogging platform written in JavaScript and distributed under the MIT License, designed to simplify the process of online publishing for individual bloggers as well as online publications.

wikipedia.org/wiki/Ghost_(blogging_platform)

%%LOGO%%

How to use this image

$ docker run --name some-ghost -d ghost

This will start a Ghost instance listening on the default Ghost port of 2368.

If you'd like to be able to access the instance from the host without the container's IP, standard port mappings can be used:

$ docker run --name some-ghost -p 8080:2368 -d ghost

Then, access it via http://localhost:8080 or http://host-ip:8080 in a browser.

You can also point the image to your existing content on your host:

$ docker run --name some-ghost -v /path/to/ghost/blog:/var/lib/ghost ghost

Alternatively you can use a data container that has a volume that points to /var/lib/ghost and then reference it:

$ docker run --name some-ghost --volumes-from some-ghost-data ghost