| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |\ \ \ \
| | | | | |
| | | | | | |
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>
|
| | | | | |
|
|\ \ \ \ \
| |/ / / /
|/| | | |
| | | | | |
ssanderson-py3-json
|
| |/ / / |
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
Instead of expanding the registry name we're looking for to a full URL,
strip entries in the authconfig down to just the hostname.
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
|
|/ /
| |
| |
| | |
Signed-off-by: Daniel Nephin <dnephin@gmail.com>
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | | |
into nir0s-add-stats-api-support
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
* memswap_limit can now be provided as a string, similar to mem_limit
|
| | | |
|
|\ \ \
| | | |
| | | | |
Add missing options to the events command
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This will ensure compatibility with the previous versions of
docker-py.
Signed-off-by: Christophe Labouisse <christophe@labouisse.org>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Christophe Labouisse <christophe@labouisse.org>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Christophe Labouisse <christophe@labouisse.org>
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
- Add since, until and filters parameters to `Client.events`
- Add missing `events`command in the documentation
Signed-off-by: Christophe Labouisse <christophe@labouisse.org>
|
|/ / |
|
|\ \
| | |
| | | |
New Client.rename() method
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
|/| | |
Fix crash when building from remote sources
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Avoid crashing when the Docker python client is able to load
registry credentials when building using a remote source
Signed-off-by: Vincent Giersch <vincent.giersch@ovh.net>
|
|/ / |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Fix to enable streaming container logs reliably
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Started a ubuntu container that just runs "ping 8.8.8.8" and tried
the sample code in https://gist.github.com/dims/c3327f633c526847c8e5
to recreate the problem mentioned in:
https://github.com/docker/docker-py/issues/300
To debug the problem i printed the byte array read in recvall
when reading STREAM_HEADER_SIZE_BYTES and realized that the data
being read was far ahead of the actual start of the header documented
in the vnd.docker.raw-stream of the docker remote api. This is
possibly because the requests/urllib3 is reading ahead a bit more
and we shouldn't be trying to hack the internals of those projects.
So just using the documented file-like response.raw is good enough
for us to get the functionality we need which is being able to
read for exactly where the stream header starts. With this change
i can reliably stream the logs just like "docker logs --follow".
Note that we still need to access the underlying socket to set
the timeout to prevent read time outs. The original fix was for
client.logs() only but on further review it made sense to replace
all occurances of _multiplexed_socket_stream_helper with the
new method.
|
|/ /
| |
| |
| |
| |
| | |
The new docker api allows specifing mac address for containers. This change is to allow docker py the same functionality.
Signed-off-by: James Harris <james@rancher.com>
|
| | |
|
|\ \ |
|
| |/ |
|
|/ |
|
| |
|
| |
|
|\
| |
| | |
adding the ability to login with different dockercfg files.
|
| | |
|
|/ |
|
|\
| |
| |
| |
| | |
Conflicts:
tests/test.py
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Data already in local python buffers was lost when stream socket
fileobject was re-created. We now use http.client to handle the chunk
transfer encoding, and we read only the data from each chunk.
This adds a test harness for stream responses which tries to trigger the
lost-buffer behaviour by responding to the HTTP request in full, as
early as possible.
NB: Python's http.client will close the socket fileobj early if there is
no content length or chunked transfer encoding header. If this happens,
requests/urllib3 will reopen it, but we lose some data which was stored
in buffers.
|
| | |
|
| |
| |
| |
| | |
specified
|
|/
|
|
| |
* Deprecation warnings added in Client.start
|
| |
|
| |
|
| |
|