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:
 +
{{lc}}
 
<code>docker-compose stop</code> stops running containers without removing them. They can be started again with <code>[[docker-compose start]]</code>
 
<code>docker-compose stop</code> stops running containers without removing them. They can be started again with <code>[[docker-compose start]]</code>
  

Revision as of 06:15, 13 February 2023

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: