2 years ago
#63798

Surya Srivastava
How do I dockerize an application which spawns child processes?
I have an application (lets call it, endpoint service) which spawns a child process upon getting an API request. The child processes needs to communicate with outside world over a TCP connection. How do I containerize it? Is it okay to have one docker container for the endpoint service, and spawn the child processes in the same container. They can use the same base image (node/alpine).
docker
docker-compose
architecture
0 Answers
Your Answer