Files
metrics/.github/readme/partials/documentation/setup/docker.md
2022-01-16 09:07:39 -05:00

15 lines
514 B
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 🐳 Using command line with docker (~2 min)
## 0 Prepare your machine
A server with a recent version of [docker](https://www.docker.com/) is required.
## 1 Run docker image
The command to use is similar to the following:
```shell
docker run --env INPUT_TOKEN=**** --env INPUT_USER=user --volume=/tmp:/metrics_renders ghcr.io/lowlighter/metrics:latest
```
To pass parameters, pass environment variable with the same name as the corresponding action option but in uppercase and prefixed with `INPUT_`.