Docker image for Ghost blog based on Centos 7 latest image.
10K+
Docker image for Ghost blog based on Centos 7 latest image.
There are two environment variables that can be passed via docker run command - URL and NODE_ENV, i.e.:
URL=http://example.com
NODE_ENV=production
docker run commandsThe following will run Ghost docker in detached mode, host 80 port will be passed to container's 2368, while Ghost as a platform will be configured to have http://example URL and run itself in Production mode.
docker run --name blog -p 80:2368 -e NODE_ENV=production -e URL=http://example.com -d edgaras/ghost:latest
The following will run Ghost docker in detached mode and randomly assign host port to contaier's 2368. Ghost will run in Development mode and URL will be default - http://localhost:2368
docker run --name blog -P -e NODE_ENV=development -d edgaras/ghost:latest
Content type
Image
Digest
Size
198.2 MB
Last updated
over 8 years ago
docker pull edgaras/ghost