Skip to main content

porter config

porter config contains commands for controlling local configuration settings.

porter config

Running porter config with no subcommands will output the current configuration file to the terminal. Note that this configuration may be overwritten through a combination of flags and environment variables.

porter config set-cluster [CLUSTER_ID]

Saves the cluster ID in the default configuration.

porter config set-host [HOSTNAME]

Saves the host in the default configuration. Note this host must include the protocol and should not contain trailing slashes. For example:

porter config set-host https://dashboard.getporter.dev

porter config set-project [PROJECT_ID]

Saves the project ID in the default configuration.

porter config set-registry [REGISTRY_ID]

Saves the registry ID in the default configuration.