Difference between revisions of "Docker-compose stop"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 1: Line 1:
 
{{Draft}}
 
{{Draft}}
 +
 +
<code>docker-compose stop</code> stops running containers without removing them. They can be started again with <code>[[docker-compose start]]</code>
  
 
  https://docs.docker.com/compose/reference/stop/
 
  https://docs.docker.com/compose/reference/stop/

Revision as of 11:33, 31 March 2021

This article is a Draft. Help us to complete it.

docker-compose stop stops running containers without removing them. They can be started again with docker-compose start

https://docs.docker.com/compose/reference/stop/
  • docker-compose stop
  • docker-compose stop SERVICE_NAME


docker-compose stop SERVICE_NAME
Traceback (most recent call last):
  File "/usr/local/bin/docker-compose", line 7, in <module>
    from compose.cli.main import main
ModuleNotFoundError: No module named 'compose'


Related commands

See also

Advertising: