B
B
bro-dev2019-05-24 23:58:14
Docker
bro-dev, 2019-05-24 23:58:14

What is the best way to split docker containers?

The software on the node, in its work, launches a console utility in python. If you follow the recommendations, then you need to make 2 containers, but then the question is how to run from one and get its stdout. You can just make a bold image with a python and a node and everything will work. Another option is to fork the python and make http api to it, but I have never written on it and therefore I am not considering it yet.
What is the best way to do this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
chupasaurus, 2019-05-25
@chupasaurus

While there are no load requirements - saw the image "all in one".
In general, such tasks are implemented through RPC, API, or message broker between applications.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question