Swarm mode services cannot publish ports as both TCP and UDP #27390
Labels
area/swarm
kind/bug
Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed.
priority/P1
Important: P1 issues are a top priority and a must-have for the next release.
version/1.12
Milestone
Description
Docker swarm mode services cannot publish a port using both the TCP and UDP protocols.
Steps to reproduce the issue:
docker service create --name test -p 10000:10000 -p 10000:10000/udp alpine sleep 100000
Describe the results you received:
Error response from daemon: rpc error: code = 3 desc = EndpointSpec: duplicate published ports provided
Describe the results you expected:
The service should have been created with port 10000 mapped for both TCP and UDP.
Additional information you deem important (e.g. issue happens only occasionally):
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
Running on Windows 10 on a local Hyper-V cluster of Ubuntu-16.04 VMs.
The text was updated successfully, but these errors were encountered: