Document Docker Hub (#1337)
This commit is contained in:
parent
afd5da4f64
commit
49b6087d21
|
@ -70,6 +70,30 @@ Zola is available on snapcraft:
|
||||||
$ snap install --edge zola
|
$ snap install --edge zola
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Docker
|
||||||
|
|
||||||
|
Zola is available on [Docker Hub](https://hub.docker.com/r/balthek/zola).
|
||||||
|
It has no `latest` tag, you will need to specify a [specific version to pull](https://hub.docker.com/r/balthek/zola/tags).
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ docker pull balthek/zola:0.13.0
|
||||||
|
$ docker run balthek/zola:0.13.0 --version
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Build
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ docker run -u "$(id -u):$(id -g)" -v $PWD:/app --workdir /app balthek/zola:0.13.0 build
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Serve
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ docker run -u "$(id -u):$(id -g)" -v $PWD:/app --workdir /app -p 8080:8080 balthek/zola:0.13.0 serve --interface 0.0.0.0 --port 8080 --base-url localhost
|
||||||
|
```
|
||||||
|
|
||||||
|
You can now browse http://localhost:8080.
|
||||||
|
|
||||||
## Windows
|
## Windows
|
||||||
|
|
||||||
Zola is available on [Scoop](https://scoop.sh):
|
Zola is available on [Scoop](https://scoop.sh):
|
||||||
|
|
Loading…
Reference in a new issue