diff --git a/docs/installation-and-operations/operation/control/README.md b/docs/installation-and-operations/operation/control/README.md index 5f26c1d562..e675c856d8 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