Skip to content

Error response from daemon: rpc error: code = 3 desc = EndpointSpec: duplicate published ports provided #27208

@Murf

Description

@Murf

Description

$ docker deploy test
Loading bundle from test.dab
Creating network test_default
Creating service test_web
Creating service test_db
Error response from daemon: rpc error: code = 3 desc = EndpointSpec: duplicate published ports provided

I am following this tutorial:
http://blog.couchbase.com/2016/july/docker-services-stack-distributed-application-bundle

Output of docker version:

$ docker --version
Docker version 1.12.2-rc2, build ad9538a, experimental
$ docker-compose --version
docker-compose version 1.8.1, build 878cff1
$ docker info
Containers: 2
 Running: 2
 Paused: 0
 Stopped: 0
Images: 84
Server Version: 1.12.2-rc2
Storage Driver: devicemapper
 Pool Name: docker-253:0-105335-pool
 Pool Blocksize: 65.54 kB
 Base Device Size: 10.74 GB
 Backing Filesystem: xfs
 Data file: /dev/loop0
 Metadata file: /dev/loop1
 Data Space Used: 8.727 GB
 Data Space Total: 107.4 GB
 Data Space Available: 42.08 GB
 Metadata Space Used: 15.2 MB
 Metadata Space Total: 2.147 GB
 Metadata Space Available: 2.132 GB
 Thin Pool Minimum Free Space: 10.74 GB
 Udev Sync Supported: true
 Deferred Removal Enabled: false
 Deferred Deletion Enabled: false
 Deferred Deleted Device Count: 0
 Data loop file: /var/lib/docker/devicemapper/devicemapper/data
 WARNING: Usage of loopback devices is strongly discouraged for production use. Use `--storage-opt dm.thinpooldev` to specify a custom block storage device.
 Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
 Library Version: 1.02.107-RHEL7 (2016-06-09)
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge null host overlay
Swarm: active
 NodeID: d85uyvzk62u9tcc3ea9svxhz2
 Is Manager: true
 ClusterID: dnei7dxkorw97wwa2sei3vbit
 Managers: 1
 Nodes: 4
 Orchestration:
  Task History Retention Limit: 5
 Raft:
  Snapshot Interval: 10000
  Heartbeat Tick: 1
  Election Tick: 3
 Dispatcher:
  Heartbeat Period: 5 seconds
 CA Configuration:
  Expiry Duration: 3 months
 Node Address: 192.168.101.169
Runtimes: runc
Default Runtime: runc
Security Options: seccomp
Kernel Version: 3.10.0-327.36.1.el7.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
CPUs: 3
Total Memory: 7.633 GiB
Name: dr-host
ID: BTUN:L4DP:LBBK:6GYY:ELP4:5QVA:RAXG:JGMO:XWJ7:LZNE:2VFN:SO37
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: bridge-nf-call-ip6tables is disabled
Experimental: true
Insecure Registries:
 dr-host:5000
 127.0.0.0/8

*** SWARM CONFIG
1 Leader, 3 extra nodes
I am running the above commands on the leader

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/networkingNetworkingarea/stackarea/swarmkind/bugBugs are bugs. The cause may or may not be known at triage time so debugging may be needed.priority/P1Important: P1 issues are a top priority and a must-have for the next release.version/1.12

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions