Skip to content
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

RFC: Add support for optional runtime hint using network options #1697

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 22, 2017

  1. drivers/macvlan: Add support for optional runtime hint

    docker supports alternate OCI runtimes including virtual machine
    based runtimes. In certian cases network plugins can optionally
    choose to support creation of  virtual machine friendly interfaces
    using optional network options.
    
    This is illustrated here with the hint being used by the macvlan
    driver to create a macvtap interface vs a macvlan interface when
    the runtime is known to be a VM based runtime.
    
    docker run --runtime=cor -it --net=pub_net --network "name=pub_net,runtime=namespace" alpine sh
    
    This is currently based off of
    moby/moby#27638
    
    However this will be implemented as per the proposal
    moby/moby#31964
    
    Signed-off-by: Manohar Castelino <[email protected]>
    mcastelino committed Mar 22, 2017
    Configuration menu
    Copy the full SHA
    fedca67 View commit details
    Browse the repository at this point in the history