I would like two containers to be able to communicate with each other via IPC. Unfortunately, I am failing.
I have made the settings in the Dockercompose file as in the Docker manual. But unfortunately nothing works. The two containers cannot communicate with each other.
services:
torizon_myfirstapp_arm64v8-debian-no-ssh_bullseye_debug_673a3f5d-5d8f-4d85-a619-0cae858a2df1:
# Accept the EULA required to run imx8 vivante graphic drivers
environment:
- ACCEPT_FSL_EULA=1
privileged: true
depends_on:
- container2
devices: []
image: torizon_myfirstapp_arm64v8-debian-no-ssh_bullseye_debug_673a3f5d-5d8f-4d85-a619-0cae858a2df1
ports:
- 6502/tcp
volumes:
- /home/torizon/torizon_myFirstApp:/torizon_myFirstApp:rw
ipc: "container:container2_"
container2:
privileged: true
container_name: "container2_"
image: ../torizon_imx8:7_1
volumes:
- "/home/torizon/../scp:/usr/../scp"
- "/dev:/dev"
- "/tmp:/tmp"
ports:
- 6502/tcp
ipc: "shareable"
version: '2.4'
- … are staying for a name