I am using docker-compose with:
- an existing (python) app running inside a docker container.
- another (ruby) command-line app running in a docker container.
How do I 'connect' those two containers so that the python container can call the command-line app in the ruby container? (and pass arguments via stdin/stdout)
docker exec <container> <command>. ordocker exec -it <container> <command>if you want to get the terminal from the container to see what happens