Skip to content
This repository was archived by the owner on Sep 16, 2022. It is now read-only.

Inspecting images using Detect running inside a container

Steve Billings edited this page Mar 6, 2019 · 2 revisions

By default, Docker Inspector starts container-ized image inspector services as-needed. As it starts each image inspector container, it mounts a shared volume to enable Docker Inspector and the image inspector service to exchange even large files quickly. This volume mounting is appropriate when running on a Docker host, but does not work from within a Docker container.

The following script illustrates how you might run Docker Inspector (called from Detect) within a Docker container, using image inspector services that have been pre-started in other containers:

curl -O https://raw.githubusercontent.com/blackducksoftware/blackduck-docker-inspector/master/deployment/docker/runDetectInContainer/setup.sh

Clone this wiki locally