Skip to content

Add first-class support for configuring tmpfs #673

@vpavic

Description

@vpavic

Since docker-java added support for tmpfs in 3.1.0-rc-3 (see docker-java/docker-java#1022), it is now possible to configure TestContainers to use tmpfs using something like:

withCreateContainerCmdModifier(cmd -> cmd.getHostConfig().withTmpFs(
		Collections.singletonMap(System.getProperty("java.io.tmpdir"), "rw")));

It would be nice if TestContainers could enhance it's API to provide a way to configure this a bit simpler.

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