Commit Graph

730 Commits

Author SHA1 Message Date
shin- 4a3350b398 Switching to server-side build system 2013-07-15 18:57:09 +02:00
Thatcher be9c964730 Fixed bug by which c.port('<id>', <port>) would fail because when port not a string
e.g. 
c.port('e087bc23f8d5', 80)

would fail

and 
c.port('e087bc23f8d5', '80') would work. I now inserted str() so it should always work.
2013-07-11 17:53:14 -03:00
Paulo Sousa e1c8a57c85 Added option to attach on containers and be verbose on build process 2013-07-11 16:03:45 -03:00
Enrico 2551105320 Merge branch 'upstream-master' into bind-mounts
Conflicts:
	tests/test.py
2013-07-05 16:23:37 -03:00
Enrico 835f350bd7 Added content-type header to the `post_json` method, some routes need it. 2013-07-05 15:45:58 -03:00
Enrico c2a145c2d8 Added ability to create binds when starting a container. 2013-07-05 15:25:52 -03:00
Sebastian Vetter 48ed4a1d2e Add python 3 support 2013-07-06 00:32:28 +10:00
shin- b7e1ac7069 Fixed logs command 2013-07-03 22:19:41 +02:00
shin- 5ca13da482 Maintain alphabetical order for API methods 2013-07-03 22:00:30 +02:00
shin- f6fce6f2fc Merge branch 'master' of git://github.com/trivio/docker-py into trivio-master 2013-07-03 21:57:53 +02:00
shin- 7a042e0c1a Formatting, implemented ADD in builder (remote only) 2013-07-03 21:52:11 +02:00
Scott Robertson b39d7b465e don't attach stdin 2013-07-03 08:04:05 -07:00
Scott Robertson b088fc5fe7 add docker.attach() 2013-07-02 20:16:36 -07:00
Kimbro Staken 763388eb3c Allow control over the logging done by BuilderClient 2013-06-29 02:24:24 -07:00
shin- a115b50ef5 use shlex.split when command for create_container is a plain string 2013-06-24 21:30:47 +02:00
Evan Hazlett 33b1af6334 added tag support for builder 2013-06-24 02:05:32 -04:00
shin- 3ffef6dd04 Merge branch 'master' of https://github.com/dotcloud/docker-py 2013-06-21 19:56:54 +02:00
shin- ada06bd56d Fixed quiet option in images() 2013-06-21 19:55:56 +02:00
Ken Cochrane 4f748a9d3f Merge pull request #5 from nickstenning/config-typo
Fix typo -- config is a dictionary
2013-06-21 06:12:45 -07:00
Nick Stenning 982087c4f9 Python 3 compatibility: relative imports
In Python 3, this kind of import doesn't work any more. Relative imports have to
be explicit, as in this commit.
2013-06-21 14:05:06 +01:00
Nick Stenning 0cbb9f61aa Fix typo -- config is a dictionary
`self.config` is a dictionary, not an object. References to `self.config.Cmd`
should be `self.config['Cmd']`.
2013-06-20 22:02:48 +01:00
shin- bfbf1eac54 Support multiple slashes in client.push 2013-06-18 06:30:29 -07:00
shin- 9578ee3df4 Fixed 'cmd' command in builder. container config now accepts command as a string or a list and converts accordingly. 2013-06-12 08:39:41 -07:00
shin- f69c179575 Improved error reporting (thanks @johncosta) and don't encapsulate ports in a list in container_config 2013-06-12 07:38:00 -07:00
Joffrey F 7a41f4d227 Merge pull request #2 from cove/master
Minor type fixes that caused the docker server to return 500s
2013-06-06 11:43:39 -07:00
shin- b8621c7871 Trim whitespace in dockerfile command args 2013-06-06 11:38:48 -07:00
shin- a444397b9e Fixed a bug where images and containers would be removed after a successful build 2013-06-06 09:05:58 -07:00
Cove Schneider bcd3a64827 minor json fixes that caused the docker server to return 500s 2013-05-27 09:31:41 -07:00
shin- 5d6271417c Fixed Client.tag 2013-05-23 11:54:31 -07:00
shin- 5daf7bcc99 Added .gitignore, proper packaging, updated setup.py, cleaned up commented code 2013-05-23 06:35:51 -07:00