github.com/kaisenlinux/docker.io@v0.0.0-20230510090727-ea55db55fac7/cli/docs/reference/commandline/config_rm.md (about)

     1  ---
     2  title: "config rm"
     3  description: "The config rm command description and usage"
     4  keywords: ["config, rm"]
     5  ---
     6  
     7  # config rm
     8  
     9  ```Markdown
    10  Usage:  docker config rm CONFIG [CONFIG...]
    11  
    12  Remove one or more configs
    13  
    14  Aliases:
    15    rm, remove
    16  
    17  Options:
    18        --help   Print usage
    19  ```
    20  
    21  ## Description
    22  
    23  Removes the specified configs from the swarm.
    24  
    25  For detailed information about using configs, refer to [store configuration data using Docker Configs](https://docs.docker.com/engine/swarm/configs/).
    26  
    27  > **Note**
    28  >
    29  > This is a cluster management command, and must be executed on a swarm
    30  > manager node. To learn about managers and workers, refer to the
    31  > [Swarm mode section](https://docs.docker.com/engine/swarm/) in the
    32  > documentation.
    33  
    34  ## Examples
    35  
    36  This example removes a config:
    37  
    38  ```console
    39  $ docker config rm my_config
    40  sapth4csdo5b6wz2p5uimh5xg
    41  ```
    42  
    43  > **Warning**
    44  >
    45  > Unlike `docker rm`, this command does not ask for confirmation before removing
    46  > a config.
    47  
    48  
    49  ## Related commands
    50  
    51  * [config create](config_create.md)
    52  * [config inspect](config_inspect.md)
    53  * [config ls](config_ls.md)