Andrew T. Baker
7bbeca8b9f
Adds missing comma in start ports dict
2013-11-09 15:36:35 -05:00
Jessica Gadling
70a5c9b0ca
Support the new PublishAllPorts flag.
2013-11-08 21:07:18 -08:00
Maxime Petazzoni
a451119e4a
Allow for configurable timeout on all client requests
...
Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
2013-11-08 15:19:51 -08:00
yukw777
fdd48cff81
pull, push, build are streamable
2013-11-08 21:08:46 +00:00
shin-
1345da7972
Avoid an additional level of indentation
2013-11-08 20:43:50 +01:00
shin-
2e66ca8a6c
assertIn not supported in py26
2013-11-08 20:43:09 +01:00
shin-
1d1395464c
Merge branch 'auth-load-config-fix' of github.com:mpetazzoni/docker-py into mpetazzoni-auth-load-config-fix
2013-11-08 20:38:01 +01:00
shin-
e206594014
Merged + events should support JSON data of any size
2013-11-08 20:34:59 +01:00
yukw777
e0df0c7ad2
pull, push, build are streamable
2013-11-08 19:22:23 +00:00
shin-
8309ae7896
Added unit test for named containers
2013-11-08 19:34:30 +01:00
shin-
78667c19a8
Merge branch 'named-container-create' of github.com:mpetazzoni/docker-py into mpetazzoni-named-container-create
2013-11-08 19:28:35 +01:00
shin-
287032cf0e
Don't import websocket-client if environment is python 3 (not supported)
2013-11-08 19:10:41 +01:00
shin-
0901b28957
Merge branch 'attach-websocket' of github.com:aanand/docker-py into aanand-attach-websocket
...
Conflicts:
docker/client.py
2013-11-08 19:03:43 +01:00
shin-
f6159b5593
Fixed lxc_conf param in Client.start to accept dict configurations. Fixes #84
2013-11-08 18:58:10 +01:00
Maxime Petazzoni
9871f8d9ac
Don't fail loading the configuration when .dockercfg doesn't exist
...
Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
2013-11-07 15:38:53 -08:00
Maxime Petazzoni
afb349d257
Add integration test for named container creation
...
Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
2013-11-07 15:37:41 -08:00
Joffrey F
4b8938ae24
Merge pull request #81 from ureyes84/start_lxc_conf_doc
...
Added example to the lxc_conf argument in the start command
2013-11-07 07:54:25 -08:00
Ulises Reyes
674fe91451
Added example to the lxc_conf argument in the start command
2013-11-06 21:23:35 -05:00
Maxime Petazzoni
f344d8e65f
Support naming containers when creating them
...
Add support for passing in the name parameter to the call to
/containers/create to name the created container (API v1.6 feature).
Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
2013-11-06 17:02:38 -08:00
Aanand Prasad
bd938b5879
Use websockets by passing 'ws' param to attach_socket
2013-11-06 17:33:37 +00:00
Paul Tagliamonte
9a98e7fc8c
Add events endpoint to the Client
...
This is a bit of a hack; I added a method (and did a slight refactor of
the old one) to handle getting the raw socket from the requests
request. If the attach_sockets method isn't public, I'd suggest
removing it entirely for a slightly more general one.
This also needs some attention paid to validating legnth, and properly
parsing the returned data by using the length.
Signed-off-by: Paul Tagliamonte <tag@pault.ag>
2013-11-05 22:20:50 -05:00
Joffrey F
3aa51d52d0
Merge pull request #76 from rca/port_bindings
...
Port bindings
2013-11-05 10:11:39 -08:00
Roberto Aguilar
f62cee4451
Updated README to include /tcp in port binding doc
2013-11-04 15:03:06 -08:00
Roberto Aguilar
6047c581df
Updated README
2013-11-04 14:45:13 -08:00
Roberto Aguilar
5d6bf51b4f
Added Docker 0.6.5 ports compatibility
2013-11-04 14:12:30 -08:00
shin-
28b262337a
Bumped version to 0.2.2
2013-10-24 18:36:37 +02:00
shin-
41750ea172
Merged
2013-10-23 20:04:15 +02:00
shin-
e56bc51fe2
Fixed ImportErrors / package structure
2013-10-23 20:03:04 +02:00
Joffrey F
e44b59f7ce
Merge pull request #69 from gatoralli/patch-1
...
Fixed typo
2013-10-23 10:48:52 -07:00
Joffrey F
f2cd346e8b
Merge pull request #68 from tutumcloud/master
...
fix import ping function used when pushing an image
2013-10-20 10:01:04 -07:00
Jason Sommer
b438d028dc
Fixed typo
2013-10-20 05:25:19 -05:00
Fernando
48604fd63a
fix import ping function used when pushing an image
2013-10-19 18:27:48 -03:00
shin-
8be4c1f0d3
command param in create_container is optional (for images that come with a predefined default command)
2013-10-16 17:34:46 +02:00
shin-
64cdc11b77
Merge branch 'master' of https://github.com/dotcloud/docker-py
2013-10-16 17:31:34 +02:00
shin-
97bd69162a
Added support for unix:/// protocol (default for docker CLI)
2013-10-16 17:30:57 +02:00
Joffrey F
c31fcaf163
Added travis build status to README
2013-10-15 21:22:04 +02:00
shin-
acd2607407
Flake8 compliance + flake8 tests in tox.ini
2013-10-15 21:15:01 +02:00
shin-
86b341ddf9
Added travis.yml file
2013-10-15 19:30:45 +02:00
shin-
f82506e942
Merge branch 'master' of https://github.com/dotcloud/docker-py
2013-10-15 19:20:03 +02:00
shin-
0808905636
Refactoring, Python 3 compatibility, Tests working with python 3, cleaned up imports.
2013-10-15 19:19:20 +02:00
Joffrey F
6fe13a3b84
Merge pull request #63 from aanand/remove-custom-404-message
...
Remove custom error message for image 404
2013-10-14 07:54:25 -07:00
shin-
07d791d50c
Moved docstrings into README.md for consistency.
2013-10-14 16:39:52 +02:00
shin-
cf46c4d2d9
Merge branch 'doc_fix' of git://github.com/kiorky/docker-py into kiorky-doc_fix
2013-10-14 16:31:08 +02:00
shin-
c79045b43c
Fix: push on private repositories.
2013-10-09 22:23:04 +02:00
Aanand Prasad
0739be1565
Remove custom error message for image 404
2013-10-03 15:15:22 +01:00
Aanand Prasad
cf35b38433
Support https:// URLs (replacing with wss://) when attaching websocket
2013-10-03 14:44:33 +01:00
Aanand Prasad
6e659ba12a
Move creation of websocket connection to its own method, so subclasses can override
2013-10-03 14:44:33 +01:00
Aanand Prasad
c2d867b117
Implement attach_websocket() for attaching with WebSockets instead of HTTP streaming
2013-10-03 14:44:33 +01:00
Deni Bertovic
128cdb9112
fixed test list_containers to account for upstream changes
2013-10-03 11:56:44 +02:00
Deni Bertovic
afbfc703ca
integration test fix
...
make the mount point for shared.txt reside in the /tmp/ folder
because if it resides in the lib folder docker sets the owner of the
folder as root inside the container so then when the container exists
the test fails to cleanup and remove the shared.txt file, and breaks git as well.
2013-10-03 11:55:02 +02:00