Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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 and docker.containerExcludes

Examples

Code Block
docker.scanContainers=true
docker.containerIncludes=.*alpine.*
docker.containerExcludes=.*2017.10.01.* .*2017.06.01.*


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.

Code Block
docker.scanContainers=true
docker.containerIncludes=.*4c01db0b339c.*
docker.containerExcludes=

The above example configures the Unified Agent to scan all the docker containers containing a container with id 4c01db0b339c.

Code Block
docker.scanContainers=true
docker.containerIncludes=.*webapp.*
docker.containerExcludes=.*webapp-dev.*

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.

...