Chapter 5. Config Console Commands


The config commands are used for managing container configuration. The configuration data is edited in two stages. First the changes are queued until they are dynamically loaded into the container by executing the config:update command. A copy of the configuration is persisted to the file system in the container's etc folder.
When editing a configuration the commands are used as follows:
  1. Start the editing session for the specified configuration.
    config:edit
  2. Edits, or creates, a configuration.
    • config:proplist
      Lists the properties in the configuration.
    • config:propappend
      Append a new property to the configuration.
    • config:propset
      Sets the value for a configuration property.
    • config:propdel
      Deletes a property from the configuration.
  3. config:update
    Saves the changes and updates the containers using the configuration.
You can abandon an editing session using config:cancel.
Type config: then press Tab at the prompt to view the available commands.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.