Back to Dagger

CLI Reference

docs/versioned_docs/version-1.0-beta/reference/cli/index.mdx

0.21.588.2 KB
Original Source

dagger

A tool to run composable workflows in containers

dagger [options] [subcommand | file...]

Options

      --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

SEE ALSO

dagger api

Interact with the Dagger API

Options inherited from parent 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

SEE ALSO

  • dagger - A tool to run composable workflows in containers
  • dagger api query - Send API queries to a dagger engine

dagger api query

Send API queries to a dagger engine

Synopsis

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]

Examples

dagger api query <<EOF
{
  container {
    from(address:"hello-world") {
      withExec(args:["/hello"]) {
        stdout
      }
    }
  }
}
EOF

Options

      --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)

Options inherited from parent 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

SEE ALSO

dagger check

Check the state of your project by running tests, linters, etc.

Synopsis

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...]

Options

      --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

Options inherited from parent 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

SEE ALSO

  • dagger - A tool to run composable workflows in containers

dagger cloud

Manage Dagger Cloud

Options inherited from parent 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

SEE ALSO

dagger cloud billing

Manage Dagger Cloud billing

dagger cloud billing

Options

      --json   Print JSON output

Options inherited from parent 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

SEE ALSO

dagger cloud billing manage

Open the billing portal for a Dagger Cloud org

dagger cloud billing manage [org]

Options

      --open   Open the billing portal in a browser

Options inherited from parent 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")
      --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

SEE ALSO

dagger cloud billing plans

List Dagger Cloud plans available at signup

dagger cloud billing plans

Options inherited from parent 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")
      --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

SEE ALSO

dagger cloud login

Log in to Dagger Cloud

dagger cloud login [options] [org]

Options

      --switch-account   Choose a different Dagger Cloud account

Options inherited from parent 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

SEE ALSO

dagger cloud logout

Log out from Dagger Cloud

dagger cloud logout

Options inherited from parent 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

SEE ALSO

dagger cloud org

Manage Dagger Cloud organizations

dagger cloud org [flags]

Options

      --json   Print JSON output

Options inherited from parent 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

SEE ALSO

dagger cloud org info

Show Dagger Cloud organization status

dagger cloud org info [org] [flags]

Options inherited from parent 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")
      --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

SEE ALSO

dagger cloud org list

List Dagger Cloud organizations

dagger cloud org list [flags]

Options inherited from parent 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")
      --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

SEE ALSO

dagger cloud org use

Select the current Dagger Cloud organization

dagger cloud org use <org> [flags]

Options inherited from parent 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")
      --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

SEE ALSO

dagger env

Manage workspace environments

Options inherited from parent 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

SEE ALSO

dagger env create

Create a workspace environment

dagger env create NAME

Options

      --here   Write workspace config at the selected workspace cwd

Options inherited from parent 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

SEE ALSO

dagger env list

List workspace environments

dagger env list

Options inherited from parent 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

SEE ALSO

dagger env rm

Remove a workspace environment

dagger env rm NAME

Options

      --here   Write workspace config at the selected workspace cwd

Options inherited from parent 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

SEE ALSO

dagger exec

Execute a command in a Dagger session

Synopsis

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:

shell
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>...

Examples

dagger exec go run main.go
dagger exec node index.mjs
dagger exec python main.py

Options

      --cleanup-timeout duration   max duration to wait between SIGTERM and SIGKILL on interrupt (default 10s)
      --focus                      Only show output for focused commands.

Options inherited from parent 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

SEE ALSO

  • dagger - A tool to run composable workflows in containers

dagger function

Work with module functions

Options inherited from parent 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

SEE ALSO

dagger function call

Call one or more functions, interconnected into a pipeline

dagger function call [options] [function]...

Options

      --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

Options inherited from parent 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

SEE ALSO

dagger function list

List available functions

Synopsis

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]...

Options

      --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)

Options inherited from parent 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

SEE ALSO

dagger generate

Generate assets of your project

Synopsis

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...]

Options

  -l, --list   List available generators

Options inherited from parent 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

SEE ALSO

  • dagger - A tool to run composable workflows in containers

dagger integration

Manage Dagger Cloud integration providers

dagger integration

Options

      --json   Print JSON output

Options inherited from parent 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

SEE ALSO

dagger integration accounts

List accounts visible to a Dagger Cloud integration provider

dagger integration accounts <provider>

Options inherited from parent 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")
      --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

SEE ALSO

dagger integration setup

Set up a Dagger Cloud integration provider

dagger integration setup <provider>

Options

      --open   Open the setup URL in a browser

Options inherited from parent 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")
      --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

SEE ALSO

dagger module

Work with modules in your workspace

Options inherited from parent 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

SEE ALSO

dagger module install

Install a module into the workspace

Synopsis

Install a module into the current workspace. Alias for dagger workspace install.

dagger module install [options] <module> [flags]

Examples

dagger module install github.com/shykes/daggerverse/[email protected]

Options

      --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.

Options inherited from parent 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

SEE ALSO

dagger module list

List modules installed in the workspace

dagger module list [flags]

Options inherited from parent 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

SEE ALSO

dagger module recommend

Recommend modules based on files in your workspace

Synopsis

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]

Examples

dagger module recommend

Options inherited from parent 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

SEE ALSO

Search for modules you can install

Synopsis

Search the module registry by name or description.

With no query, lists all known modules.

dagger module search [query] [flags]

Examples

dagger module search wolfi

Options inherited from parent 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

SEE ALSO

dagger module uninstall

Uninstall a module from the workspace

Synopsis

Uninstall a module from the current workspace. Alias for dagger workspace uninstall.

dagger module uninstall [options] <module> [flags]

Examples

dagger module uninstall hello

Options

      --here   Write workspace config at the selected workspace cwd

Options inherited from parent 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

SEE ALSO

dagger up

Start services defined by the module and expose them on the host

Synopsis

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...]

Options

  -l, --list   List available services

Options inherited from parent 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

SEE ALSO

  • dagger - A tool to run composable workflows in containers

dagger version

Print dagger version

dagger version

Options

      --check   Check for updates

Options inherited from parent 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

SEE ALSO

  • dagger - A tool to run composable workflows in containers

dagger workspace

Manage the current workspace

Options inherited from parent 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

SEE ALSO

dagger workspace activity

List recent Cloud activity for the selected workspace

dagger workspace activity [flags]

Options

  -a, --all   Show activity from all remotes in the current workspace

Options inherited from parent 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

SEE ALSO

dagger workspace autocheck

Get or set autocheck for the selected workspace remote

dagger workspace autocheck [on|off] [flags]

Options inherited from parent 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

SEE ALSO

dagger workspace config

Get or set workspace configuration

Synopsis

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]

Options

      --here   Write workspace config at the selected workspace cwd

Options inherited from parent 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

SEE ALSO

dagger workspace config-file

Print the selected workspace config file

dagger workspace config-file [flags]

Options inherited from parent 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

SEE ALSO

dagger workspace cwd

Print the workspace cwd

dagger workspace cwd [flags]

Options inherited from parent 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

SEE ALSO

dagger workspace init

Create workspace config

Synopsis

Create .dagger/config.toml for the current workspace.

dagger workspace init [flags]

Options

      --here   Write workspace config at the selected workspace cwd

Options inherited from parent 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

SEE ALSO

dagger workspace install

Install a module

Synopsis

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]

Examples

dagger workspace install github.com/shykes/daggerverse/[email protected]

Options

      --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.

Options inherited from parent 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

SEE ALSO

dagger workspace migrate

Migrate a legacy dagger.json project to the workspace format

Synopsis

Converts a legacy dagger.json to the .dagger/config.toml workspace format.

dagger workspace migrate [flags]

Options

  -f, --force   Proceed even if modules cannot be loaded to generate settings hints

Options inherited from parent 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

SEE ALSO

dagger workspace remote

Print the selectable remote address for the current workspace

dagger workspace remote [flags]

Options inherited from parent 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

SEE ALSO

dagger workspace remotes

List selectable remote workspace addresses

dagger workspace remotes [flags]

Options inherited from parent 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

SEE ALSO

dagger workspace root

Print the workspace root

dagger workspace root [flags]

Options inherited from parent 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

SEE ALSO

dagger workspace settings

Get or set module settings

dagger workspace settings [module] [key] [value] [flags]

Options

      --here   Write workspace config at the selected workspace cwd

Options inherited from parent 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

SEE ALSO

dagger workspace uninstall

Uninstall a module

Synopsis

Uninstall a module from the current workspace, removing it from .dagger/config.toml.

dagger workspace uninstall [options] <module> [flags]

Examples

dagger workspace uninstall hello

Options

      --here   Write workspace config at the selected workspace cwd

Options inherited from parent 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

SEE ALSO

dagger workspace update

Refresh workspace-managed state

Synopsis

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]

Examples

"dagger workspace update" or "dagger workspace update wolfi"

Options inherited from parent 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

SEE ALSO