mirror of https://github.com/docker/docker-py.git
4.3 KiB
4.3 KiB
ChangeLog
0.2.2
- Added support for the
rmparameter inClient.build - Added support for tarball imports in
Client.import_imagethroughdataparameter. - The
commandparameter inClient.create_containeris now optional (for containers that include a default run command)
Bugfixes
- Fixed Python 3 support
- Fixed a bug where anonymous push/pull would break when no authconfig is present
- Fixed a bug where the
quietparameter wouldn't be taken into account inClient.containers - Fixed a bug where
Client.pushwould break when pushing to private registries. - Removed unused
registryparameter inClient.pull. - Removed obsolete custom error message in
Client.create_container.
Miscellaneous
- docker-py is now unit-tested, and Travis-CI has been enabled on the source repository.
0.2.1
- Improvements to the
tox.inifile
Bugfixes
- Fixed a bug where the package would fail with an
ImportErrorif requests was installed usingapt-get - Fixed a bug where
Client.buildwould fail if given apathparameter. - Fixed several bugs in
Client.login. It should now work with API versions 1.4, 1.5. - Please note that
Client.logincurrently doesn't write auth to the.dockercfgfile, thus auth is not persistent when using this method.
0.2.0
- This version introduces breaking changes!
Client.kill,Client.remove_container,Client.remove_image,Client.restart,Client.start,Client.stopandClient.waitdon't support varargs anymore.- Added commands
Client.topandClient.copy - Added
lxc_confparameter 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
Idkey. - Added license header to python files.
- Several
README.mdupdates.
Bugfixes
- Fixed several bugs with auth config parsing.
- Fixed a bug in
Client.pushwhere it would raise an exception if the auth config wasn't loaded. - Fixed a bug in
Client.pullwhere private registry images wouldn't be parsed properly if it contained port information.
0.1.5
Client.buildnow uses tempfiles to store build context instead of storing it in memory- Added
nocacheoption toClient.build Client.remove_containernow raises an exception when trying to remove a running containerClient.create_containernow accepts dicts for theenvironmentparameter
Bugfixes
- Fixed a bug in
Client.create_containeron Python 2.6 where unicode commands would fail to be parsed - Fixed a bug in
Client.buildwhere thetagparameter would not be taken into account
0.1.4
- Added support for API connection through UNIX socket (default for docker 0.5.2+)
0.1.3
- 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
0.1.2
- Added a
quiet parametertoClient.build(mirrors theqparameter in the API)
0.1.1
- Fixed a bug where the build command would list tar contents before sending the request
- Fixed a bug in
Client.port
0.1.0
- 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.portwould fail if provided with a port of type number - Fixed a bug where
Client._post_jsonwouldn't set the Content-Type header toapplication/json
0.0.6
- Added support for custom loggers in
Client.build - Added
Client.attachcommand - Added support for
ADDcommand in builder - Fixed a bug in
Client.logs - Improved unit tests
0.0.5
- Added tag support for the builder
- Use
shlexto parse plain string commands when creating a container - Fixed several bugs in the builder
- Fixed the
quietoption inClient.images - Unit tests
0.0.4
- Improved error reporting
0.0.3
- Fixed a bug in
Client.tag - Fixed a bug where generated images would be removed after a successful build
0.0.2
- Implemented first version of the builder client