Docker Community Forums

Share and learn in the Docker community.

Externally accessing other containers

(Kallisti5) #1

So, looking for a workaround to this issue. Here is context:

Fedora 28, production containers deployed via docker-compose. Containers are serviced via a traefik front-end proxy in a container.

web -> (traefik) +
                         | (app_A)
                         | (app_B)
                         | (app_C)

app_A can connect to app_C (as expected), however any containers that make requests through traefik time out. I keep running into the occasional “I really need to access something via the ‘normal’ ingress”

Is there a simple way to make external access to traefik possible from containers on the same host?

(Kallisti5) #2

here’s docker info for good measure:

Containers: 27
 Running: 25
 Paused: 0
 Stopped: 2
Images: 92
Server Version: 1.13.1
Storage Driver: btrfs
 Build Version: Btrfs v4.15.1
 Library Version: 102
Logging Driver: journald
Cgroup Driver: systemd
 Volume: local
 Network: bridge host macvlan null overlay
 Authorization: rhel-push-plugin
Swarm: inactive
Runtimes: oci runc
Default Runtime: oci
Init Binary: /usr/libexec/docker/docker-init-current
containerd version: bdb8293590f930c81becb72496aad1a9a6c6abd4 (expected: aa8187dbd3b7ad67d8e5e3a15115d3eef43a7ed1)
runc version: 1556cce7e5c5349fdffeb123c092a7681769866a-dirty (expected: 9df8b306d01f59d3a8029be411de015b7304dd8f)
init version: N/A (expected: 949e6facb77383876aeff8a6944dde66b3089574)
Security Options:
  WARNING: You're not using the default seccomp profile
  Profile: /etc/docker/seccomp.json
Kernel Version: 4.17.5-200.fc28.x86_64
Operating System: Fedora 28 (Twenty Eight)
OSType: linux
Architecture: x86_64
Number of Docker Hooks: 2
CPUs: 8
Total Memory: 62.71 GiB
Name: XXX
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Experimental: false
Insecure Registries:
Live Restore Enabled: true
Registries: (secure), (secure), (secure), (secure), (secure), (secure)