Scott Robinson Technical Lead

Running Ghost in Docker on Ubuntu 14.04

If you’re interested in running Ghost for your blog inside Docker. It’s pretty simple to get it up and running.

docker run --name=ghost --restart=always -d -p 123.123.123.123:80:2368 -v /docker/data-volumes/ghost:/var/lib/ghost ghost

I found it better to use a data volume with a mount point of /var/lib/ghost to get it running. The following links were useful in getting up and running:

https://allaboutghost.com/deploying-ghost-with-docker/

https://github.com/docker-library/ghost/issues/7

Found this useful? Everything here is free and stays that way. If it saved you an afternoon, you can buy me a coffee.