...
Docker installed
Unified Agent version 19.1.2 and above above
The relevant package manager must be installed. For details, see https://whitesource.atlassian.net/wiki/spaces/WD/pages/1140852201/Getting+Started+with+the+Unified+Agent#Prerequisites .
NOTE: When scanning a Docker container on Windows, the CMD tool must be executed with the Run as Administrator option.
...
Set the Boolean property
docker.scanContainers
in the config file to true. By default, the Unified Agent will scan all your Docker containers.If you want to be more specific about which containers to scan, set the GLOB pattern property for
docker.containerIncludes
anddocker.containerExcludes
.
Examples
|
The above example configures the Unified Agent to scan all the docker containers containing an image named *alpine.*, except for the 2 image tags in the 'excludes' section.
|
The above example configures the Unified Agent to scan all the docker containers containing a container with id 4c01db0b339c.
|
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.
...