docker rename
SafeRename containers
docker rename <old> <new>
Renames a container — replace random names with meaningful ones to prevent mix-ups.
Examples
docker rename eager_morse web-prodGive an operational name
Syntax
docker rename <old> <new>
Before you run it
Name change only.
Related commands
- docker psList containers
- docker runRun a container
The same reference, with no signal at all
Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store