V
V
Vitaly the Wise2019-01-08 19:20:45
Docker
Vitaly the Wise, 2019-01-08 19:20:45

How to run Docker Image in Compose in detach (backgroud)?

Hello. I am writing a docker-compose file in which several images work. It is necessary that some of them start in the background so that at the end, upon completion of one image, it would be possible to stop the entire docker-compose. Thanks in advance

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
ivankomolin, 2019-01-08
@ivankomolin

docker-compose up --abort-on-container-exit

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question