Is it a good practice to run the command from one docker container on another container?
I have test docker and need to run java -jar commands to run the application on another docker.
docker_1:
- tests
docket_2:
- app1.jar
- app2.jar
"tests" should run "app1.jar" and "app2.jar".
How can docker_1 ssh to docker_2 and run java commands?
Is it a good practice or overhead of communicating does not worth it?