-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ports not accepting a range in yml #1102
Comments
Ran into the same issue yesterday. Specifying the port range as a string also doesn't help. Here's the offending section from my yml file:
|
We have run into this issue as well. We were expecting something like this to "just work": ports:
- "1000-1019" |
#dibs |
gonna work on this one at the docker party tonight |
hi @awsmsrc, I already started working on this, FYI - do you want to help us? |
Signed-off-by: Yuval Kohavi <yuval.kohavi@gmail.com>
Signed-off-by: Yuval Kohavi <yuval.kohavi@gmail.com>
Signed-off-by: Yuval Kohavi <yuval.kohavi@gmail.com>
+1 |
Signed-off-by: Yuval Kohavi <yuval.kohavi@gmail.com> Signed-off-by: Yuval Kohavi <yuval.kohavi@gmail.com>
Signed-off-by: Yuval Kohavi <yuval.kohavi@gmail.com> Signed-off-by: Yuval Kohavi <yuval.kohavi@gmail.com>
Signed-off-by: Yuval Kohavi <yuval.kohavi@gmail.com> Signed-off-by: Yuval Kohavi <yuval.kohavi@gmail.com>
Has this been in any release yet? |
yeah would be good to get an update @aanand |
+1 |
It's been implemented by @uvgroovy in #1191, but needs rebasing. |
@aanand rebasing done |
+1 |
Looks like the implementation just needs docs and a rebase. I'm sure we'd all be grateful to @uvgroovy if that happened soon :) |
Hi, |
Can someone close this? Looks like this is already merged here. |
👍 |
Why only "ports:" supports range? Why not "expose:" too? Also, is it possible to fix the documentation to go into more detail on the differences between ports and expose? It is still not clear on what happens in each case. |
Hi, my docker-compose files stopped working after updating to docker-compose version 1.5.2 (from MacOS Docker Toolbox 1.9.1).
While the file contains
Replacing the range by a single port "resolves" the issue. |
Ah, I guess that is valid. Could you open a new issue about it? I wonder if that was added recently to expose, I don't remember seeing it in the docs when we implemented it. |
New issue created: #2611 |
the command following command works as of docker 1.5:
specifying ports this way in the docker-compose.yml always results in a cannot start container exit status 2
The text was updated successfully, but these errors were encountered: