Page MenuHomeVyOS Platform

Containers add label option
Closed, ResolvedPublicFEATURE REQUEST

Description

https://docs.podman.io/en/latest/markdown/podman-network-create.1.html#label-label

--label mykey=value

--label=com.example.demo-label=example-value

Label keys can contain lowercase alphanumeric characters, periods (.) and hyphens (-). They must start and end with an alphanumeric character. DNS notation rules are followed so multiple consecutive periods and hyphens are disallowed.

set container name c1 label vyos value 'my label'

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Feature (new functionality)

Event Timeline

Viacheslav changed the task status from Open to In progress.Aug 31 2023, 8:37 AM
Viacheslav claimed this task.
syncer triaged this task as Normal priority.Aug 31 2023, 12:35 PM
syncer moved this task from Need Triage to In Progress on the VyOS 1.4 Sagitta board.
Viacheslav moved this task from In Progress to Finished on the VyOS 1.4 Sagitta board.

This pr breaks environment variable processing as it resets env_opt to an empty string when startting to process the labels.