diff --git a/doc/install/docker.md b/doc/install/docker.md index d26b22f1..ff8ac583 100644 --- a/doc/install/docker.md +++ b/doc/install/docker.md @@ -18,13 +18,21 @@ Image: crazymax/diun:latest - linux/s390x ``` -Environment variables can be used within your container: +## Environment variables * `TZ` : Timezone assigned * `LOG_LEVEL` : Log level output (default `info`) * `LOG_JSON`: Enable JSON logging output (default `false`) * `LOG_CALLER`: Enable to add file:line of the caller (default `false`) +## Volumes + +* `/data` : Contains bbolt database which retains Docker images manifests + +> :warning: Note that the volume should be owned by uid `1000` and gid `1000`. If you don't give the volume correct permissions, the container may not start. + +## Usage + Docker compose is the recommended way to run this image. Copy the content of folder [.res/compose](../../.res/compose) in `/opt/diun/` on your host for example. Edit the compose and config file with your preferences and run the following commands: ```