-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Cli change to pass driver specific options to docker run #317
Conversation
ping @thaJeztah , @aaronlehmann |
Codecov Report
@@ Coverage Diff @@
## master #317 +/- ##
==========================================
- Coverage 53.26% 53.18% -0.08%
==========================================
Files 258 258
Lines 16357 16391 +34
==========================================
+ Hits 8712 8718 +6
- Misses 7081 7106 +25
- Partials 564 567 +3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@abhi could you add some (unit) tests to this PR?
Wondering; with this change, should we:
|
ping @abhi this needs a rebase; also can you have a look at my comment above? |
The commit contains cli changes to support driver options for a network in docker run and docker network connect cli's. The driver-opt, aliases is now supported in the form of csv as per network option in service commands in swarm mode since docker#62 . This commit extends this support to docker run command as well. For docker connect command --driver-opt is added to pass driver specific options for the network the container is connecting to. Signed-off-by: Abhinandan Prativadi <abhi@docker.com>
I wonder if this PR is in progress. |
carried in #1767 |
Opened this PR since #156 was closed.
The commit contains cli changes to support driver options for a network in docker run and docker network connect cli's.
The driver-opt, aliases is now supported in the form of csv as per network option in service commands in swarm mode since #62 . This commit extends this support to docker run command as well.
For docker connect command --driver-opt is added to pass driver specific options for the network the container is connecting to.
Following is supported:
Signed-off-by: Abhinandan Prativadi abhi@docker.com