docker run force rename code example Example: rename a running docker container $ sudo docker rename discourse_app disc_app