Scan docker images

Can SonarQube scan Docker images? The docker images were deployed in the Kubernetes through the GitHub actions through the workflow. Can we add SonarQube scanner to the images before there were deployed ?

SonarQube does not scan containers, however scanning DockerFiles for security misconfigurations is on the horizon.