Additional validation for container volumes and ports.#442
Additional validation for container volumes and ports.#442aanand merged 3 commits intodocker:masterfrom
Conversation
There was a problem hiding this comment.
I've seen multiple people confused about this so I tried to clarify that this is only an issue on OSX, not linux.
fig/service.py
Outdated
There was a problem hiding this comment.
This list-fiddling stuff is really confusing. Could we bring back the local variables, so I can see what's being returned in each case?
There was a problem hiding this comment.
Yes, I'm happy to make some changes here. I think in order to validate the string properly, we still need to make it a list, but additional local variables I can add.
|
Sorry I missed this. Looks good. Could it be split out into several logical commits? A lot of things are conflated here. |
|
Sure, I'm definitely happy to split this into a few commits. |
26a6e18 to
a813717
Compare
Signed-off-by: Daniel Nephin <[email protected]>
a813717 to
9abdf34
Compare
|
Rebased into three commits, and added additional local variables for split_port() |
|
Awesome. Good to see this. Thanks for all your contributions, @dnephin! Massively appreciated. |
9abdf34 to
be67aa7
Compare
Adds ~ support and ro mode support for volumes, along with some additional validation. Signed-off-by: Daniel Nephin <[email protected]>
…st cases. Signed-off-by: Daniel Nephin <[email protected]>
be67aa7 to
24044fa
Compare
|
additional validation for mode (should be in |
|
LGTM |
1 similar comment
|
LGTM |
Additional validation for container volumes and ports.
Additional validation for container volumes and ports. Signed-off-by: Yuval Kohavi <[email protected]>
~for home directorsget_tty_width()(needs to be an int, not a string, it's an error in python3, and does the wrong thing in python2)