1podman-rename(1)()                                          podman-rename(1)()
2
3
4

NAME

6       podman-rename - Rename an existing container
7
8

SYNOPSIS

10       podman rename container newname
11
12
13       podman container rename container newname
14
15

DESCRIPTION

17       Rename changes the name of an existing container.  The old name will be
18       freed, and will be available for use.  This command can be run on  con‐
19       tainers  in  any  state.   However,  running  containers  may not fully
20       receive the effects until they are restarted - for example,  a  running
21       container  may  still  use  the old name in its logs.  At present, only
22       containers are supported; pods and volumes cannot be renamed.
23
24

OPTIONS

EXAMPLES

27              # Rename a container by name
28              $ podman rename oldContainer aNewName
29
30
31
32              # Rename a container by ID
33              $ podman rename 717716c00a6b testcontainer
34
35
36
37              # Use the container rename alias
38              $ podman container rename 6e7514b47180 databaseCtr
39
40
41

SEE ALSO

43       podman(1), podman-create(1), podman-run(1)
44
45
46
47                                                            podman-rename(1)()
Impressum