-
-
Notifications
You must be signed in to change notification settings - Fork 17
Description
Hi,
when using singularity-compose, the local hostname is overridden and to each containers is assigned a different local ip address. E.g.: on a machine with hostname localhost and address 10.1.2.345, singularity runs a container xyz with local ip 10.0.0.1 and hostname xyz .
When executing applications using sockets in containers, however, I noticed it is impossible to reach the endpoints both from outside (from other containers or local machine) and inside (from the same container). Sockets are opened, but they are unreachable.
I also tried running singularity-compose with the --no-resolv option, but the issue persists. Any clue why this is happening?
When running containers without singularity-compose, hostname and ip are not overridden and everything works fine.
Thank you