Installs ghost.io into an Alpine Linux container
Ghost is a fully open source, hackable platform for building and running a modern online publication.
docker create --name=ghost \
-v /etc/localtime:/etc/localtime:ro \
-v <path to config.js>/config.js:/ghost/config.js \
-v <path to content>:/ghost/content \
-e DOCKUID=<UID default:10010> \
-e DOCKGID=<GID default:10010> \
-e DOCKUPGRADE=<0|1> \
-p 2368:2368 digrouz/docker-alp-ghostio
When you start the ghost
image, you can adjust the configuration of the ghost
instance by passing one or more environment variables on the docker run
command line.
This variable is not mandatory and specifies the user id that will be set to run the application. It has default value 10010
.
This variable is not mandatory and specifies the group id that will be set to run the application. It has default value 10010
.
This variable is not mandatory and specifies if the container has to launch software update at startup or not. Valid values are 0
and 1
. It has default value 1
.
- The docker entrypoint will upgrade operating system at each startup. To disable this feature, just add
-e DOCKUPGRADE=0
at container creation.