logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

podman-rename - Rename an existing container

Description

       Rename changes the name of an existing container.  The old name is freed, and is available for use.  This
       command  can  be  run  on containers in any state.  However, 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.  At present, only containers are supported; pods and volumes cannot be renamed.

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

Name

       podman-rename - Rename an existing container

Options

See Also

podman(1)podman-rename(1)

Synopsis

podmanrenamecontainernewnamepodmancontainerrenamecontainernewname

See Also