Maxime Petazzoni
0bce148062
Merge pull request #134 from ticosax/improve-trove-classification
...
Declare explicitly supported python versions
2014-01-07 13:37:02 -08:00
Nicolas Delaby
700fbd3df7
Declare explicitly supported python versions
2014-01-07 15:08:32 +01:00
Maxime Petazzoni
2891c63870
Merge pull request #133 from namin/network-disabled-opt
...
Option to disable network when creating container.
2014-01-05 22:25:51 -08:00
Nada Amin
d1427d38be
Option to disable network when creating container.
2014-01-03 16:20:45 +00:00
Maxime Petazzoni
86a504752c
Merge pull request #132 from DevTable/master
...
A socket that is wrapped in a file-like object must be set to blocking.
2014-01-02 13:50:52 -08:00
Jake Moshenko
294b42c6cd
A socket that is wrapped in a file-like object must be set to blocking.
2013-12-31 14:27:05 -05:00
Joffrey F
6f2ca81e31
Merge pull request #131 from antigluk/master
...
"six" dependency fixed to greater-or-equal
2013-12-30 08:32:06 -08:00
Roman Rader
9787c004e5
"six" dependency fixed to greater-or-equal
2013-12-30 17:49:43 +02:00
Maxime Petazzoni
ef009e114a
Style fixes for flake8
...
Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
2013-12-24 10:07:25 -08:00
Maxime Petazzoni
016a4d961c
Merge pull request #128 from slon/master
...
Fix infinite loop in Client.logs(stream=True) caused by connection close...
2013-12-24 10:04:32 -08:00
Fedor Korotkiy
09f95768f3
Fix infinite loop in Client.logs(stream=True) caused by connection close.
2013-12-24 12:01:16 +00:00
Maxime Petazzoni
20a2c23bc2
Merge pull request #127 from daniellawrence/patch-1
...
Updated using volumes (binds)
2013-12-22 18:18:50 -08:00
Daniel
761a97546f
Updated using volumes (binds)
...
bindings of volumes is called 'binds' not 'bindings'
https://github.com/dotcloud/docker-py/blob/master/docker/client.py#L640
2013-12-23 10:28:43 +11:00
Maxime Petazzoni
fd38b0e7e7
Merge pull request #126 from eltimn/patch-1
...
Updated function signatures in README
2013-12-22 11:10:16 -08:00
Tim Nelson
0eaafe2a9f
Updated function signatures in README
2013-12-22 03:20:16 -06:00
Joffrey F
67e50b4f9f
Merge pull request #118 from mpetazzoni/master
...
README.md formatting changes
2013-12-17 06:37:18 -08:00
Joffrey F
792fff6b47
Merge pull request #122 from mpetazzoni/base-url-sanitize
...
Remove trailing slashes in base_url
2013-12-17 05:55:18 -08:00
Joffrey F
98c5a85ac4
Merge pull request #123 from mpetazzoni/fix-log-stream-recvall
...
Fix stream receive by correctly reading all required bytes from the socket
2013-12-17 05:53:41 -08:00
Maxime Petazzoni
1fe3c041c4
Fix stream receive by correctly reading all required bytes from the socket
...
Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
2013-12-16 15:54:19 -08:00
Maxime Petazzoni
9b4582989b
Remove trailing slashes in base_url. Fixes #108
...
Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
2013-12-16 15:30:44 -08:00
Ulises Reyes
d8e0f5a66f
Improves code style
2013-12-15 20:42:58 -05:00
Ulises Reyes
844e41088e
Refactored test. It now makes 2 calls to port
2013-12-15 02:11:02 -05:00
Ulises Reyes
daa3a1e2ef
Shortened lines
2013-12-14 22:28:45 -05:00
Ulises Reyes
a7c1449757
Improved assertions in the port test
2013-12-14 22:24:19 -05:00
Ulises Reyes
f5924c3863
Updated the port function in order to parse the new NetworkSettings Port dict ( fixes #88 )
2013-12-14 22:00:08 -05:00
Maxime Petazzoni
0e202f9bb9
README.md formatting changes
...
Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
2013-12-13 13:55:15 -08:00
shin-
5c928dcab5
Fixed start_container_with_port_binds test
2013-12-13 15:47:24 +01:00
shin-
64781888e0
Merge branch 'privilege' of github.com:yukw777/docker-py into yukw777-privilege
...
Conflicts:
README.md
tests/test.py
2013-12-13 15:46:54 +01:00
shin-
9bbbb5d3b4
Fixed indentation
2013-12-13 15:27:00 +01:00
Maxime Petazzoni
4bc4ee3cf0
Log streaming and correct decoding of multiplexed log streams
...
Implement log streaming with the stream parameter on logs(), returning a
generator of log lines based on the selected streams (stdout/stderr).
Also correctly decode the multiplexed log streams (current version was
buggy).
Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
2013-12-12 22:26:17 -08:00
shin-
5e68ed1df8
Updated changelog, bumped version in setup.py
2013-12-10 19:53:58 +01:00
Joffrey F
08d6de7ca1
Merge pull request #115 from dotcloud/port_volumes
...
Simplified port bindings and volume mapping
2013-12-09 09:10:26 -08:00
shin-
89f2c58918
Improved port binding conversion rules, fixed bugs, added unit tests
2013-12-09 17:45:12 +01:00
Joffrey F
4fde1a242e
Merge pull request #117 from mpetazzoni/fix-streaming
...
Fix _stream_helper
2013-12-09 07:20:36 -08:00
Maxime Petazzoni
c60c0d24a9
Fix _stream_helper
...
The stream helper that yields the streamed status for push, pull and
build operations was reading data in chunks of 4096 bytes but didn't
support buffering and thus didn't behave well when more than 4096 bytes
were received at once from the socket.
This implementation uses makefile() to get a file object from the socket
on which we can use readline() so we can read line by line the
chunked-encoding data streamed to us by the Docker daemon.
Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
2013-12-06 16:44:47 -08:00
Tom Arnfeld
7b7dd4df86
Implement importing images from an image name instead of src
2013-12-06 23:01:00 +00:00
Tom Arnfeld
50337f8628
Added failing test for importing an image via name instead of src
2013-12-06 23:00:28 +00:00
shin-
ef615f5549
Flake8 fix
2013-12-06 21:05:59 +01:00
shin-
e00a7e986a
Simplified port bindings and volume mapping
2013-12-06 21:00:44 +01:00
Peter Yu
26f6f2bc40
rebased and updated the README
2013-12-06 15:31:15 +00:00
Joris van de Donk
7ae66d5ff4
Update README.md
...
Derp. Removed extra space.
2013-12-06 15:31:15 +00:00
Joris van de Donk
ed45f1fd1b
Fix readme.md documentation for the 'volume' arg in create_container
...
Correct syntax is volumes={"/some/mount/point": {}}, not volumes={"/some/mount/point": ""}.
2013-12-06 15:31:15 +00:00
Fernando
0cb2ce8126
fix auth ping to https
2013-12-06 15:31:15 +00:00
Maxime Petazzoni
f6b345e19c
Correctly pass the response parameter to the HTTPError constructor
...
Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
2013-12-06 15:31:15 +00:00
Maxime Petazzoni
1a83e31d05
Fix under-indented line
...
Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
2013-12-06 15:31:15 +00:00
Maxime Petazzoni
4c4bd95429
Ensure sorted order on links to make unit test deterministic
...
Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
2013-12-06 15:31:15 +00:00
Maxime Petazzoni
db12b61b4d
Restore disabling timeout on image pull
...
Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
2013-12-06 15:30:29 +00:00
Joffrey F
a60c1cd3a8
Merge pull request #113 from jorisvddonk/patch-1
...
Fix readme.md documentation for the 'volume' arg in create_container
2013-12-05 05:11:34 -08:00
Joris van de Donk
ede504d85f
Update README.md
...
Derp. Removed extra space.
2013-12-04 22:04:25 +01:00
Joris van de Donk
5e13a9f0ef
Fix readme.md documentation for the 'volume' arg in create_container
...
Correct syntax is volumes={"/some/mount/point": {}}, not volumes={"/some/mount/point": ""}.
2013-12-04 21:57:25 +01:00