This command manages the DC/OS configuration file created when you run dcos cluster setup. The configuration file is located in ~/.dcos/clusters/<cluster_id>/dcos.toml. If you have not changed any configuration properties, you should see this output when you run dcos config show: <cluster_name>
core.dcos_acs_token ********
core.dcos_url <cluster_url>
core.ssl_verify `true` or `false`

Environment variables

Configuration properties have corresponding environment variables. If a property is in the core section (ex., it corresponds to the environment variable DCOS_FOO. All other properties (ex. correspond to the environment variable DCOS_FOO_BAR.

Environment variables take precedence over corresponding configuration property.


dcos config


Name, shorthand Default Description
--help, h Print usage.
--info Print a short description of this subcommand.
--version, v Print version information.

Child commands

Command Description
dcos config set Add or set a DC/OS configuration property.
dcos config show Print the DC/OS configuration file contents.
dcos config unset Remove a property from the configuration file.
dcos config validate Validate changes to the configuration file.