Docker image for 8.0 / 8.1 community

On the official hub I can find only LTS or latest version (comm/dev/entrp editions). But where can I find previous versions of docker images?

You can find them in the tags tab:

For example, here is 8.2-developer :

8.0 & 8.1 where beta images, i don’t recommend to use them for production. There is no LTS official image. We started to support docker images rather recently, so i would suggest to stay on latest if you use docker.

Thanks for your reply. I’ve installed the LTS then but it seems the the variables in here are not read properly :frowning: I’ve provided them (jdbc) in the command line as additional parameters and it works fine besides LDAP :frowning:
My command looks as follow:

docker run -d --name sonar -p 9000:9000 -e sonar.jdbc.url=jdbc:postgresql://
-e sonar.jdbc.username="{aes}xxxxxxxxxxx"
-e sonar.jdbc.password="{aes}xxxxxxxxxxxxx"
-e sonar.secretKeyPath=/opt/sonarqube/conf/.sonar/sonar-secret.txt
-e sonar.forceAuthentication=false
-e sonar.authenticator.downcase=true
-e ldap.url=ldaps://
-e ldap.bindDn=cn=admin-ro,ou=systemids,dc=xxxxx,dc=com
-e ldap.bindPassword=xxxxxxxxxxxxxxxxx
-e ldap.user.baseDn=ou=workers,ou=users,dc=xxxxx,dc=com
-e ldap.user.request="(&(objectClass=person)(uid={login}))"
-v /srv/persistent/sonar/sonarqube_conf:/opt/sonarqube/conf
-v /srv/persistent/sonar/sonarqube_extensions:/opt/sonarqube/extensions
-v /srv/persistent/sonar/logs:/opt/sonarqube/logs
-v /srv/persistent/sonar/sonarqube_data:/opt/sonarqube/data
-v /srv/persistent/sonar/sonarqube_bundled-plugins:/opt/sonarqube/lib/bundled-plugins

and it returns

Caused by: java.lang.IllegalStateException: Unable to load component class org.sonar.server.user.SecurityRealmFactory
Caused by: org.sonar.api.utils.SonarException: Realm 'LDAP' not found. Please check the property '' in conf/

The error is the same no matter if is declared in or in the docker run command

How to configure properly LDAP connection in LTS version ?


ok I’ve figured out. The LDAP properties are properly extracted from the file however on sonarqube 7.9.2 the LDAP plugin is needed :slight_smile:
After installing it - all works fine !