- Support for API version 1.6
- Added support for links
- Added support for global request timeout
- Added
signal
parameter inClient.kill
- Added support for
publish_all_ports
inClient.start
Client.pull
,Client.push
andClient.build
can be streamed now- Added support for websockets in
Client.attach
- Fixed ports for Docker 0.6.5+
- Added
Client.events
method (access to the/events
endpoint) - Changed the way the ports and volumes are provided in
Client.start
andClient.create_container̀
to make them simpler and more intuitive.
- Fixed a bug where private registries on HTTPS weren't handled properly
- Fixed a bug where auth would break with Python 3
- Test improvements
- Slight doc improvements
- Added support for the
rm
parameter inClient.build
- Added support for tarball imports in
Client.import_image
throughdata
parameter. - The
command
parameter inClient.create_container
is now optional (for containers that include a default run command)
- Fixed Python 3 support
- Fixed a bug where anonymous push/pull would break when no authconfig is present
- Fixed a bug where the
quiet
parameter wouldn't be taken into account inClient.containers
- Fixed a bug where
Client.push
would break when pushing to private registries. - Removed unused
registry
parameter inClient.pull
. - Removed obsolete custom error message in
Client.create_container
.
- docker-py is now unit-tested, and Travis-CI has been enabled on the source repository.
- Improvements to the
tox.ini
file
- Fixed a bug where the package would fail with an
ImportError
if requests was installed usingapt-get
- Fixed a bug where
Client.build
would fail if given apath
parameter. - Fixed several bugs in
Client.login
. It should now work with API versions 1.4, 1.5. - Please note that
Client.login
currently doesn't write auth to the.dockercfg
file, thus auth is not persistent when using this method.
- This version introduces breaking changes!
Client.kill
,Client.remove_container
,Client.remove_image
,Client.restart
,Client.start
,Client.stop
andClient.wait
don't support varargs anymore.- Added commands
Client.top
andClient.copy
- Added
lxc_conf
parameter toClient.start
- Added support for authentication in
Client.pull
(API version >=1.5) - Added support for privileged containers.
- Error management overhaul. The new version should be more consistent and
- All methods that expected a container ID as argument now also support a dict
containing an
Id
key. - Added license header to python files.
- Several
README.md
updates.
- Fixed several bugs with auth config parsing.
- Fixed a bug in
Client.push
where it would raise an exception if the auth config wasn't loaded. - Fixed a bug in
Client.pull
where private registry images wouldn't be parsed properly if it contained port information.
Client.build
now uses tempfiles to store build context instead of storing it in memory- Added
nocache
option toClient.build
Client.remove_container
now raises an exception when trying to remove a running containerClient.create_container
now accepts dicts for theenvironment
parameter
- Fixed a bug in
Client.create_container
on Python 2.6 where unicode commands would fail to be parsed - Fixed a bug in
Client.build
where thetag
parameter would not be taken into account
- Added support for API connection through UNIX socket (default for docker 0.5.2+)
- The client now tries to load the auth config from
~/.dockercfg
. This is necessary to use the push command if API version is >1.0
- Added a
quiet parameter
toClient.build
(mirrors theq
parameter in the API)
- Fixed a bug where the build command would list tar contents before sending the request
- Fixed a bug in
Client.port
- This version introduces breaking changes!
- Switched to server side build system
- Removed the BuilderClient
- Added support for contextual builds
- Added support for remote URL builds
- Added python 3 support
- Added bind mounts support
- Added API version support
- Fixed a bug where
Client.port
would fail if provided with a port of type number - Fixed a bug where
Client._post_json
wouldn't set the Content-Type header toapplication/json
- Added support for custom loggers in
Client.build
- Added
Client.attach
command - Added support for
ADD
command in builder - Fixed a bug in
Client.logs
- Improved unit tests
- Added tag support for the builder
- Use
shlex
to parse plain string commands when creating a container - Fixed several bugs in the builder
- Fixed the
quiet
option inClient.images
- Unit tests
- Improved error reporting
- Fixed a bug in
Client.tag
- Fixed a bug where generated images would be removed after a successful build
- Implemented first version of the builder client