withTmpfsMount method

DockerContainer withTmpfsMount(
  1. String containerPath, {
  2. String? size,
})

Adds a tmpfs mount at containerPath.

size is an optional size string in the Docker format (e.g. '64m'). An empty string means no size limit.

Returns this for chaining.

Implementation

DockerContainer withTmpfsMount(String containerPath, {String? size}) {
  _tmpfs[containerPath] = size ?? '';
  return this;
}