Docker commands
This section lists Qodana Self-Hosted commands executed in the quay.io/jetbrains/qodana-installer-cli:latest Docker image.
help
Help for the qodana-installer-cli tool:
docker run \
-v /var/run/docker.sock:/var/run/docker.sock \
quay.io/jetbrains/qodana-installer-cli:latest \
help
environment
Display all active configurations passed or used by the qodana-installer-cli tool:
docker run \
-v /var/run/docker.sock:/var/run/docker.sock \
quay.io/jetbrains/qodana-installer-cli:latest \
environment
install-app
Deploy Qodana Self-Hosted on your machine:
docker run \
-v /var/run/docker.sock:/var/run/docker.sock \
-e API_ORGANIZATION_NAME="<Specify the name of your organization>" \
-e COMMON_LICENSE_KEY_SECRET="<Specify a valid license key>" \
quay.io/jetbrains/qodana-installer-cli:latest \
install-app
uninstall
Uninstall Qodana Self-Hosted from your machine:
docker run \
-v /var/run/docker.sock:/var/run/docker.sock \
quay.io/jetbrains/qodana-installer-cli:latest \
uninstall
To remove Docker volumes of Qodana Self-Hosted, run the following command:
echo "[INFO] Cleaning the Docker volumes" && docker volume ls \
--filter "label=qodana.jetbrains.self-hosted.lite.dependencies.local=true" \
--quiet | xargs -r docker volume rm
To delete persisting secrets from your machine located in the ${PWD}/secrets directory, run this command:
echo "[INFO] Cleaning the local secrets directory" && rm -rf ${PWD}/secrets
logs
Print logs related to Qodana Self-Hosted to the standard output:
docker run \
-v /var/run/docker.sock:/var/run/docker.sock \
quay.io/jetbrains/qodana-installer-cli:latest
logs
You can filter log output using the --filters parameter and labels described in the Labels section and separated by a space character, for example:
docker run \
-v /var/run/docker.sock:/var/run/docker.sock \
quay.io/jetbrains/qodana-installer-cli:latest \
logs \
--filters "label=com.docker.stack.namespace=qodana_self_hosted_services label=qodana.jetbrains.self-hosted.lite.service-type=application"
29 August 2025