1podman-rename(1)            General Commands Manual           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 is
18       freed, and is available for use.  This command can be run on containers
19       in  any  state.   However, running containers may not fully receive the
20       effects until they are restarted - for example, a running container may
21       still  use  the  old name in its logs.  At present, only containers are
22       supported; pods and volumes cannot be renamed.
23
24

OPTIONS

EXAMPLES

27       Rename container with a given name
28
29       $ podman rename oldContainer aNewName
30
31
32
33       Rename container with a given ID
34
35       $ podman rename 717716c00a6b testcontainer
36
37
38
39       Create an alias for container with a given ID
40
41       $ podman container rename 6e7514b47180 databaseCtr
42
43
44

SEE ALSO

46       podman(1)
47
48
49
50                                                              podman-rename(1)
Impressum