Skip to content

[Enhancement]: Provide a way to customize extra docker containers used #1715

Closed
@vikstrous2

Description

@vikstrous2

Proposal

In more locked down / secured environments, it can be problematic to pull images from docker hub and run them without additional precautions.

One need is to prefix images so that they can be pulled from a docker registry other than docker hub. This is the usual mechanism for using docker image proxies, caches, etc.

Another need is to pin images to specific hashes to protect against supply chain attacks. When images are not pinned to a specific hash, an attacker with control of the docker account that hosts the images can publish a new image with the same tag that contains malicious code.

The latter issue also exists for images referenced by this repo normally, so maybe it can be solved differently from the first. Maybe images used by testcontainers can always be pinned by hash by default?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions