| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
| |
| |
| |
| |
| |
| |
| | |
New API endpoint is POST /volumes/create (previously just /volumes)
Since the feature is yet unreleased (RC), no fallback strategy is
implemented.
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: Aanand Prasad <aanand.prasad@gmail.com>
|
|\
| |
| | |
Allow to specify ps_args when listing processes
|
| |
| |
| |
| | |
Signed-off-by: Pierre Fersing <pierre.fersing@bleemeo.com>
|
|/
|
|
|
|
|
|
|
| |
User can now specify a protocol in Client.port using the port/proto
syntax. Default port is now TCP instead of UDP (to match the
behavior of `docker port`) when no proto is specified.
Regression test
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
|
|
|
|
|
|
| |
Add simpler version comparison functions
Add decorator to enforce minimum version in API methods
Fix utils imports
Add minimum_version decorators on API methods that needed it
GroupAdd test requires API version >= 1.20
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
|
|
|
| |
Added mock API routes for volumes API
Add unit tests and integration tests for volume API
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: Joffrey F <joffrey@docker.com>
|