blob: a8837f70179662588086542496a417a2e4c34331 (
plain)
1
2
3
4
5
6
7
8
|
<h1>docker rename</h1> <p><br></p> <p>Rename a container</p> <h2 id="usage">Usage</h2> <div class="highlight"><pre class="highlight" data-language="">$ docker rename CONTAINER NEW_NAME
</pre></div> <h2 id="description">Description</h2> <p name="extended-description">The <code class="language-plaintext highlighter-rouge">docker rename</code> command renames a container.</p> <p>For example uses of this command, refer to the <a href="#examples">examples section</a> below.</p> <h2 id="examples">Examples</h2> <div class="highlight"><pre class="highlight" data-language="">$ docker rename my_container my_new_container
</pre></div> <div class="_attribution">
<p class="_attribution-p">
© 2019 Docker, Inc.<br>Licensed under the Apache License, Version 2.0.<br>Docker and the Docker logo are trademarks or registered trademarks of Docker, Inc. in the United States and/or other countries.<br>Docker, Inc. and other parties may also have trademark rights in other terms used herein.<br>
<a href="https://docs.docker.com/engine/reference/commandline/rename/" class="_attribution-link">https://docs.docker.com/engine/reference/commandline/rename/</a>
</p>
</div>
|