podman-rename(1)
β¨ NAME β¨
podman-rename β rename an existing container
Okay so this is the podman-rename(1) page from the General Commands Manual, bestie, and it's giving βrename your container era.β π
π¦ SYNOPSIS π¦
podman rename container newname
podman container rename container newname
π DESCRIPTION π
Rename changes the name of an existing container. The old name is freed, and is available for use. Iconic. β¨
This command can be run on containers in any state. No cap.
π But heads up: running containers may not fully receive the effects until they are restarted β for example, a running container may still use the old name in its logs. So don't be shocked if the log vibes are still on the old-name energy for a minute.
Use podman volume rename to rename volumes. Different beast, bestie.
At present, pods cannot be renamed. That's just the situation. π
π§ OPTIONS π§
Nothing here, bestie β this section is literally empty. Zero options. No flags to collect. π
π EXAMPLES π
π Rename container with a given name
$ podman rename oldContainer aNewName
β Rename container with a given ID
$ podman rename 717716c00a6b testcontainer
π¦ Create an alias for container with a given ID
$ podman container rename 6e7514b47180 databaseCtr
π SEE ALSO π
Signed off by the footer, which just gives us podman-rename(1) β no extra version/date spill on this page, bestie. That's the whole manual-page moment. π«Άπ
π¦ where this page comes from
- arch rolling: podman-docker 6.1.4-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms