mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-09-06 23:57:48 +00:00
We enforce the naming scheme "<podname>-<containername>" here [1]. Therefore we must not rename the pod in case of a naming conflict between pod name and container name. Not renaming the pod increases the usability for the user and easies scripting based on the name. Otherwise a user must set some label to reliable find a pod after creation. Or have to implement the renaming logic in the script. [1] https://github.com/containers/podman/blob/main/pkg/specgen/generate/kube/kube.go#L140 Fixes #12722 Signed-off-by: Christoph Petrausch <chrobbert@gmail.com> |
||
|---|---|---|
| .. | ||
| entities | ||
| filters | ||
| infra | ||
| utils | ||