miniflux-legacy/docs/docker.markdown

32 lines
885 B
Markdown
Raw Normal View History

2014-11-01 17:14:33 +01:00
Run Miniflux with Docker
========================
2015-07-19 17:36:05 +02:00
Miniflux can run easily with [Docker](https://www.docker.com).
There is a `Dockerfile` in the repository to build your own container.
Use the automated build
-----------------------
Every new commit on the repository trigger a new build on [Docker Hub](https://registry.hub.docker.com/u/miniflux/miniflux/).
```bash
docker run -d --name miniflux -p 80:80 -t miniflux/miniflux:latest
```
The tag **latest** is the **development version** of Miniflux, use at your own risk.
2014-11-01 17:14:33 +01:00
Build your own image
--------------------
```bash
docker build -t <yourname/imagename> .
```
2015-07-19 17:36:05 +02:00
Run container from the image:
2014-11-01 17:14:33 +01:00
```bash
docker run -p 80:80 --name miniflux <yourname/imagename>
```
2016-02-19 03:51:08 +01:00
You can also mount the volume `/var/www/html/data` to save the data on the host machine (this folder must have write access from the container web server user).