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.

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

Original announcement

Scott Schwarz profile picture

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

Dr. Kabai Márton Tamás, Owner and Managing Director, Szitár-Net Kft.

Source: Sonar Community

Back to all news

Edited by

Dr. Márton Tamás Kabai

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 articles LinkedIn Work with us

More news

SonarSource Partner