All changes
- [#529] (docker-java#529) Refactor CertUtils. Support ECDSA and PrivateKey
Notes
- The 3.0.0 release contains multiple API breaking changes compared to 2.x therefore the major version switch. It supports a subset of v.1.22 of the docker remote API. It also includes an experimental netty based implementation of
DockerCmdExecFactory
that probably will replace the current jersey/httpclient based one in a later release. Take a look at the Wiki how to use it. - The configuration has been changed to better match the docker CLI configuration options. The properties file was renamed from
docker.io.properties
todocker-java.properties
. See README.md for details.
All changes
- [#590] (docker-java#590) Fix default docker.properties to match with docker CLI defaults
- [#585] (docker-java#585) Add RootDir property to GraphData
- [#580] (docker-java#580) Fixes execute permissions for files when copied to container
- [#579] (docker-java#579) Adds missing name filter evaluation to netty version of ListImagesCmdExec
- [#578] (docker-java#578) Fix error during image build when Dockerfile in subdirectory of build context
- [#575] (docker-java#575) Support binding of port ranges
- [#574] (docker-java#574) Fix for copyArchiveToContainerCmd bug
- [#572] (docker-java#572) Inspect container command now shows sizes if requested
- [#563] (docker-java#563) Fix memory leak in netty implementation of DockerCmdExecFactory
- [#550] (docker-java#550) Add ability to configure IPAM config for CreateNetworkCmd
- [#484] (docker-java#484) Implement missing network api options for v1.22
Included in 3.0.0-RC5
- [#542] (docker-java#542) Fix large volumes of output from "docker exec" trigger out of memory error
- [#541] (docker-java#541) ImageInspectResponse.GraphDriver.Data is more complex structure
- [#534] (docker-java#534) Fix create volume command doesn't assign passed in volume driverOpts to field
- [#533] (docker-java#533) Added shmsize build option
Included in 3.0.0-RC4
- [#528] (docker-java#528) Fix DOCKER_TLS_VERIFY cannot be 'false' or empty
- [#527] (docker-java#527) Fix
mirrors
field is list and not a single string #527 - [#510] (docker-java#510) Add CgroupParent option for create cmd
- [#509] (docker-java#509) Implement container rename api
- [#501] (docker-java#501) Fix execution of copy file/archive command skips 0xFF bytes
- [#500] (docker-java#500) Add aux to ResponseItem
- [#498] (docker-java#498) Update image inspect response
Included in 3.0.0-RC3
- [#488] (docker-java#488) Support remote API 1.22 subset
Included in 3.0.0-RC2
- [#486] (docker-java#486) Fix NegativeArraySizeException in awaitCompletion()
- [#472] (docker-java#472) Exec start command: detect end of STDIN stream
- [#466] (docker-java#466) Fix exec start stdin encoding
Included in 3.0.0-RC1
- [#463] (docker-java#463) More logging drivers
- [#447] (docker-java#447) Refactoring of DockerClientConfig
- [#430] (docker-java#430) Fix ExecStartCmd failure
- [#426] (docker-java#426) Refactored filters API
- [#425] (docker-java#425) Implement Network API
- [#410] (docker-java#410) Support for build-args of docker build
- [#408] (docker-java#408) Support for volume API
- [#406] (docker-java#406) Added RestartCount to InspectContainerResponse
- [#396] (docker-java#396) Disable evaluation of http.proxy... variables when using unix socket connection
- [#393] (docker-java#393) Support ONBUILD instruction in Dockerfiles
- [#392] (docker-java#392) Introduce InspectContainerResponse.Mounts
- [#387] (docker-java#387) Make ProgressDetails attributes public
- [#386] (docker-java#386) Basic http proxy configuration support
- [#362] (docker-java#362) Deprecate "network" and enable "networks" stats (remote Docker API 1.21)
- [#359] (docker-java#359) Fix performance issue of build command by adding bulk-read variant of InputStream.read()
- [#357] (docker-java#357) Wait container command needs possibility to abort operation
- [#347] (docker-java#347) Implementation of copy archive to/from container commands
- [#313] (docker-java#313) Refactor primitive type fields to be of object type in JSON objects
- [#487] (docker-java#487) Fix NegativeArraySizeException in awaitCompletion()
- [#478] (docker-java#478) Remove debug println
- [#474] (docker-java#474) Fix periodic pull failure (2.x)
- [#457] (docker-java#457) Input configuration should not be altered as it breaks unix socket support
- [#430] (docker-java#430) Fix ExecStartCmd failure (backported from 3.0.0)
- [#396] (docker-java#396) Disable evaluation of http.proxy... variables when using unix socket connection
- [#359] (docker-java#359) Fix performance issue of build command by adding bulk-read variant of InputStream.read()
- [#387] (docker-java#387) Make ProgressDetails attributes public
- [#386] (docker-java#386) Basic http proxy configuration support
- [#362] (docker-java#362) Deprecate "network" and enable "networks" stats (remote Docker API 1.21)
- [#350] (docker-java#350) Remove ServiceLoader logic
- [#344] (docker-java#344) Implement equals/hashCode for Filters
- [#335] (docker-java#335) Improve backward-compatibility support for older API versions
- [#333] (docker-java#333) Adding support for withPidMode
- [#326] (docker-java#326) Add all missing fields to ResponseItem and related classes
- [#320] (docker-java#320) Support "since" field for logs command
- [#306] (docker-java#306) fix(core): fix NPE if latestItem is null in result callback
- [#305] (docker-java#305) chore(core): do not expect default DockerCmdExecFactory service
- [#304] (docker-java#304) Throw original exception when command.close() throws Exception too
- [#299] (docker-java#299) BuildImage sync to 1.20 API
- [#291] (docker-java#291) Moved "Memory", "MemorySwap" and "CpuShares" mappings from ContainerConfig to HostConfig
Release notes
- This is a bugfix release. With this release docker >= v1.7.0 is recommended.
All changes
- [#301] (docker-java#301) Respect exception rules in .dockerignore file while build images
- [#298] (docker-java#298) Fix repository name validation errors
- [#296] (docker-java#296) Fix Build FROM private registry broken with docker 1.7.x
- [#295] (docker-java#295) Support certificate chains in cert.pem
- [#287] (docker-java#287) Using the oomKillDisable flag throws a null pointer exception
Release notes
- Some commands APIs has been changed to be callback-driven now to simplify the processing of the result streams for the client application. This affects namely the events, stats, log, attach, build, push and pull commands. Look at the Wiki how to process events or how to build an image from dockerfile for example.
- The
DockerClientConfig
API has changed to free it from implementation specific configuration options likereadTimeout
,maxTotalConnections
,maxPerRouteConnections
andenableLoggingFilter
. Most options can be configured viaDockerCmdExecFactoryImpl
programmatically now. Logging is configurable via logback configuration file in the classpath.
All changes
- #284 Added GZIP compression for build context creation
- #282 Remove JAXRS/ApacheConnector implementation specific properties from DockerClientConfig
- #280 Handle multiple source files in ADD command
- #278 Stop leaking tar files in temporary folder
- #275 Implemented LogConfig (create and inspect containers)
- #272 remove withHostConfig() from create container command
- #270 Passing result callbacks for async commands via commands exec()
- #269 Add filters option to events operation
- #268 Concurrent DockerCmdExecFactory.getDefaultDockerCmdExecFactory fails on reload
- #263 Refactoring of streaming commands APIs (event, stats, log, attach)
- #262 Accept filters in list containers
- #260 Add labels to create and inspect container
- #248 Removed deprecated start options
- #247 Add Domainname attribute on create command
- #245 Added ReadonlyRootfs option
- #233 Labels are array of Strings (fixes #232)
- #189 Add docker stats support
- #213 Add ulimit support
- #208 Added PullEventStreamItem and EventStreamReader to stream the reading of events
- #205 Access mode of VolumesRW incorrectly deserialized
- [#204] (docker-java#204) Added support to use the credentials from .dockercfg during build
- #203 Missing 'MacAddress' option in create container command
- #197 Allow for null bindings
- #194 Fixed remove intermediate containers bug on build goal
- #193 Add HostConfig related methods from start command to create command
- #192 Added a Links constructor accepting a List object
- #186 Added withPull method to BuilImageCmd
- #185 Introduce WrappedResponseInputStream to close underlying Response
- #180 Dockerfiles not called 'dockerfile'
- #179 Add support for cpuset in CreateContainerCmd
- #170 Allow to specify alternative files other than 'Dockerfile' for building images
- #165 PushImageCmd assumes that you have an auth config setup
- #161 Inspect exec command
- #159 Add missing Info fields
- #156 Add support for configuring ExtraHosts
- #146 Create Identifier type
- #152 Restore guava as a dependency
- #149 Handle HTTP-Redirects
- #148 Save image functionality
- #142 Reduce Logging Level
- #138 Apache CXF interopabilty
- #137 Multiple volumesFrom option when creating a container
- #135 Update to latest unix-socket-factory
- #134 Remove Google Guava as dependency
- #131 Utility classes and streamed JSON representations
- #128 Allow unauthorized pullImageCmd
- #125 Unixsocket support
- #123 support DOCKER_TLS_VERIFY to detect ssl
- #121 Implemented support for commands: Exec-start, Exec-create
- #120 Command resource cleanup after command execution
- #118 Use chunked encoding when passing the docker image
- #116 Allow SSL configuration from pre-existing keystore to be used
- #115 Polish RestartPolicy
- #114 Fix CreateContainerCmdImpl.withVolumesFrom()
- #111 Allow to send empty messages in StartContainerCmd
- #109 Support tag in push image command
- #106 Allow to manage Linux capabilities in CreateContainerCmd
- #105 Allow to pass HostConfig when creating a container
- #103 Make GoLangMatchFileFilter work on Windows
- #102 Downgraded jackson-jaxrs dependency version
- #101 list filtered images as described in the remote api docs
- #100 Add support for .dockercfg files to handle auth for push command
- #95 Add support for .dockerignore files
- #92 Add travis-ci support
- #90 Update DockerClientBuilder.java
- #88 Add support for private repositories and pull/push authentication
- #87 Improve adding of port bindings
- #83 Loading of custom DockerCmdExecFactory
- #81 Env config
- #82 Allow multiple port bindings per ExposedPort
- #80 explicitly use the latest image version
- #79 Move slow tests to integration test phase, enable tests by default
- #76 New enum "InternetProtocol" for supported IP protocols replaces "scheme"
- #75 Use ExposedPort.toString() in serialization
- #74 Use project.build.sourceEncoding in compiler
- #73 Improve parsing and serialization of Link
- #70 Improve instantiation and serialization of Bind
- #69 Use canonical form of Docker folder when building TAR files
- #68 Set Jersey client CommonProperties.FEATURE_AUTO_DISCOVERY_DISABLE
- #67 typo in README.md
- #65 Added static method udp in ExposedPort
- #63 Bind.parse() fails when access mode is specified
- #57 Add streaming events API
- #59 Update readme to include corrected api example
- #2 Move to new maven coordinate com.github.docker-java:docker-java
- #56 Update README.md
- #58 Code clear and bug fix
- #49 Allow user to check where volume is binded on host
- #47 let CompressArchiveUtil preserve executable flags
- #46 Fixes to AttachContainerCmd and CreateContainerCmd.
- #45 Fix Issue #44 Adjusting DNS property type to be a String array as specified by the Doc...
- #38 Remove special-case for one ":" from PullCommand
- #37 Starts v0.10.0
- #35 Exposing the withTTY method for container creation.
- #31 Change VolumesFrom to handle array
- #29 Makes Config a public, immutable class with a builder
- #22 Fixes for startContainerCmd
- #19 Add missing options to BuildCmd and set them to match Docker client.
- #16 Build image improvements
- #14 Use RegEx to match ADD command from Dockerfile.
- #9 Add a build command accepting a tar as a InputStream, so we can build the Dockerfile TAR on the fly without a temporary folder.
- #2 Move to new maven coordinate com.github.docker-java:docker-java
- #1 Merge
- #2 Move to new maven coordinate com.github.docker-java:docker-java
- #66 Backport the new structure to Jersey 1.18
- #65 Added static method udp in ExposedPort
- #61
- #60 Added additional callback methods to EventCallback
- #1 Merge
- #55
- #58 Code clear and bug fix
- #54
- #3
- #2 Move to new maven coordinate com.github.docker-java:docker-java
- #1 Merge
- #34
- #36
- #37 Starts v0.10.0
- #32
- #28 Improves use of docker-java in unit tests
- #30 Add ping method
- #27 Added a close method to DockerClient
- #26
- #24
- #23
- #22 Fixes for startContainerCmd
- #20
- #19 Add missing options to BuildCmd and set them to match Docker client.
- #18 Added Container-Linking
- #16 Build image improvements
- #15 Collection of changes driven by use in gradle-docker and on Windows
- #14 Use RegEx to match ADD command from Dockerfile.
- #9 Add a build command accepting a tar as a InputStream, so we can build the Dockerfile TAR on the fly without a temporary folder.
- #5 add paused field in ContainerInspectResponse
- #6