This is the Docker Nano image for Ghost v2.2.2 running on Node.js v6.14.4.
nano/ghostThe site URL, IP and port can be customized when a container is run using a command similar to the following.
docker run -dp 127.0.0.1:2368:2368 -e NANO_URL=http://www.example.com --name Ghost nano/ghost:latestIf additional customization is required a configuration file can be mapped to /etc/ghost/config.json using volumes.
Use product/config.production.json
as a starting template.
docker run -dp 127.0.0.1:2368:2368 -v /my/config.json:/etc/ghost/config.json --name Ghost nano/ghost:latestGhost's content directory is mapped to /var/ghost and can be mirrored to the host using volumes.
Nano Ghost is configured to use a SMTP server running on the host and might work without any additional configuration as long as the following requirements are met.
docker0 network interface.docker0 network interface has the default IP of 172.17.42.1.If you're running a firewall don't forget to permit docker0 traffic. For example, to allow all inbound traffic from
docker0 with iptables, run iptables -A INPUT -i docker0 -m comment --comment Docker -j ACCEPT.
To use a different mail configuration supply a custom configuration as described in usage.
Content type
Image
Digest
Size
40.3 MB
Last updated
almost 8 years ago
docker pull nano/ghost:2.2.2