Add Underscores (`_`) to valid label content

as docker can work with them.
This commit is contained in:
Max Mynter 2024-07-31 14:00:17 +02:00
parent c3677b13d1
commit 5726401708
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ all previous values.
### Key format recommendations
A label key is the left-hand side of the key-value pair. Keys are alphanumeric
strings which may contain periods (`.`) and hyphens (`-`). Most Docker users use
strings which may contain periods (`.`), underscores (`_`), and hyphens (`-`). Most Docker users use
images created by other organizations, and the following guidelines help to
prevent inadvertent duplication of labels across objects, especially if you plan
to use labels as a mechanism for automation.