News
New course in the Sonar Learning Center: SonarQube container scanning basics
New Sonar Learning Center course: SonarQube Cloud container scanning for Docker, tar and OCI images, then in CI pipelines, for developers and DevOps.
Dr. Márton Tamás Kabai 2 min read
The Sonar Learning Center now offers a new course, Getting started with SonarQube container scanning, which introduces container image scanning to developers and DevOps engineers.
What does the course cover?
According to Sonar’s description, SonarQube Cloud container scanning extends the capabilities of SonarQube Advanced Security to container images. The scan examines the image’s operating system packages, language runtimes and libraries for known vulnerabilities and malicious packages.
In the hands-on part, you scan the public alpine:3.19 image in the following steps:
- pulling the image into Docker, then scanning the local image;
- scanning from a saved tar file;
- scanning from an Open Container Initiative (OCI) layout, the standard directory structure for container images;
- running the same scan in a continuous integration (CI) pipeline.
What should you know before using SonarQube container scanning?
According to the SonarQube Cloud documentation, container scanning is part of SonarQube Advanced Security, which requires a separate subscription on top of the Team or Enterprise plan. It is enabled by default for Advanced Security users. Scanning requires a personal access token and the organization key. The scanner does not pull missing images, so the image must already be available locally, for example after docker pull or docker build.
In a CI pipeline, the --fail-on option sets the severity level at which the scanner exits with an error code; its default value is high.
Action: if you have an Advanced Security subscription, you can use the course to try scanning on a public test image before adding it to your own build pipeline.
Sources
- New course release: Getting started with SonarQube container scanning
- Container scanning – SonarQube Cloud dokumentáció
Original announcement

Scott Schwarz, SonarSourcer (Sonar)
Originally published on the Sonar Community forum on 20 November 2026: New course release: Getting started with SonarQube container scanning
About the editor

Dr. Kabai Márton Tamás, Owner and Managing Director, Szitár-Net Kft.
Source: Sonar Community
Edited by
Managing Director, Szitár-Net Kft.
Managing Director of Szitár-Net Kft. The company has worked with automated source code analysis for more than 10 years and, as the official SonarSource partner in Hungary, helps banks, public institutions and large enterprises adopt SonarQube. His talks cover code quality, cybersecurity compliance and secure AI-assisted development.
More news
News
SonarQube Server LTA Releases with the Java4Shell Fix Are Now Available
SonarQube Server 2026.5.6, 2026.1.9 and 2025.4.12 LTA now include the Java4Shell fix. Azure DevOps: the @7 and @3 tasks are removed on December 7.
Read on 4 min
News
Azure DevOps extensions: @7 and @3 tasks are removed on December 7
On December 7, SonarQube Server and Cloud Azure DevOps extensions get a new major version. The @7 and @3 tasks are removed, and pipelines using them fail.
Read on 3 min
News
SonarQube Server 2025.4.12 LTA: Java Runtime Fix for Java4Shell
SonarQube Server 2025.4.12 LTA is out with the Java runtime fix for Java4Shell, so the temporary server-side JVM workaround is no longer needed.
Read on 2 min