79114007

Date: 2024-10-22 12:22:30
Score: 2
Natty:
Report link

Docker 26 added the environment variable DOCKERD_ROOTLESS_ROOTLESSKIT_DISABLE_HOST_LOOPBACK=false which allows a rootless container to connect to a service running on host: https://docs.docker.com/engine/release-notes/26.0/#new

I still do not find any way to ping the host from the rootless container...

BUT the rootless container connects successfully to the websocket service running on the host identified by ip address 10.0.2.2.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Mimi