summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Handle decimal values in parse_bytes813-parse-float-bytesJoffrey F2015-12-182-7/+34
| | | | | | Also ensure we are able to handle 64-bit integers in py2 Signed-off-by: Joffrey F <joffrey@docker.com>
* Merge pull request #863 from thomasboyt/fast-exclude-pathsAanand Prasad2015-12-163-27/+62
|\ | | | | Don't descend into ignored directories when building context
| * Improve get_paths performance by not descending into ignored directoriesThomas Boyt2015-12-083-27/+62
| | | | | | | | Signed-off-by: Thomas Boyt <thomas@ledgerx.com>
* | Merge pull request #874 from aanand/fix-index.docker.ioAanand Prasad2015-12-163-47/+91
|\ \ | | | | | | Treat 'index.docker.io' repo names as 'docker.io'
| * | Treat 'index.docker.io' repo names as 'docker.io'Aanand Prasad2015-12-102-8/+38
| | | | | | | | | | | | Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
| * | Refactor resolve_authconfig testsAanand Prasad2015-12-102-38/+52
| | | | | | | | | | | | | | | | | | | | | The structure of the fake config dictionary was not reflective of what actual parsed config looks like. Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
| * | Allow overriding of positional args to py.test in tox.iniAanand Prasad2015-12-101-1/+1
|/ / | | | | | | Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
* | Bumped versionJoffrey F2015-12-091-1/+1
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Merge pull request #871 from thaJeztah/update-maintainersJoffrey F2015-12-091-5/+52
|\ \ | | | | | | update maintainers file for parsing
| * | update maintainers file for parsingSebastiaan van Stijn2015-12-091-5/+52
| | | | | | | | | | | | | | | | | | | | | | | | this updates the MAINTAINERS file to the new format, so that it can be parsed and collected in the docker/opensource repository. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
* | | Merge pull request #867 from sumitsahrawat/network-create-optionsAanand Prasad2015-12-096-10/+76
|\ \ \ | |/ / |/| | Allow providing options when creating networks
| * | Fix #869: Add docs for network apiSumit Sahrawat2015-12-101-0/+62
| | | | | | | | | | | | Signed-off-by: Sumit Sahrawat <sumit.sahrawat.apm13@iitbhu.ac.in>
| * | Fix remove_volume return valueSumit Sahrawat2015-12-104-7/+3
| | | | | | | | | | | | Signed-off-by: Sumit Sahrawat <sumit.sahrawat.apm13@iitbhu.ac.in>
| * | Allow providing options when creating networksSumit Sahrawat2015-12-102-3/+11
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | Following the spec: http://docs.docker.com/engine/reference/api/docker_remote_api_v1.21/#create-a-network I have added an Options argument to create_network. This opens up the possibility of creating isolated containers with no internet access programmatically. We require such facilities in https://github.com/jupyter/tmpnb/issues/187. Signed-off-by: Sumit Sahrawat <sumit.sahrawat.apm13@iitbhu.ac.in>
* | Merge pull request #868 from jstewmon/config-stop-signalJoffrey F2015-12-084-3/+30
|\ \ | | | | | | added stop_signal to create container config
| * | added stop_signal to create container configJonathan Stewmon2015-12-034-3/+30
| | | | | | | | | | | | Signed-off-by: Jonathan Stewmon <jstewmon@rmn.com>
* | | Merge pull request #865 from dlorenc/masterJoffrey F2015-12-081-5/+6
|\ \ \ | |_|/ |/| | Allow utils.tar to take an existing file object.
| * | Allow utils.tar to take an existing file object.dlorenc2015-11-301-5/+6
| | | | | | | | | | | | Signed-off-by: dlorenc <lorenc.d@gmail.com>
* | | Merge pull request #854 from ↵Aanand Prasad2015-12-043-61/+67
|\ \ \ | | | | | | | | | | | | | | | | lots0logs/840-add-exception-utility-method-for-create-host-config 840 add exception utility method for create host config
| * | | incorporate feedbackDustin Falgout2015-12-043-46/+45
| | | | | | | | | | | | | | | | Signed-off-by: Dustin Falgout <dustin@falgout.us>
| * | | Use new methods to raise exceptions in create_host_config.Dustin Falgout2015-12-032-36/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Added tests for the new methods. Closes #840 Signed-off-by: Dustin Falgout <dustin@falgout.us>
| * | | resolve merge conflictDustin Falgout2015-12-031-10/+23
|/ / / | | | | | | | | | Signed-off-by: Dustin Falgout <dustin@falgout.us>
* | | Merge pull request #858 from TomasTomecek/improve-exec-apiDaniel Nephin2015-12-036-54/+94
|\ \ \ | |_|/ |/| | Improve exec api
| * | allow interactive execTomas Tomecek2015-12-035-53/+92
| | | | | | | | | | | | Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
| * | make,integration-dind: try to remove dpy-dindTomas Tomecek2015-12-021-0/+1
| | | | | | | | | | | | | | | | | | | | | b/c if test fails, dpy-dind is left running and integration-dind target will refuse to start and you need to manually force-remove the container Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
| * | tests,integration: ensure container is removed if start failsTomas Tomecek2015-12-021-1/+1
|/ / | | | | | | Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
* | Merge pull request #866 from ticosax/fix-volume-listingDaniel Nephin2015-12-012-1/+13
|\ \ | | | | | | fix typo filter param for `volumes`
| * | fix typo filter param for `volumes`Nicolas Delaby2015-12-012-1/+13
| |/ | | | | | | | | | | https://docs.docker.com/engine/reference/api/docker_remote_api_v1.21/#list-volumes Signed-off-by: Nicolas Delaby <nicolas.delaby@lock8.me>
* | Merge pull request #864 from ticosax/document-network_modeDaniel Nephin2015-12-011-2/+2
|\ \ | |/ |/| [doc] network_mode can also take the name of a network as value.
| * network_mode can also take the name of a network as value.Nicolas Delaby2015-12-011-2/+2
| | | | | | | | Signed-off-by: Nicolas Delaby <nicolas.delaby@lock8.me>
* | Merge pull request #862 from docker/1.6.0-release1.6.0Joffrey F2015-11-302-1/+40
|\ \ | | | | | | 1.6.0 release
| * | Update Changelog with one last bugfix1.6.0-releaseJoffrey F2015-11-301-1/+4
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | Bump versionJoffrey F2015-11-231-1/+1
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | Update ChangelogJoffrey F2015-11-231-0/+36
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | Merge pull request #861 from docker/860-deprecate-resolve-repo-nameJoffrey F2015-11-305-55/+101
|\ \ \ | |_|/ |/| | Update repo name resolution method
| * | Add tests for new cases covered by parse_repository_tag860-deprecate-resolve-repo-nameJoffrey F2015-11-241-14/+46
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | Update auth.resolve_repository_nameJoffrey F2015-11-234-41/+55
| |/ | | | | | | | | | | | | | | | | | | | | More relaxed version that matches the constraints imposed by the current version of the docker daemon. Few unit tests to verify the new cases. Client.pull was trying to set the tag value when it wasn't supposed to, fixed now. utils.parse_repository_tag is simpler and supports @sha... notation Signed-off-by: Joffrey F <joffrey@docker.com>
* | Merge pull request #841 from delfick/proxy_pool_manager_assert_hostnameJoffrey F2015-11-241-0/+13
|\ \ | |/ |/| Ensure assert_hostname is set on the pool connection
| * Ensure assert_hostname is set on the pool connectionStephen Moore2015-11-081-0/+13
| | | | | | | | | | | | | | | | If you have assert_hostname turned off and are using a proxy on your computer then assert_hostname wasn't being properly set on the pool connection and it was failing to connect to docker Signed-off-by: Stephen Moore <stephen@delfick.com>
* | Merge pull request #855 from docker/852-independent-integrationJoffrey F2015-11-1811-181/+182
|\ \ | | | | | | Move methods/classes used by all integration tests to helpers.py
| * | Fix integration-dind-ssl make task852-independent-integrationJoffrey F2015-11-182-3/+3
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | Move methods/classes used by all integration tests to helpers.pyJoffrey F2015-11-1810-178/+179
|/ / | | | | | | | | | | | | Ensure setup_module is called at session level, making the test suite not order dependent. Test files can be invoked independently. Signed-off-by: Joffrey F <joffrey@docker.com>
* | Merge branch 'schu-oom-kill-disable-pr'Joffrey F2015-11-184-12/+27
|\ \
| * | Wrong key name in stats testJoffrey F2015-11-181-1/+1
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | Merge branch 'oom-kill-disable-pr' of https://github.com/schu/docker-py into ↵Joffrey F2015-11-183-11/+26
| |\ \ |/ / / | | | | | | schu-oom-kill-disable-pr
| * | create_host_config: allow setting oom_kill_disableMichael Schubert2015-11-103-2/+17
| |/ | | | | | | Signed-off-by: Michael Schubert <schu@schu.io>
* | Merge pull request #832 from aebm/masterJoffrey F2015-11-182-1/+31
|\ \ | | | | | | Fix #627
| * | Fix #627Alejandro Brito Monedero2015-10-292-1/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Docker-py couldn't pull private images if the account have non ascii chars in either user or password. It that case an exception ending with no auth credentials. Instead docker client (golang) don't suffer this issue. Also add a test to check the login or password even with non ascii char have a valid auth dictionary Signed-off-by: Alejandro Brito Monedero <abrito@alea-soluciones.com>
* | | Merge pull request #805 from sourcelair/enhancement/stats-no-streamDaniel Nephin2015-11-174-2/+51
|\ \ \ | | | | | | | | Add support for non-stream stats of containers
| * | | Add EditorConfig to the repo.Antonis Kalipetis2015-10-221-0/+11
| | | | | | | | | | | | | | | | Signed-off-by: Antonis Kalipetis <akalipetis@gmail.com>