Properties

You can configure Docker Inspector by setting any of the following properties. Properties are typically set via the command line by adding a command line argument of the form:

--{property name}={property value}

See the Advanced for other ways to set properties.

Available properties:

Property name Type Description Default value Deprecation Status Deprecation Message
bdio.include.removed.components Boolean In generated BDIO, include removed components? If false, only components present in the final container filesystem (in other words, present after the final layer is applied) will be included in the output. If true, a component added by any layer will be included in the output even if later removed by a higher layer. false
bdio.organize.components.by.layer Boolean In generated BDIO, organize components by layer? false
blackduck.always.trust.cert Boolean Black Duck Always Trust Cert? false Deprecated Support for running Docker Inspector as a standalone utility is being dropped. In the future, users should run Docker Inspector via Detect.
blackduck.api.token String Black Duck token Deprecated Support for running Docker Inspector as a standalone utility is being dropped. In the future, users should run Docker Inspector via Detect.
blackduck.codelocation.name String Black Duck CodeLocation name Deprecated Support for running Docker Inspector as a standalone utility is being dropped. In the future, users should run Docker Inspector via Detect.
blackduck.codelocation.prefix String Black Duck CodeLocation prefix Deprecated Support for running Docker Inspector as a standalone utility is being dropped. In the future, users should run Docker Inspector via Detect.
blackduck.password String Black Duck Password Deprecated Support for running Docker Inspector as a standalone utility is being dropped. In the future, users should run Docker Inspector via Detect.
blackduck.project.name String Black Duck Project Name Deprecated Support for running Docker Inspector as a standalone utility is being dropped. In the future, users should run Docker Inspector via Detect.
blackduck.project.version String Black Duck Project Version Deprecated Support for running Docker Inspector as a standalone utility is being dropped. In the future, users should run Docker Inspector via Detect.
blackduck.proxy.host String Black Duck Proxy Host Deprecated Support for running Docker Inspector as a standalone utility is being dropped. In the future, users should run Docker Inspector via Detect.
blackduck.proxy.password String Black Duck Proxy Password Deprecated Support for running Docker Inspector as a standalone utility is being dropped. In the future, users should run Docker Inspector via Detect.
blackduck.proxy.port String Black Duck Proxy Port Deprecated Support for running Docker Inspector as a standalone utility is being dropped. In the future, users should run Docker Inspector via Detect.
blackduck.proxy.username String Black Duck Proxy Username Deprecated Support for running Docker Inspector as a standalone utility is being dropped. In the future, users should run Docker Inspector via Detect.
blackduck.timeout Integer Black Duck Timeout in seconds 120 Deprecated Support for running Docker Inspector as a standalone utility is being dropped. In the future, users should run Docker Inspector via Detect.
blackduck.url String Black Duck URL Deprecated Support for running Docker Inspector as a standalone utility is being dropped. In the future, users should run Docker Inspector via Detect.
blackduck.username String Black Duck Username Deprecated Support for running Docker Inspector as a standalone utility is being dropped. In the future, users should run Docker Inspector via Detect.
cleanup.inspector.container Boolean Stop inspector container after using it? true
cleanup.inspector.image Boolean Remove inspector image after using it? false
cleanup.target.image Boolean Remove target image after saving it? false
cleanup.working.dir Boolean Cleanup Working Dir? true
command.timeout Long Command Timeout (Milliseconds) 120000
docker.image String Docker Image name:tag
docker.image.id String The ID (shown in the 'IMAGE ID' column of 'docker images' output) of the target Docker image. The target image must already be local (must appear in the output of 'docker images').
docker.image.platform String The platform (shown as 'platform' field in 'docker manifest inspect {image}' output) of the target image Docker Inspector should pull. You must also provide the target image (via docker.image) when using this property. Note: when providing a platform, you may provide either the target operating system (os), the target architecture, or os/architecture.
docker.image.repo String Docker Image Repo; Use with docker.image.tag to select one image from a tarfile
docker.image.tag String Docker Image Tag; Use with docker.image.repo to select one image from a tarfile
docker.platform.top.layer.id String To ignore components from platform layers: specify the ID (from docker inspect : last of RootFS.Layers) of the top layer of the platform image
docker.tar String Docker or OCI image tarfile path
help.output.path String The path to a file or directory to which help output will be written in markdown format. If not set, help will be written to stdout. If set, the directory must exist; the file will be created if it does not exist. If the path to a directory is provided, Docker Inspector will generate the filename automatically
imageinspector.service.distro.default String Default image inspector Linux distro (alpine, centos, or ubuntu) ubuntu
imageinspector.service.log.length Integer The number of lines of the image inspector service log to include in the Docker Inspector log when log level is DEBUG or higher 10000
imageinspector.service.port.alpine String alpine image inspector host port 9000
imageinspector.service.port.centos String centos image inspector host port 9001
imageinspector.service.port.ubuntu String ubuntu image inspector host port 9002
imageinspector.service.start Boolean Start ImageInspector services (containers) as needed? true
imageinspector.service.url String The URL of the (already running) imageinspector service to use
jar.path String Black Duck Docker Inspector .jar file path
linux.distro String Target image Linux distribution name. Use this if you need to override the Linux distribution name discovered by Docker Inspector.
logging.level.com.synopsys String Logging Level (WARN, INFO, DEBUG, TRACE) INFO
offline.mode Boolean Make no attempts to access network-based resources (the Black Duck server, docker repository) false
output.containerfilesystem.excluded.paths String Comma-separated list of directories/files/links (specified as absolute paths) to exclude from the container filesystem
output.include.containerfilesystem Boolean Include container filesystem (a large file) in output? false
output.include.squashedimage Boolean Include container filesystem (a large file) in output? false
output.path String Path to directory for output files
service.timeout Long HTTP Service Request Timeout (Milliseconds) 600000
shared.dir.path.local String The host's path to the dir shared with the imageinspector containers. Only needed if using existing imageinspector containers. If not set, $HOME/blackduck/docker-inspector/shared will be used
system.properties.path String Path to a properties file containing additional system properties (an alternative to java -D)
upload.bdio Boolean Upload BDIO? true
use.platform.default.docker.host Boolean Use platform's default DOCKER_HOST value? Set to false if you want to override DOCKER_HOST true
working.dir.path String Working Directory Path. If not set, a default of $HOME/blackduck/docker-inspector will be used.