nir0s
ea2148ade1
fixes
2015-02-11 22:26:23 +02:00
nir0s
53b5ed2178
fixed string formatting in utils
2015-02-11 22:24:06 +02:00
Joffrey F
cab37b604a
pid_mode integration tests
2015-02-11 12:16:36 -08:00
Joffrey F
db825d84a8
pid_mode documentation
2015-02-11 12:16:00 -08:00
Joffrey F
af492c3057
Added support for pid_mode param
2015-02-11 12:15:39 -08:00
nir0s
f402af551d
added initial support for stats retrieval
2015-02-11 22:04:32 +02:00
Joffrey F
22dd8d78ea
Merge pull request #480 from ggtools/events
...
Add missing options to the events command
2015-02-11 11:13:52 -08:00
Joffrey F
6a804ac391
Merge pull request #483 from docker/read_only_rootfs
...
read_only parameter
2015-02-11 11:13:43 -08:00
Christophe Labouisse
ea28ebb5f1
Add a `decode` parameter to the events command
...
This will ensure compatibility with the previous versions of
docker-py.
Signed-off-by: Christophe Labouisse <christophe@labouisse.org>
2015-02-11 07:27:30 +01:00
Christophe Labouisse
9bd71b2d45
Add decoding to the events
...
Signed-off-by: Christophe Labouisse <christophe@labouisse.org>
2015-02-11 07:27:23 +01:00
Christophe Labouisse
2bd21ad066
Fix flake8 issues
...
Signed-off-by: Christophe Labouisse <christophe@labouisse.org>
2015-02-11 07:27:23 +01:00
Christophe Labouisse
53b1bb41ac
Fix datetime issue with Python 2.6
...
Signed-off-by: Christophe Labouisse <christophe@labouisse.org>
2015-02-11 07:25:59 +01:00
Christophe Labouisse
a07bd28077
Add missing options to the events command
...
- Add since, until and filters parameters to `Client.events`
- Add missing `events`command in the documentation
Signed-off-by: Christophe Labouisse <christophe@labouisse.org>
2015-02-11 07:25:59 +01:00
Joffrey F
e379e8ae24
read_only parameter
2015-02-10 16:13:09 -08:00
Joffrey F
d0512028be
Merge pull request #482 from docker/rename_container
...
New Client.rename() method
2015-02-10 13:56:29 -08:00
Joffrey F
a7f7fbb0fd
rename() tests and docs
2015-02-10 12:55:44 -08:00
Joffrey F
35c4cbd9c4
Bumped default API version, fixed rename()
2015-02-10 12:55:43 -08:00
Joffrey F
41a94174fd
Added rename method
2015-02-10 12:55:28 -08:00
Joffrey F
5cc7cc12ed
Merge pull request #474 from gierschv/fix-build-remote
...
Fix crash when building from remote sources
2015-02-10 10:33:47 -08:00
Joffrey F
3e1dded350
Back to dev version
2015-02-10 10:32:27 -08:00
Joffrey F
93e78389b3
Merge pull request #475 from gtaylor/public_timeout
...
Rename Client._timeout to timeout.
2015-02-10 10:31:09 -08:00
Joffrey F
19fe1b5907
Merge pull request #476 from gtaylor/build_rm_defaults_doc
...
Update Client.build() docs to note rm default mis-match
2015-02-04 22:22:57 -08:00
Greg Taylor
1379f431ff
Updating Client.build() doc to mention rm-mismatch. Fixes #332 .
2015-02-05 00:40:24 -05:00
Greg Taylor
168e8c7e18
Rename Client._timeout to timeout.
2015-02-04 20:19:22 -05:00
Vincent Giersch
f3717f5815
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>
2015-02-04 16:26:55 +00:00
Joffrey F
39ee2d55b2
Merge pull request #470 from docker/0.7.2-release
...
0.7.2 release
2015-02-01 16:18:12 -08:00
Joffrey F
f4d9fac6dc
Bumped version
2015-02-01 16:10:33 -08:00
Joffrey F
939bc9ad53
Updated changelog
2015-02-01 16:10:20 -08:00
Joffrey F
96950a467d
Fix #458
2015-02-01 15:47:23 -08:00
Joffrey F
cd006bbfaf
Fix #466
2015-02-01 15:44:30 -08:00
Joffrey F
08ce8d0e9f
Bumped version back to dev
2015-02-01 15:44:00 -08:00
Joffrey F
40770878ad
Additional tests and small improvement to auth.resolve_authconfig
2015-02-01 15:36:56 -08:00
Joffrey F
3d6d5e1012
Merge pull request #441 from dims/fix-log-streams
...
Fix to enable streaming container logs reliably
2015-02-01 14:47:59 -08:00
Joffrey F
648baa6f12
Merge pull request #464 from hibooboo2/add_support_for_mac_address
...
Add Support for Mac Address
2015-02-01 14:19:38 -08:00
Maxime Petazzoni
c0703e3516
Merge pull request #468 from wellbehavedsoftware/fix-auth-urls
...
Fix registry url canonicalization in resolve_authconfig
2015-01-29 17:38:32 -08:00
James Pharaoh
1fb887c268
fix registry url canonicalization in resolve_authconfig
2015-01-29 18:03:05 +01:00
James Harris
301515ed56
Add Support for Mac Address
...
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>
2015-01-21 16:08:16 -07:00
Davanum Srinivas
9676febae9
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.
2015-01-19 10:37:14 -05:00
Joffrey F
d3a2d900cb
Merge pull request #462 from tutumcloud/fix_create_host_config
...
fix create_host_config method
2015-01-16 10:24:30 -08:00
bernardopericacho
3574167fb0
fix create_host_config method
2015-01-16 15:25:42 +01:00
Joffrey F
aa19d7b660
Fixed TestRestartingContainer
2015-01-13 10:32:28 -08:00
Joffrey F
d382482378
Merge pull request #460 from docker/0.7.1-release
...
0.7.1 release
2015-01-12 14:18:30 -08:00
Joffrey F
53ef3c380c
Updated version and changelog
2015-01-12 14:16:41 -08:00
Joffrey F
5794b98000
Added deprecation warning for stream parameter in Client.build()
2015-01-12 14:16:13 -08:00
Joffrey F
349c6c5b4f
Merge branch 'master' of github.com:docker/docker-py
2015-01-12 12:14:00 -08:00
Joffrey F
ba0680d8ce
Expanded on boot2docker SSL error resolution
2015-01-12 12:13:37 -08:00
Joffrey F
dfd35a05d8
Merge branch 'boot2docker-docs' of https://github.com/ziadsawalha/docker-py into ziadsawalha-boot2docker-docs
2015-01-12 12:08:15 -08:00
Maxime Petazzoni
abff0fadf7
Merge pull request #456 from naxhh/patch-1
...
Fix closing code tag in TLS doc.
2015-01-11 08:29:03 -08:00
Ignacio Tolstoy
cc1b3057a9
Fix closing code tag in TLS doc.
...
Just a quick fix in the docs.
2015-01-11 16:22:08 +01:00
Joffrey F
9e295d666a
urllib3/requests issues
2015-01-09 15:24:22 -08:00