Skip to content

Latest commit

 

History

History
175 lines (122 loc) · 5.83 KB

provisioner_start.md

File metadata and controls

175 lines (122 loc) · 5.83 KB
title provisioner start
description Run a provisioner daemon
product Coder
section reference
source_url https://coder.com/docs/reference/cli/provisioner_start
fetched 2026-09-26
tags
coder
reference

Run a provisioner daemon

Usage

coder provisioner start [flags]

Options

-c, --cache-dir

Type string
Environment $CODER_CACHE_DIRECTORY
Default ~/.cache/coder

Directory to store cached data.

-t, --tag

Type string-array
Environment $CODER_PROVISIONERD_TAGS

Tags to filter provisioner jobs by.

--poll-interval

Type duration
Environment $CODER_PROVISIONERD_POLL_INTERVAL
Default 1s

Deprecated and ignored.

--poll-jitter

Type duration
Environment $CODER_PROVISIONERD_POLL_JITTER
Default 100ms

Deprecated and ignored.

--psk

Type string
Environment $CODER_PROVISIONER_DAEMON_PSK

Pre-shared key to authenticate with Coder server.

--key

Type string
Environment $CODER_PROVISIONER_DAEMON_KEY

Provisioner key to authenticate with Coder server.

--name

Type string
Environment $CODER_PROVISIONER_DAEMON_NAME

Name of this provisioner daemon. Defaults to the current hostname without FQDN.

--verbose

Type bool
Environment $CODER_PROVISIONER_DAEMON_VERBOSE
Default false

Output debug-level logs.

--log-human

Type string
Environment $CODER_PROVISIONER_DAEMON_LOGGING_HUMAN
Default /dev/stderr

Output human-readable logs to a given file.

--log-json

Type string
Environment $CODER_PROVISIONER_DAEMON_LOGGING_JSON

Output JSON logs to a given file.

--log-stackdriver

Type string
Environment $CODER_PROVISIONER_DAEMON_LOGGING_STACKDRIVER

Output Stackdriver compatible logs to a given file.

--log-filter

Type string-array
Environment $CODER_PROVISIONER_DAEMON_LOG_FILTER

Filter debug logs by matching against a given regex. Use .* to match all debug logs.

--prometheus-enable

Type bool
Environment $CODER_PROMETHEUS_ENABLE
Default false

Serve prometheus metrics on the address defined by prometheus address.

--prometheus-address

Type string
Environment $CODER_PROMETHEUS_ADDRESS
Default 127.0.0.1:2112

The bind address to serve prometheus metrics.

--experiments

Type string-array
Environment $CODER_EXPERIMENTS
YAML experiments

Enable one or more experiments. These are not ready for production. Separate multiple experiments with commas, or enter '*' to opt-in to all available experiments.

-O, --org

Type string
Environment $CODER_ORGANIZATION

Select which organization (uuid or name) to use.