6.2. config:delete, delete

download PDF


deletes a configuration from the container


config:delte [ --help ] [[ -f ] | [ --use-file ]] [ --no-delete-cfg-file ] { pid }


When you delete a configuration, the change is made directly on the running container. Any properties set in the configuration are reverted to their default values and the behavior of the container will be immediate.
If you use the --no-delete-cfg-file argument, the original settings can be reloaded from the configuration file.


Table 6.2, “config:delete Arguments” describes the command's arguments.
Table 6.2. config:delete Arguments
--help Displays the online help for this command.
-f, --use-fileUse a filename instead of the PID to locate the configuration.
--no-delete-cfg-fileDoes not delete the associated configuration file from the container's etc folder.
pid Specifies the configuration's persistent identifier.
Red Hat logoGithubRedditYoutubeTwitter


Try, buy, & sell


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.