change/create docker container name code example Example: rename a running docker container $ sudo docker rename discourse_app disc_app