Skip to main content

Type Alias: DirectoryTerminalOpts

DirectoryTerminalOpts: object

Type declaration

cmd?

optional cmd: string[]

If set, override the container's default terminal command and invoke these command arguments instead.

container?

optional container: Container

If set, override the default container used for the terminal.

experimentalPrivilegedNesting?

optional experimentalPrivilegedNesting: boolean

Provides Dagger access to the executed command.

Do not use this option unless you trust the command being executed; the command being executed WILL BE GRANTED FULL ACCESS TO YOUR HOST FILESYSTEM.

insecureRootCapabilities?

optional insecureRootCapabilities: boolean

Execute the command with all root capabilities. This is similar to running a command with "sudo" or executing "docker run" with the "--privileged" flag. Containerization does not provide any security guarantees when using this option. It should only be used when absolutely necessary and only with trusted commands.