Skip to content

Feature: Temporary file volume mapping to dynamically generate generate the file content #937

@jackburridge

Description

@jackburridge

What are you trying to do?

Add a method to DockerContainer to dynamically add volume mappings

Why should it be done this way?

In memory dynamic volume bindings are incredibly useful, there are many use cases where you may want to dynamically generate file contents, and bind them to a container. Configuration is the core example

Other references:

This already exits in the .NET implementation, as an example https://dotnet.testcontainers.org/api/create_docker_container/#copying-directories-or-files-to-the-container

Would you like to implement a fix?

Yes

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions