:_mod-docs-content-type: ASSEMBLY
[id="configmaps"]
= Creating and using config maps
include::_attributes/common-attributes.adoc[]
:context: configmaps

toc::[]

[role="_abstract"]
You can review the following sections to learn how to create and use config maps. By using a config map, you can decouple environment-specific configuration from your container images, so that your applications are easily portable.

include::modules/nodes-pods-configmap-overview.adoc[leveloffset=+1]

include::modules/nodes-pods-configmap-create-from-console.adoc[leveloffset=+1]

include::modules/nodes-pods-configmap-create.adoc[leveloffset=+1]

include::modules/nodes-pods-configmap-creating-from-directories.adoc[leveloffset=+2]

include::modules/nodes-pods-configmap-creating-from-files.adoc[leveloffset=+2]

include::modules/nodes-pods-configmap-creating-from-literal-values.adoc[leveloffset=+2]

include::modules/nodes-pods-configmaps-use-case-consuming-in-env-vars.adoc[leveloffset=+2]

include::modules/nodes-pods-configmaps-use-case-setting-command-line-arguments.adoc[leveloffset=+2]

include::modules/nodes-pods-configmaps-use-case-consuming-in-volumes.adoc[leveloffset=+2]
