Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 1.15 KB

pouch_rename.md

File metadata and controls

46 lines (32 loc) · 1.15 KB

pouch rename

Rename a container with newName

Synopsis

Rename a container object in Pouchd. You can change the name of one container identified by its name or ID. The container you renamed is ready to be used by its new name.

pouch rename CONTAINER NEWNAME

Examples

$ pouch ps
Name     ID       Status    Image                              Runtime
foo      71b9c1   Running   docker.io/library/busybox:latest   runc
$ pouch rename foo newName
$ pouch ps
Name     ID       Status    Image                              Runtime
newName  71b9c1   Running   docker.io/library/busybox:latest   runc

Options

  -h, --help   help for rename

Options inherited from parent commands

  -D, --debug              Switch client log level to DEBUG mode
  -H, --host string        Specify connecting address of Pouch CLI (default "unix:///var/run/pouchd.sock")
      --tlscacert string   Specify CA file of TLS
      --tlscert string     Specify cert file of TLS
      --tlskey string      Specify key file of TLS
      --tlsverify          Use TLS and verify remote

SEE ALSO

  • pouch - An efficient container engine