| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
|
|
|
|
| |
This more closely matches the way the docker client interprets the
relevant environment variables. Among other things, it's now possible to
set DOCKER_TLS_VERIFY=false.
Signed-off-by: Mike Dougherty <mike.dougherty@docker.com>
|
|
|
|
|
|
|
| |
--shm-size was added to Docker in 1.10 via docker/docker#16168. See
docker/compose#2823 for more details.
Signed-off-by: Spencer Rinehart <anubis@overthemonkey.com>
|
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
|
|
| |
(assume HTTPS)
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
| |
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
|
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
|
|
|
|
| |
Add unit tests for utils.parse_devices
Rewrite documentation
Support dict and string format for device declaration
Signed-off-by: Joffrey F <joffrey@docker.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>
|
|\
| |
| | |
Don't descend into ignored directories when building context
|
| |
| |
| |
| | |
Signed-off-by: Thomas Boyt <thomas@ledgerx.com>
|
|\ \
| | |
| | | |
added stop_signal to create container config
|
| | |
| | |
| | |
| | | |
Signed-off-by: Jonathan Stewmon <jstewmon@rmn.com>
|
|\ \ \
| |_|/
|/| | |
Allow utils.tar to take an existing file object.
|
| |/
| |
| |
| | |
Signed-off-by: dlorenc <lorenc.d@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Dustin Falgout <dustin@falgout.us>
|
| |
| |
| |
| |
| |
| |
| | |
Added tests for the new methods.
Closes #840
Signed-off-by: Dustin Falgout <dustin@falgout.us>
|
|/
|
|
| |
Signed-off-by: Dustin Falgout <dustin@falgout.us>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|\
| |
| |
| | |
schu-oom-kill-disable-pr
|
| |
| |
| |
| | |
Signed-off-by: Michael Schubert <schu@schu.io>
|
|/
|
|
| |
Signed-off-by: Dustin Falgout <dustin@falgout.us>
|
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
| |
Signed-off-by: Daniel Nephin <dnephin@gmail.com>
|
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
|
|
| |
Also includes a few unit tests for utils.convert_volume_binds
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|
|
|
| |
Signed-off-by: Joffrey F <joffrey@docker.com>
|
|\
| |
| | |
Always send a string for the user param in create_container
|
| | |
|
| | |
|
|/
|
|
|
|
| |
Following the logic of the Docker client.
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
aanand-default-cert-path
Conflicts:
tests/utils_test.py
|
| |
| |
| |
| | |
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Support all basic pattern forms: file, directory, *, ?, !
- Fix handling of wildcard patterns and subdirectories - `*/a.py` should
match `foo/a.py`, but not `foo/bar/a.py`
- Fix handling of directory patterns with a trailing slash - make sure
they're handled equivalently to those without one
- Fix handling of custom Dockerfiles - make sure they go in the tarball
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
|
|\ \
| | |
| | | |
Version dependent hostconfig
|
| | |
| | |
| | |
| | |
| | |
| | | |
Add create_host_config and create_container_config to Client for version
awareness
Trigger warning when create_host_config is used without version
|
|/ / |
|
| |
| |
| |
| | |
Clean up cgroup_parent usage
|
| | |
|
|\ \
| | |
| | | |
`network_mode` now necessary in `host_config`
|
| | |
| | |
| | |
| | | |
blank host_config in start if no option is provided
|
| | |
| | |
| | |
| | | |
Signed-off-by: John Howard <jhoward@microsoft.com>
|
| | | |
|