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