portainer-docs/user/docker/configs/README.md

21 lines
890 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# 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 services 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](../secrets/) is another option for storing sensitive information.
<figure><img src="../../../.gitbook/assets/2.15-docker_configs_config_list.png" alt=""><figcaption></figcaption></figure>
In Portainer you can add and remove custom configurations for use in deployments.
{% content-ref url="add.md" %}
[add.md](add.md)
{% endcontent-ref %}
{% content-ref url="remove.md" %}
[remove.md](remove.md)
{% endcontent-ref %}