# Configs

{% hint style="info" %}
The **Configs** menu is only available to Docker Swarm environments.
{% endhint %}

Docker 17.06 introduced swarm service configs which allow you to store non-sensitive information, such as configuration files, outside a service’s image or running containers. This allows you to keep your images as generic as possible, without the need to bind-mount configuration files into the containers or use environment variables. [Secrets](/sts/user/docker/secrets.md) is another option for storing sensitive information.

<figure><img src="/files/4ArJBkKjRUASKoX0J5eC" alt=""><figcaption></figcaption></figure>

In Portainer you can add and remove custom configurations for use in deployments.

{% content-ref url="/pages/-MhujxRYztGoxcljPmZg" %}
[Add a new config](/sts/user/docker/configs/add.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MhukEJB1oetlPgxN5Y5" %}
[Remove a config](/sts/user/docker/configs/remove.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.portainer.io/sts/user/docker/configs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
