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.