Skip to main content

dockerArgs

@forge/monorepo


@forge/monorepo / backend/src / dockerArgs

Function: dockerArgs()

dockerArgs(config, request): readonly string[]

Defined in: backend/src/toolkit/sandbox.ts:225

The argv, built separately so it can be asserted on.

Every security property of this adapter is this array. A test that ran a command and checked its output would pass just as well with --network=none missing, so the argv is what the tests read — and the flags come before extraArgs, so a deployment adding options cannot quietly drop one.

Parameters

config

DockerSandboxConfig

request

SandboxRequest

Returns

readonly string[]