docs/versioned_docs/version-1.0-beta/reference/cli/index.mdx
A tool to run composable workflows in containers
dagger [options] [subcommand | file...]
--allow-llm strings List of URLs of remote modules allowed to access LLM APIs, or 'all' to bypass restrictions for the entire session
-y, --auto-apply Automatically apply changes when a changeset is returned
-c, --command string Execute a dagger shell command
-d, --debug Show debug logs and full verbosity
--eager-runtime load module runtime eagerly
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-m, --mod string Module reference to load, either a local path, a remote git repo, or 'core' (defaults to current directory)
--model string LLM model to use (e.g., 'claude-sonnet-4-5', 'gpt-4.1')
-E, --no-exit Leave the TUI running after completion
-M, --no-mod Don't automatically load a module (mutually exclusive with --mod)
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
Interact with the Dagger API
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
Send API queries to a dagger engine
Send API queries to a dagger engine.
When no document file is provided, reads query from standard input.
Can optionally provide the GraphQL operation name if there are multiple queries in the document.
dagger api query [options] [operation]
dagger api query <<EOF
{
container {
from(address:"hello-world") {
withExec(args:["/hello"]) {
stdout
}
}
}
}
EOF
--allow-llm strings List of URLs of remote modules allowed to access LLM APIs, or 'all' to bypass restrictions for the entire session
--doc string Read query from file (defaults to reading from stdin)
--eager-runtime load module runtime eagerly
-m, --mod string Module reference to load, either a local path, a remote git repo, or 'core' (defaults to current directory)
-M, --no-mod Don't automatically load a module (mutually exclusive with --mod)
--var strings List of query variables, in key=value format
--var-json string Query variables in JSON format (overrides --var)
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
Check the state of your project by running tests, linters, etc.
Check the state of your project by running tests, linters, etc.
Examples: dagger check # Run all checks dagger check -l # List all available checks dagger check go:lint # Run the go:lint check and any subchecks dagger -W github.com/acme/ws check go:lint # Run check(s) against explicit workspace
dagger check [options] [pattern...]
--allow-llm strings List of URLs of remote modules allowed to access LLM APIs, or 'all' to bypass restrictions for the entire session
--eager-runtime load module runtime eagerly
--failfast Cancel remaining checks on first failure
--generate Only run generate-as-checks, skip annotated check functions
-l, --list List available checks
-m, --mod string Module reference to load, either a local path, a remote git repo, or 'core' (defaults to current directory)
--no-generate Only run annotated check functions, skip generate-as-checks
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
Manage Dagger Cloud
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
Manage Dagger Cloud billing
dagger cloud billing
--json Print JSON output
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
Open the billing portal for a Dagger Cloud org
dagger cloud billing manage [org]
--open Open the billing portal in a browser
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--json Print JSON output
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
List Dagger Cloud plans available at signup
dagger cloud billing plans
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--json Print JSON output
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
Log in to Dagger Cloud
dagger cloud login [options] [org]
--switch-account Choose a different Dagger Cloud account
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
Log out from Dagger Cloud
dagger cloud logout
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
Manage Dagger Cloud organizations
dagger cloud org [flags]
--json Print JSON output
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
Show Dagger Cloud organization status
dagger cloud org info [org] [flags]
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--json Print JSON output
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
List Dagger Cloud organizations
dagger cloud org list [flags]
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--json Print JSON output
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
Select the current Dagger Cloud organization
dagger cloud org use <org> [flags]
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--json Print JSON output
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
Manage workspace environments
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
Create a workspace environment
dagger env create NAME
--here Write workspace config at the selected workspace cwd
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
List workspace environments
dagger env list
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
Remove a workspace environment
dagger env rm NAME
--here Write workspace config at the selected workspace cwd
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
Execute a command in a Dagger session
Executes the specified command in a Dagger Session and displays live progress in a TUI.
DAGGER_SESSION_PORT and DAGGER_SESSION_TOKEN will be conveniently
injected automatically.
For example:
jq -n '{query:"{container{id}}"}' | \
dagger exec sh -c 'curl -s \
-u $DAGGER_SESSION_TOKEN: \
-H "content-type:application/json" \
-d @- \
http://127.0.0.1:$DAGGER_SESSION_PORT/query'
dagger exec [options] <command>...
dagger exec go run main.go
dagger exec node index.mjs
dagger exec python main.py
--cleanup-timeout duration max duration to wait between SIGTERM and SIGKILL on interrupt (default 10s)
--focus Only show output for focused commands.
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
Work with module functions
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
Call one or more functions, interconnected into a pipeline
dagger function call [options] [function]...
--allow-llm strings List of URLs of remote modules allowed to access LLM APIs, or 'all' to bypass restrictions for the entire session
--eager-runtime load module runtime eagerly
-j, --json Present result as JSON
-m, --mod string Module reference to load, either a local path, a remote git repo, or 'core' (defaults to current directory)
-M, --no-mod Don't automatically load a module (mutually exclusive with --mod)
-o, --output string Save the result to a local file or directory
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
List available functions
List available functions in a module.
This is similar to dagger function call --help, but only focused on showing the
available functions.
Examples: dagger function list # List top-level functions in current workspace dagger function list container # List functions on container dagger -m core function list # List core functions dagger -W github.com/acme/ws function list # List top-level functions in explicit workspace dagger -W github.com/acme/ws function list container from
dagger function list [options] [function]...
--allow-llm strings List of URLs of remote modules allowed to access LLM APIs, or 'all' to bypass restrictions for the entire session
--eager-runtime load module runtime eagerly
-m, --mod string Module reference to load, either a local path, a remote git repo, or 'core' (defaults to current directory)
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
Generate assets of your project
Generate assets of your project
Examples: dagger generate # Generate all assets dagger generate -l # List all available generators dagger generate go:bin # Generate by selecting the generator function dagger -W github.com/acme/ws generate go:bin # Generate against explicit workspace
dagger generate [options] [pattern...]
-l, --list List available generators
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
Manage Dagger Cloud integration providers
dagger integration
--json Print JSON output
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
List accounts visible to a Dagger Cloud integration provider
dagger integration accounts <provider>
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--json Print JSON output
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
Set up a Dagger Cloud integration provider
dagger integration setup <provider>
--open Open the setup URL in a browser
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--json Print JSON output
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
Work with modules in your workspace
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
Install a module into the workspace
Install a module into the current workspace. Alias for dagger workspace install.
dagger module install [options] <module> [flags]
dagger module install github.com/shykes/daggerverse/[email protected]
--here Write workspace config at the selected workspace cwd
-n, --name string Name to use for the module in the workspace. Defaults to the name of the module being installed.
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
List modules installed in the workspace
dagger module list [flags]
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
Recommend modules based on files in your workspace
Scan the workspace for files matching the recommend glob of each known module and print those whose pattern matches at least one file.
Modules already installed in the workspace are excluded.
dagger module recommend [flags]
dagger module recommend
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
Search for modules you can install
Search the module registry by name or description.
With no query, lists all known modules.
dagger module search [query] [flags]
dagger module search wolfi
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
Uninstall a module from the workspace
Uninstall a module from the current workspace. Alias for dagger workspace uninstall.
dagger module uninstall [options] <module> [flags]
dagger module uninstall hello
--here Write workspace config at the selected workspace cwd
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
Start services defined by the module and expose them on the host
Start services defined by the module and expose them on the host
Examples: dagger up # Start all services dagger up -l # List all available services dagger up web # Start only the 'web' service
dagger up [options] [pattern...]
-l, --list List available services
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
Print dagger version
dagger version
--check Check for updates
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
Manage the current workspace
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
List recent Cloud activity for the selected workspace
dagger workspace activity [flags]
-a, --all Show activity from all remotes in the current workspace
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
Get or set autocheck for the selected workspace remote
dagger workspace autocheck [on|off] [flags]
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
Get or set workspace configuration
Get or set workspace configuration values in .dagger/config.toml.
With no arguments, prints the full configuration. With one argument, prints the value at the given key. With two arguments, sets the value at the given key.
With --env, reads show the effective env-applied view while writes target that environment's overlay. Explicit env.* keys always address raw overlay storage.
Local module source values are stored relative to .dagger/config.toml.
dagger workspace config [key] [value] [flags]
--here Write workspace config at the selected workspace cwd
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
Print the selected workspace config file
dagger workspace config-file [flags]
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
Print the workspace cwd
dagger workspace cwd [flags]
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
Create workspace config
Create .dagger/config.toml for the current workspace.
dagger workspace init [flags]
--here Write workspace config at the selected workspace cwd
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
Install a module
Install a module into the current workspace.
If no workspace config is selected, this creates one at the workspace root first. Use --here to create the workspace config at the workspace cwd instead.
dagger workspace install [options] <module> [flags]
dagger workspace install github.com/shykes/daggerverse/[email protected]
--here Write workspace config at the selected workspace cwd
-n, --name string Name to use for the module in the workspace. Defaults to the name of the module being installed.
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
Migrate a legacy dagger.json project to the workspace format
Converts a legacy dagger.json to the .dagger/config.toml workspace format.
dagger workspace migrate [flags]
-f, --force Proceed even if modules cannot be loaded to generate settings hints
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
Print the selectable remote address for the current workspace
dagger workspace remote [flags]
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
List selectable remote workspace addresses
dagger workspace remotes [flags]
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
Print the workspace root
dagger workspace root [flags]
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
Get or set module settings
dagger workspace settings [module] [key] [value] [flags]
--here Write workspace config at the selected workspace cwd
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
Uninstall a module
Uninstall a module from the current workspace, removing it from .dagger/config.toml.
dagger workspace uninstall [options] <module> [flags]
dagger workspace uninstall hello
--here Write workspace config at the selected workspace cwd
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref
Refresh workspace-managed state
Refresh workspace-managed state.
With no module names, refresh entries already recorded in .dagger/lock.
With module names, refresh only those modules from .dagger/config.toml.
dagger workspace update [module...] [flags]
"dagger workspace update" or "dagger workspace update wolfi"
-y, --auto-apply Automatically apply changes when a changeset is returned
-d, --debug Show debug logs and full verbosity
--env string Apply the named workspace environment overlay
-i, --interactive Spawn a terminal on container exec failure
--interactive-command string Change the default command for interactive mode (default "/bin/sh")
--lock string Lock lookup mode (disabled, live, pinned, frozen). Defaults to disabled.
-E, --no-exit Leave the TUI running after completion
--org string Dagger Cloud org name for Cloud-scoped commands
--progress string Progress output format (auto, plain, tty, dots, logs) (default "auto")
-q, --quiet count Reduce verbosity (show progress, but clean up at the end)
-s, --silent Do not show progress at all
-v, --verbose count Increase verbosity (use -vv or -vvv for more)
-w, --web Open trace URL in a web browser
-W, --workspace string Select the workspace location to load from (local path or git ref)
--x-release string Run an experimental release from a Dagger git ref