summaryrefslogtreecommitdiff
path: root/devdocs/docker/compose%2Freference%2Fstop%2Findex.html
blob: a95b04886544c2ea878df4595760c939e49dba96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<h1>docker-compose stop</h1>
<pre data-language="">Usage: docker-compose stop [options] [SERVICE...]

Options:
  -t, --timeout TIMEOUT      Specify a shutdown timeout in seconds.
                             (default: 10)
</pre> <p>Stops running containers without removing them. They can be started again with <code class="language-plaintext highlighter-rouge">docker-compose start</code>.</p> 
<p><a href="https://docs.docker.com/search/?q=fig">fig</a>, <a href="https://docs.docker.com/search/?q=composition">composition</a>, <a href="https://docs.docker.com/search/?q=compose">compose</a>, <a href="https://docs.docker.com/search/?q=docker">docker</a>, <a href="https://docs.docker.com/search/?q=orchestration">orchestration</a>, <a href="https://docs.docker.com/search/?q=cli">cli</a>, <a href="https://docs.docker.com/search/?q=stop">stop</a></p>
<div class="_attribution">
  <p class="_attribution-p">
    &copy; 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/compose/reference/stop/" class="_attribution-link">https://docs.docker.com/compose/reference/stop/</a>
  </p>
</div>