Skip to main content
Version: 1.0-beta

Command

API reference​

A command's arguments and execution settings.

Implements Node

args: [String!]!

The command arguments.

id: ID!

A unique identifier for this Command.

insecureRootCapabilities: Boolean!

Whether the command has all root capabilities.

privilegedNesting: Boolean!

Whether the command has access to Dagger.

workdir: String

Working directory override. If unset, use the container's working directory.

env: [EnvVariable!]!

Environment variable overrides. Other variables come from the container.

References

Returned by