1

I read related issues but none fit exactly with my problem. However, my problem is very close to this one, but the solution is not relevant since my configuration fits with the one detailed in the solution.

I have 3 nodes (VMs) integratred in a Swarm cluster with one manager. After creating an overlay network and launching containers as a service attached to this network, containers from one host are not able to reach containers that are running on the others hosts.

NOTE 1: docker inspect <network> only shows containers that are running on the current host.

NOTE 2: both ping and curl work fine with containers IPs that are running on the current host.

NOTE 3: containers are reachable from evrywhere if not put in a specific network, I can ping all containers IPs in the docker 172.17.0 subnet. It still does not work within an overlay network.

Please find below usual informations, thank you for your help.

Joan

root@docker-swarm-3:~# docker version
Client:
 Version:      17.03.1-ce
 API version:  1.27
 Go version:   go1.7.5
 Git commit:   c6d412e
 Built:        Mon Mar 27 17:10:56 2017
 OS/Arch:      linux/amd64

Server:
 Version:      17.03.1-ce
 API version:  1.27 (minimum version 1.12)
 Go version:   go1.7.5
 Git commit:   c6d412e
 Built:        Mon Mar 27 17:10:56 2017
 OS/Arch:      linux/amd64
 Experimental: false


root@docker-swarm-3:~# docker info
Containers: 2
 Running: 2
 Paused: 0
 Stopped: 0
Images: 11
Server Version: 17.03.1-ce
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 61
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
Swarm: active
 NodeID: jcpjbp5x7uxff4drjxgwg78w6
 Is Manager: true
 ClusterID: uegeaoike0nha4ic1wloidzsj
 Managers: 1
 Nodes: 3
 Orchestration:
  Task History Retention Limit: 5
 Raft:
  Snapshot Interval: 10000
  Number of Old Snapshots to Retain: 0
  Heartbeat Tick: 1
  Election Tick: 3
 Dispatcher:
  Heartbeat Period: 5 seconds
 CA Configuration:
  Expiry Duration: 3 months
 Node Address: 192.168.0.103
 Manager Addresses:
  192.168.0.103:2377
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 4ab9917febca54791c5f071a9d1f404867857fcc
runc version: 54296cf40ad8143b62dbcaa1d90e520a2136ddfe
init version: 949e6fa
Kernel Version: 3.16.0-0.bpo.4-amd64
Operating System: Debian GNU/Linux 7 (wheezy)
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 9.787 GiB
Name: docker-swarm-3
ID: GWKU:AR4H:TSS2:C7VX:X4LT:MPNW:GMPY:4H26:7OAA:7QE6:7TIF:ZD5K
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No memory limit support
WARNING: No swap limit support
WARNING: No kernel memory limit support
WARNING: No oom kill disable support
WARNING: No cpu cfs quota support
WARNING: No cpu cfs period support
Experimental: false
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false
Community
  • 1
  • 1
breakthewall
  • 183
  • 6

0 Answers0