Scan container

Container Name: blackduck-scan
Image Name blackducksoftware/blackduck-scan:2024.10.0
Description

The scan service is the container that all scan data requests are made against.

Scalability This container can be scaled.
Links/Ports

This container needs to connect to these containers/services:

  • postgres

  • registration

  • logstash

  • cfssl

The container needs to expose port 8443 to other containers that will link to it.

Alternate Host Name Environment Variables

There are times when running in other types of orchestrations that it is useful to have host names set for these containers that are not the default that Docker Swarm uses. These environment variables can be set to override the default host names:

  • postgres: $HUB_POSTGRES_HOST

  • registration: $HUB_REGISTRATION_HOST

  • logstash: $HUB_LOGSTASH_HOST

  • cfssl: $HUB_CFSSL_HOST

Resources/Constraints
  • Default max Java heap size: 2GB

  • Container memory: 2.5GB

  • Container CPU: 1 CPU

Users/Groups

This container runs as UID 8080. If the container is started as UID 0 (root) then the user will be switched to UID 8080:root before executing its main process.

This container is also able to be started as a random UID as long as it is also started within the root group (GID/fsGroup 0).

Environment File blackduck-config.env