GitHub user JamieCressey opened a pull request:

    https://github.com/apache/libcloud/pull/831

    [Docker] Add network_mode and label params to deploy_container

    ## Add network_mode and label params to deploy_container function within 
Docker driver
    
    ### Description
    
    This PR adds `network_mode` and `label` params to the deploy_container 
function within the Docker container driver. Labels are particularly useful for 
Swarm's (anti-)affinity rules. The previous and default behaviour should not be 
affected.
    
    ### Status
    
    - done, ready for review
    
    ### Checklist (tick everything that applies)
    
    - [ ] [Code 
linting](http://libcloud.readthedocs.org/en/latest/development.html#code-style-guide)
 (required, can be done after the PR checks)
    - [ ] Documentation
    - [ ] [Tests](http://libcloud.readthedocs.org/en/latest/testing.html)
    - [ ] 
[ICLA](http://libcloud.readthedocs.org/en/latest/development.html#contributing-bigger-changes)
 (required for bigger changes)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/JamieCressey/libcloud docker_create-params

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/libcloud/pull/831.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #831
    
----
commit ed45ca133c59e54b0432e1a072ae0aeb7c42aff0
Author: Jamie Cressey <jamiecresse...@gmail.com>
Date:   2016-07-03T10:12:59Z

    Add network mode and labels when creating containers within docker driver

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to