i am searching since two days for a in my opinion very simple problem.
I want to execute a
ls from one container on an other one.
They both run on a Docker for Windows .
I have a docker-compose.yml:
C1: image: debian container_name: c1 networks: showcase: ipv4_address: 172.20.0.5 C2: image: debian container_name: c2 networks: showcase: ipv4_address: 172.20.0.6
I can access c1
docker exec -it c1 /bin/bash
in the c1 container i can do a
ping c2 that is not the problem but i want to do something like
ls c2 or a
c2 from container