...
NOTE: When scanning a Docker container on Windows, the CMD tool must be executed with the 'Run as Administrator' option.
Configurations
Set the Boolean property
docker.scanContainers
in the config file to true. By default, the Unified Agent will scan all your Docker containers.Set If you want to be more specific about which containers to scan, set the GLOB pattern property for
docker.containerIncludes
anddocker.containerExcludes
if you want to be more specific about which containers to scan .
Examples
|
...
The above example configures the Unified Agent to scan all the docker containers containing the name 'webapp', except for the containers including the name 'webapp-dev'.
The scanner saves your required containers and scans all the file systems and installed packages.
...
The scanning results are presented in a new WhiteSource project identified by the name of the container in the following format: <container id> <container name> (<repository name>).
The project is created in the WhiteSource product specified in the config file or command line.
...