This is forked from the Git repo of the Docker official image for ghost. See the Docker Hub page for the full readme on how to use this Docker image and for information regarding contributing and issues.
The full readme is generated over in docker-library/docs, specifically in docker-library/docs/ghost.
See a change merged here that doesn't show up on the Docker Hub yet? Check the "library/ghost" manifest file in the docker-library/official-images repo, especially PRs with the "library/ghost" label on that repo. For more information about the official images process, see the docker-library/official-images readme.
This will start a Ghost instance listening on the default Ghost port of 2368.
$ docker run -d --name some-ghost ghost:alpine
With MySQL/MariaDB Docker container
$ docker run -d --name some-ghost -e DB=mysql - DB_PASS=password ghost:alpine
NPM_CONFIG_LOGLEVEL
- default: warn
NODE_ENV
- default: production
DB
- default: sqlite3
DB_HOST
- default: mysql This would point to linked Docker container named 'mysql'
DB_PASS
- default: password
GHOST_URL
- default: http://localhost:2368