From 4d4dca12efda867fde8a2d873fd78f8f0e039655 Mon Sep 17 00:00:00 2001 From: kolaente Date: Thu, 3 Nov 2022 15:13:58 +0100 Subject: [PATCH] fix(docs): add explanation on how to run the cli in docker --- docs/content/doc/usage/cli.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/content/doc/usage/cli.md b/docs/content/doc/usage/cli.md index a32cf7944..364a06703 100644 --- a/docs/content/doc/usage/cli.md +++ b/docs/content/doc/usage/cli.md @@ -26,6 +26,15 @@ If you don't specify a command, the [`web`](#web) command will be executed. All commands use the same standard [config file]({{< ref "../setup/config.md">}}). +## Using the cli in docker + +When running Vikunja in docker, you'll need to execute all commands in the `api` container. +Instead of running the `vikunja` binary directly, run it like this: + +``` +docker exec /app/vikunja/vikunja +``` + ### `dump` Creates a zip file with all vikunja-related files.