docker-compose stop

From wikieduonline
Revision as of 07:23, 14 February 2023 by Idontknowmaths (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

  • 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[edit]

See also[edit]