| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| |
| | |
aanand-allow-any-mode
|
| |
| |
| |
| |
| |
| |
| |
| | |
Volume binds now take a "mode" key, whose value can be any string.
"ro" is still supported. It is an error to specify both "ro" and "mode".
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
- Add appropriate test which also asserts that volume names can be passed through to drivers.
- Add new param to docs.
Signed-off-by: Luke Marsden <luke@clusterhq.com>
|
| | |
|
|/
|
|
| |
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
|
|\
| |
| | |
make memory units compatible with native docker cli
|
| |
| |
| |
| | |
Signed-off-by: sivaram mothiki <smothiki@engineyard.com>
|
| | |
|
| |
| |
| |
| | |
methods.
|
|\ \
| | |
| | | |
Deprecate start hostconfig
|
| |/ |
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
* Added container_limits param to Client.build
|
| |
|
| |
|
|
|
|
| |
argument is None
|
| |
|
|
|
|
| |
from True to False)
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
https://github.com/ssssam/docker-py into ssssam-sam/import-improvements
Conflicts:
docker/client.py
docker/unixconn/unixconn.py
tests/integration_test.py
|
| |
| |
| |
| |
| |
| | |
Currently TestImportFromStream fails, because something is going wrong
with the HTTP chunked transfer-encoding. This didn't work before,
either (for a different reason).
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Rather than have one function that can do 5 things and attempts to guess
what the user wanted, it's good to have a function for each possible
method of importing an image. Error cases are handled a lot better this
way.
The unit test test_import_image_from_file() was changed to be
test_import_image_from_bytes(), because if we try to import a temporary
file in the test, the 'data' parameter of the 'fake_request' object is
an instance of a funny internal type like <_io.BufferedReader
name='/tmp/tmpc9chux'> and it's very hard to match such a thing with
`mock.assert_called_with()`.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This allows streaming a system to the 'import' command, rather than
having to read the whole thing into memory before sending it.
Previously both the UnixAdapter and the docker.Client objects would
track the 'base URL' of the Docker daemon (socket path in the case of
local Unix-domain socket connections). The Client object would construct
URLs which contained the path to the socket with the path of the Docker
API call appended. The UnixHTTPConnection instance would then remove the
known socket path from the URL.
This relied on all calls going through the HTTPConnection.request()
function, where the URL could be rewritten. In the case of 'chunked'
HTTP POST requests this doesn't happen, so such calls would request
a path still including the socket path and would receive a 404 error.
The client now constructs URLs containing just the path of the desired API
endpoint, and expects the Unix socket transport to know the path to the
Docker daemon's socket.
|
| |
| |
| |
| | |
Signed-off-by: Yuval Kohavi <yuval.kohavi@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Yuval Kohavi <yuval.kohavi@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Yuval Kohavi <yuval.kohavi@gmail.com>
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
heavily inspired by PR#281
Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
|
| | |
|
|\ \
| | |
| | | |
Add special cases for .dockerignore
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fixes #498
Allowing `Dockerfile` and `.dockerignore` in the exclusion filter
completely breaks the build on docker < 1.5
In Docker 1.5 these entries are treated as special cases when included
in the .dockerignore and are still sent as part of the context. The
daemon ends up excluding them from any `ADD`, `COPY`, and cache
validation.
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
|
|\ \ \
| | | |
| | | | |
Lxc driver test compat
|
| | | | |
|