| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
|
|
|
| |
Add Client.update_swarm method
Add test for Client.update_swarm
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
|
|
|
|
|
| |
Rename swarm methods to be more explicit
Utility methods / types to create swarm spec objects
Integration tests
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
|
|
|
|
|
|
|
| |
3 API are added
swarm_init()
swarm_leave()
swarm_join()
Signed-off-by: Min Zhang <virgilerin@gmail.com>
Signed-off-by: Min Zhang <virgilerin@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
3 API are added
swarm_init()
swarm_leave()
swarm_join()
Signed-off-by: Min Zhang<minzhang.work@gmail.com>
Signed-off-by: Min Zhang <virgilerin@gmail.com>
|
|
|
|
| |
Signed-off-by: Keerthan Reddy Mala <kmala@deis.com>
|
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
| |
Signed-off-by: David Gageot <david@gageot.net>
|
|
|
|
| |
Signed-off-by: David Gageot <david@gageot.net>
|
|
|
|
|
|
| |
Fixes #1102
Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Initialize headers variable in BuildApiMixin.build() as a dict rather
than as None. This way the correct object gets passed to
_set_auth_headers() even if no headers were set in build()
* Changing object from None to {} in BuildApiMixin._set_auth_headers()
removed because it changes the object reference, so has no effect on
calling code.
Signed-off-by: Justin Michalicek <jmichalicek@gmail.com>
|
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
| |
Signed-off-by: Thomas Grainger <tom.grainger@procensus.com>
|
|
|
|
| |
Signed-off-by: Jonathan Giannuzzi <jonathan@giannuzzi.be>
|
|
|
|
|
|
| |
in login()
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|\
| |
| |
| | |
dimaspivak-master
|
| |
| |
| |
| |
| |
| | |
docker commit --changes was added to Docker in 1.6.0.
Signed-off-by: Dima Spivak <dima@spivak.ch>
|
|\ \ |
|
| |/
| |
| |
| |
| |
| | |
When set to True, this prevents creating more than one network with the same name (see https://docs.docker.com/engine/reference/api/docker_remote_api_v1.21/#create-a-network)
Signed-off-by: Gabriel Féron <feron.gabriel@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
| |
| |
| | |
Signed-off-by: Michael Sander <michael.sander@docketalarm.com>
|
|/
|
|
|
|
| |
Gzipping this tarball can greatly reduce the time it takes to send a docker file.
Signed-off-by: speedplane <mes65@cornell.edu>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Signed-off-by: Matt Daue <mattdaue@gmail.com>
- Implement check to validate API ver is >= 1.22 for new feature
- Includes patch @elchris82: Changed network in data dict to IPAMConfig as needed from the API. See https://github.com/docker/docker/issues/20732
- Update unit test for container attach to net
- Update integration tests
- Add integration test for IP setting
Signed-off-by: Matt Daue <mattdaue@gmail.com>
|
|
|
|
|
|
|
| |
Stream helper has the ability to decode the responses from strings to
JSON. This commit enables this functionality on push and pull operations.
Signed-off-by: Aleksandar Topuzovic <aleksandar.topuzovic@gmail.com>
|
|\
| |
| | |
Support for container limits update
|
| |
| |
| |
| |
| |
| | |
for mem_limit, memswap_limit, kernel_memory and mem_reservation
Signed-off-by: Joffrey F <joffrey@docker.com>
|
| |
| |
| |
| |
| |
| | |
Allows user to update container limits in-flight.
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|/
|
|
|
|
| |
Closes #934
Signed-off-by: Stéphane Seguin <stephseguin93@gmail.com>
|
|
|
|
| |
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
|
|
|
|
| |
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
|
|
|
|
|
|
|
| |
- Use CamelCase
- `auxaddresses` -> `AuxiliaryAddresses`
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
|
|
|
|
| |
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
|
|
|
|
| |
Signed-off-by: Ryan Belgrave <rmb1993@gmail.com>
|
|
|
|
| |
Signed-off-by: Sumit Sahrawat <sumit.sahrawat.apm13@iitbhu.ac.in>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|\
| |
| | |
added stop_signal to create container config
|
| |
| |
| |
| | |
Signed-off-by: Jonathan Stewmon <jstewmon@rmn.com>
|
|/
|
|
| |
Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
|
|
|
|
|
|
| |
https://docs.docker.com/engine/reference/api/docker_remote_api_v1.21/#list-volumes
Signed-off-by: Nicolas Delaby <nicolas.delaby@lock8.me>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|\
| |
| | |
Add support for non-stream stats of containers
|
| |
| |
| |
| |
| |
| |
| | |
Adds one more flag to the `stats` method for streaming responses.
Keeps default as streamed response for backwards compatibility.
Signed-off-by: Antonis Kalipetis <akalipetis@gmail.com>
|
|\ \
| | |
| | | |
Support the 'since' option in the 'containers/<id>/logs' endpoint (API upgrade)
|
| |\ \
| | | |
| | | |
| | | | |
Signed-off-by: Viacheslav Boiko <v.e.boyko@gmail.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Viacheslav Boiko <v.e.boyko@gmail.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add test confirming the new behavior.
Signed-off-by: Joffrey F <joffrey@docker.com>
|
| |/ /
|/| |
| | |
| | | |
Signed-off-by: Leonty Balovnev <tigreavecdesailes@gmail.com>
|
| |/
|/|
| |
| | |
Signed-off-by: Daniel Nephin <dnephin@gmail.com>
|