| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Also ensure we are able to handle 64-bit integers in py2
Signed-off-by: Joffrey F <joffrey@docker.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>
|
|/
|
|
| |
Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|\ \
| | |
| | | |
Add support for MemorySwappiness to client.create_host_config()
|
| |/
| |
| |
| | |
Signed-off-by: Dustin Falgout <dustin@falgout.us>
|
|\ \
| |/
| |
| | |
Signed-off-by: Viacheslav Boiko <v.e.boyko@gmail.com>
|
| |
| |
| |
| | |
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: Viacheslav Boiko <v.e.boyko@gmail.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>
|
|\ \
| | |
| | | |
Better support for .dockerignore
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- 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>
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
By having this hardcoded list of log drivers, it is a bottleneck
to us supporting more log drivers.
The daemon already validates if a log driver is valid or not, so rather
than duplicating that validation, let's pass the log_driver along.
This allows support for new/more log drivers as they become supported
in docker without having to wait for both docker-py and docker-compose
to support them.
Keeping the current list of log driver types for backwards compatibility.
Signed-off-by: Mazz Mosley <mazz@houseofmnowster.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
|
| |
| |
| |
| |
| |
| | |
- Fixed #726 by adding a check for None in split_port
- Also switched to using a _raise_invalid_port() function to replace
multiple slightly differing ValueErrors for invalid port
|
| | |
|
| | |
|
|\ \
| | |
| | | |
`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>
|
|\ \ \
| | | |
| | | | |
Add journald log driver support
|
| |/ /
| | |
| | |
| | | |
Signed-off-by: Erik Cederberg <erikced@gmail.com>
|