Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

https://community.openproject.org/work_packages/41538

adam-opfe6f48f83a7b
diff --git a/docs/installation-and-operations/operation/control/README.md b/docs/installation-and-operations/operation/control/README.md
index 5f26c1d562d..e675c856d8c 100644
--- a/docs/installation-and-operations/operation/control/README.md
+++ b/docs/installation-and-operations/operation/control/README.md
@@ -107,13 +107,13 @@ We can now run commands against that container
Run a bash shell in the container
```bash
-docker exec -it $CIT bash
+docker exec -it $CID bash
```
Get the current version of OpenProject
```bash
-docker exec -it $CIT bash -c "RAILS_ENV=production rails version"
+docker exec -it $CID bash -c "RAILS_ENV=production bundle exec rails version"
```
In case of using kubernetes, the command is a bit different
@@ -127,7 +127,7 @@ kubectl exec -it {POD_ID} -- bash -c "RAILS_ENV=production bundle exec rails con
Launch an interactive console to directly interact with the underlying Ruby on Rails application:
```bash
-docker exec -it $CIT bash -c "RAILS_ENV=production rails console"
+docker exec -it $CID bash -c "RAILS_ENV=production bundle exec rails console"
```
## docker-compose based installation