diff options
author | Paul Holzinger <pholzing@redhat.com> | 2021-09-15 15:36:00 +0200 |
---|---|---|
committer | Paul Holzinger <pholzing@redhat.com> | 2021-09-15 16:35:55 +0200 |
commit | 0b1c45bc542636d48abcc3980baa02b9a65f57a9 (patch) | |
tree | b1a5caf7393b66923cb0e14298a55a6181bb8dc1 /libpod/container_config.go | |
parent | 4dd7bfdfaa3adf95af39fd45f74d49cea0c80064 (diff) | |
download | podman-0b1c45bc542636d48abcc3980baa02b9a65f57a9.tar.gz podman-0b1c45bc542636d48abcc3980baa02b9a65f57a9.tar.bz2 podman-0b1c45bc542636d48abcc3980baa02b9a65f57a9.zip |
container runlabel remove image tag from name
When no name is given for podman container runlabel it will default to
the image base name. However this can contain a tag. Since podman does
not accept container names with a colon the run command will fail if it
contains something like `podman run --name NAME ...`.
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=2004263
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'libpod/container_config.go')
0 files changed, 0 insertions, 0 deletions