shin-
|
53af7e8140
|
If requests.pqckqges.urllib3 isn't present try to import urllib3 directly
|
2013-09-20 16:54:30 +02:00 |
Joffrey F
|
6ca4bb79c1
|
Merge pull request #42 from dotcloud/0.2.0-dev
version 0.2.0
|
2013-09-18 05:17:21 -07:00 |
shin-
|
cf2da51425
|
Fixed doc for Client.start
|
2013-09-18 14:14:39 +02:00 |
shin-
|
aa1f798980
|
Added basic Dockerfile
|
2013-09-14 02:32:35 +02:00 |
shin-
|
8b83cf033d
|
Fixed typos in README
|
2013-09-14 00:58:17 +02:00 |
shin-
|
2108a54fcb
|
Bumped version in setup.py and changed development status from alpha to beta
|
2013-09-14 00:56:34 +02:00 |
shin-
|
afba52dcdd
|
Added utils.ping and used to expand registry URL (http VS https)
|
2013-09-14 00:55:48 +02:00 |
shin-
|
addecd4942
|
Updated changelog
|
2013-09-12 01:17:34 +02:00 |
shin-
|
e07e0599e8
|
Added lxc_conf param to Client.start
|
2013-09-12 00:28:11 +02:00 |
shin-
|
e2e5b9e0fd
|
Merge branch 'master' into 0.2.0-dev
|
2013-09-12 00:00:06 +02:00 |
shin-
|
b712028f74
|
Merge branch 'master' of https://github.com/dotcloud/docker-py
|
2013-09-11 23:45:36 +02:00 |
shin-
|
c8e5a6dab1
|
Methods that previously supported multi-args are now single-argument. Doc and tests updated accordingly.
|
2013-09-11 23:44:58 +02:00 |
shin-
|
58bc2be5a5
|
Merge branch 'implement-top-and-copy' of git://github.com/aanand/docker-py into 0.2.0-dev
|
2013-09-11 21:21:18 +02:00 |
shin-
|
c132d2b70d
|
Fixed tests
|
2013-09-11 21:20:42 +02:00 |
shin-
|
9a92d68cf1
|
Merge branch 'better-error-reporting' of git://github.com/aanand/docker-py into 0.2.0-dev
Conflicts:
docker/__init__.py
docker/client.py
|
2013-09-11 21:14:42 +02:00 |
shin-
|
b0b4eee453
|
newline
|
2013-09-11 21:05:40 +02:00 |
shin-
|
60ecc31e61
|
Fixed some issues with Client.pull + added auth support if version>=1.5
|
2013-09-11 21:04:36 +02:00 |
shin-
|
208fb0366f
|
Use pseudo-constant for index URL
|
2013-09-10 20:38:14 +02:00 |
shin-
|
26933543fe
|
Added license header to .py files
|
2013-09-10 20:34:03 +02:00 |
shin-
|
99c9eadc82
|
Cleanup, externalized into modules, fixed auth
|
2013-09-10 20:31:03 +02:00 |
shin-
|
dc3937faa8
|
Fixed several auth bugs
|
2013-09-10 02:21:33 +02:00 |
Joffrey F
|
ab0f989154
|
Merge pull request #40 from denibertovic/issue-33
Fix issue 33
|
2013-09-06 09:23:34 -07:00 |
Deni Bertovic
|
49a3cb87b1
|
Merge branch 'master' of github.com:dotcloud/docker-py into issue-33
Conflicts:
docker/client.py
|
2013-09-05 08:32:08 +02:00 |
Deni Bertovic
|
6c616792d4
|
updated README
|
2013-09-04 23:46:45 +02:00 |
Deni Bertovic
|
f032ecfe47
|
Fixed #33 - make client commands more consistent
|
2013-09-04 15:53:37 +02:00 |
Joffrey F
|
d47b45d860
|
Merge pull request #37 from aanand/set-attach-attributes
When creating a container, set Attach* attributes according to detach and stdin_open arguments
|
2013-09-03 19:29:38 -07:00 |
Joffrey F
|
76a34c5fd3
|
Merge pull request #36 from aanand/get-attach-socket
attach_socket() method for just getting the HTTP socket
|
2013-09-03 18:52:37 -07:00 |
Aanand Prasad
|
0b26b696e1
|
Implement client.copy(), which works much like export()
|
2013-09-03 13:30:33 -04:00 |
Aanand Prasad
|
31a2b40d8d
|
Implement top()
|
2013-09-03 13:30:32 -04:00 |
Aanand Prasad
|
fea6f1c197
|
Remove redundant status code check from _result()
|
2013-09-03 13:27:35 -04:00 |
Aanand Prasad
|
5a2edc1806
|
Remove custom error code handling
|
2013-09-03 13:27:35 -04:00 |
Aanand Prasad
|
ddee3a5380
|
Enable overriding of APIError explanation. Override explanation for missing image in run().
|
2013-09-03 13:27:35 -04:00 |
Aanand Prasad
|
f35cc69994
|
Call _raise_for_status every time we make a request
|
2013-09-03 13:27:35 -04:00 |
Aanand Prasad
|
6d728157d6
|
Refactor HTTP error reporting
- `APIError` class extends `HTTPError`
- Custom error string logic moved into `APIError.__init__()`
- Conveniences: `explanation`, `is_client_error()`, `is_server_error()`
- Strip trailing newline from explanation
|
2013-09-03 13:27:35 -04:00 |
Aanand Prasad
|
da3fe9cdaa
|
attach_socket() method for just getting the HTTP socket
|
2013-09-03 13:24:59 -04:00 |
Aanand Prasad
|
fdcc4d9a09
|
Set AttachStd* attributes according to detach and stdin_open commands, analogously to the docker cli
|
2013-09-01 01:02:00 -04:00 |
Joffrey F
|
6dff1efde7
|
Merge pull request #34 from ehazlett/privileged-containers
added privileged container support
|
2013-08-30 10:28:22 -07:00 |
Evan Hazlett
|
ea087b7b15
|
added privileged container support
|
2013-08-30 09:35:09 -04:00 |
shin-
|
c0d8b2ef09
|
Fixed tests
|
2013-08-28 18:39:26 +02:00 |
shin-
|
3a8b40c19b
|
Bumped version to 0.1.5
|
2013-08-28 18:23:55 +02:00 |
shin-
|
4d02aa2228
|
create_container now accepts dict objects for the environment parameter. Fixes #20
|
2013-08-27 02:22:40 +02:00 |
shin-
|
96e8e55655
|
Fix for #30 (Client#build tag param now works properly)
|
2013-08-27 01:53:33 +02:00 |
shin-
|
81b870f523
|
Merge branch 'master' of https://github.com/dotcloud/docker-py
|
2013-08-27 01:32:52 +02:00 |
shin-
|
75d6f84e93
|
remove_container now raises an exception when encountering an error
|
2013-08-27 01:22:06 +02:00 |
Joffrey F
|
10491f4480
|
Merge pull request #31 from bwhaley/nocache
Add nocache build option
|
2013-08-15 05:03:19 -07:00 |
Ben Whaley
|
3f00c059d4
|
Add nocache build option
|
2013-08-14 16:48:54 -07:00 |
shin-
|
7380f3827f
|
Merge branch 'master' of https://github.com/dotcloud/docker-py
|
2013-08-14 23:12:15 +02:00 |
shin-
|
d0c54361d9
|
Use tempfiles instead of memfiles for build contexts
|
2013-08-14 23:11:53 +02:00 |
Joffrey F
|
f3ff3925c6
|
Merge pull request #29 from raphdg/fix_shlex
Fixed python26 shlex split of unicode strings.
|
2013-08-14 07:20:40 -07:00 |
Raphaël De Giusti
|
579201bcf7
|
Fixed python26 shlex split of unicode strings.
Python 2.6.6 (r266:84292, Sep 11 2012, 08:34:23)
[GCC 4.4.6 20120305 (Red Hat 4.4.6-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import shlex
>>> cmd = u"/bin/bash echo 'Hello World'"
>>> shlex.split(cmd)
['/\x00\x00\x00b\x00\x00\x00i\x00\x00\x00n\x00\x00\x00/\x00\x00\x00b\x00\x00\x00a\x00\x00\x00s\x00\x00\x00h\x00\x00\x00',
'\x00\x00\x00e\x00\x00\x00c\x00\x00\x00h\x00\x00\x00o\x00\x00\x00',
'\x00\x00\x00\x00\x00\x00H\x00\x00\x00e\x00\x00\x00l\x00\x00\x00l\x00\x00\x00o\x00\x00\x00
\x00\x00\x00W\x00\x00\x00o\x00\x00\x00r\x00\x00\x00l\x00\x00\x00d\x00\x00\x00\x00\x00\x00']
>>> shlex.split(str(cmd))
['/bin/bash', 'echo', 'Hello World']
|
2013-08-14 08:27:42 +02:00 |