blob: 79837ac8eb44c928079409bf7dabc246069c329c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<h1>docker start</h1> <p><br></p> <p>Start one or more stopped containers</p> <h2 id="usage">Usage</h2> <div class="highlight"><pre class="highlight" data-language="">$ docker start [OPTIONS] CONTAINER [CONTAINER...]
</pre></div> <p>For example uses of this command, refer to the <a href="#examples">examples section</a> below.</p> <h2 id="options">Options</h2> <table> <thead> <tr> <td>Name, shorthand</td> <td>Default</td> <td>Description</td> </tr> </thead> <tbody> <tr> <td>
<code class="language-plaintext highlighter-rouge">--attach</code> , <code class="language-plaintext highlighter-rouge">-a</code>
</td> <td></td> <td>Attach STDOUT/STDERR and forward signals</td> </tr> <tr> <td><code class="language-plaintext highlighter-rouge">--checkpoint</code></td> <td></td> <td>
<a href="../dockerd/index#daemon-configuration-file" target="_blank" rel="noopener" class="_"><span class="badge badge-warning" data-toggle="tooltip" title="Read about experimental daemon options (in a new window).">experimental (daemon)</span></a><br>Restore from this checkpoint</td> </tr> <tr> <td><code class="language-plaintext highlighter-rouge">--checkpoint-dir</code></td> <td></td> <td>
<a href="../dockerd/index#daemon-configuration-file" target="_blank" rel="noopener" class="_"><span class="badge badge-warning" data-toggle="tooltip" title="Read about experimental daemon options (in a new window).">experimental (daemon)</span></a><br>Use a custom checkpoint storage directory</td> </tr> <tr> <td><code class="language-plaintext highlighter-rouge">--detach-keys</code></td> <td></td> <td>Override the key sequence for detaching a container</td> </tr> <tr> <td>
<code class="language-plaintext highlighter-rouge">--interactive</code> , <code class="language-plaintext highlighter-rouge">-i</code>
</td> <td></td> <td>Attach container's STDIN</td> </tr> </tbody> </table> <h2 id="examples">Examples</h2> <div class="highlight"><pre class="highlight" data-language="">$ docker start my_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/start/" class="_attribution-link">https://docs.docker.com/engine/reference/commandline/start/</a>
</p>
</div>
|