Skip to content

Bump docker SDK dependency#4649

Merged
shin- merged 1 commit intodocker:masterfrom
shin-:bump_docker_py
Mar 31, 2017
Merged

Bump docker SDK dependency#4649
shin- merged 1 commit intodocker:masterfrom
shin-:bump_docker_py

Conversation

@shin-
Copy link

@shin- shin- commented Mar 21, 2017

Fixes #4378
Fixes #4525

@shin- shin- added this to the 1.12.0 milestone Mar 21, 2017
Update invalid ports test

Signed-off-by: Joffrey F <joffrey@docker.com>
@thaJeztah
Copy link
Member

@shin- @dnephin @vdemeester we should call out in the docs that port ranges are not (yet) supported for services; https://docs.docker.com/compose/compose-file/#ports

$ docker service create -p 9090-9100:80 nginx:alpine
invalid argument "9090-9100:80" for p: invalid hostport binding (9090-9100) for port (80)

@guilbill
Copy link

guilbill commented Oct 2, 2017

Hello,
I'm working with docker-compose version 1.16.1, build 6d1ac21
The port range syntax p1-p2:p3 does not seems to work... (ERROR: Invalid published port: 4200-4500)
Here is a sample docker-compose.yml which reproduce the error :

version: '3.3'
services:
  nginx:
    image: nginx
    ports:
    - 4200-4500:80

docker-compose version : 1.16.1, build 6d1ac21
docker version : 17.06.0-ce

Am I missing something? or should we re-open an issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants