Public Repository

Last pushed: 4 months ago
Short Description
VeriPress is a blog engine for hackers, and this is it's docker image.
Full Description

Quick Start

$ docker pull veripress/veripress
$ docker run -ti --rm -v $(pwd):/instance veripress/veripress --help

The second line will mount the current working directory to /instance in the container, which will be recognized as a VeriPress instance. The ENTRYPOINT of this image is the veripress command, so anything at the end of docker run command will be concatenated to the veripress command. In the above example, the docker run command is equal to veripress --help.

It's recommended to make an alias to the docker run -ti --rm -v $(pwd):/instance -p 8080:8080 veripress/veripress command (remember to use single-quote to avoid interpolation of $(pwd) at the time the alias is defined!), so that you can use it just like it's a command on your system. For example:

$ alias veripress='docker run -ti --rm -v $(pwd):/instance -p 8080:8080 veripress/veripress'  # use single-quote to avoid interpolation of $(pwd)
$ mkdir ~/my-instance
$ cd ~/my-instance
$ veripress init
$ veripress theme install default
$ veripress preview --host 0.0.0.0 --port 8080

Documentation

For more information on how to use VeriPress, see VeriPress Docs.

Docker Pull Command
Owner
veripress

Comments (0)