-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed as not planned
Labels
Description
Module
Core
Problem
I'm surprised to see thatDockerComposeEnvironment
has commands like up()
, destroy()
, and stop()
, but no start()
. Making stop()
relevant only for accessing the container (e.g. for debugging) but not for reusing the Compose environment.
Relates to #7442
Solution
Add start()
to DockerComposeEnvironment.
Ref: https://docs.docker.com/reference/cli/docker/compose/start/
Benefit
Having the ability to stop and then start a Compose environment, without tearing it down completely, would be a significant performance improvement. It would help avoid the overhead of reinitializing the entire setup from scratch.
Alternatives
You tell me :)
Would you like to help contributing this feature?
No
electriquo and caoimhebyrne