From 75fd17c7503b6a1189a3ede1c45be03a69b1fd72 Mon Sep 17 00:00:00 2001 From: kolaente Date: Wed, 10 Apr 2024 23:05:32 +0200 Subject: [PATCH] docs: clarify vikunja cli usage in docker --- docs/content/doc/usage/cli.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/content/doc/usage/cli.md b/docs/content/doc/usage/cli.md index 110da5eef9..9e1035f878 100644 --- a/docs/content/doc/usage/cli.md +++ b/docs/content/doc/usage/cli.md @@ -28,13 +28,21 @@ 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. +When running Vikunja in docker, you'll need to execute all commands in the `vikunja` container. Instead of running the `vikunja` binary directly, run it like this: ```sh -docker exec /app/vikunja/vikunja +docker exec /app/vikunja/vikunja ``` +If you need to run a bunch of Vikunja commands, you can also create a shell alias for it: + +```sh +alias vikunja-docker='docker exec /app/vikunja/vikunja' +``` + +Then use it as `vikunja-docker `. + ### `dump` Creates a zip file with all vikunja-related files.