diff --git a/CHANGELOG.md b/CHANGELOG.md index d6a1de2ba4..f2dddcd6bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,9 +11,13 @@ Attribute deprecations: * container LWRP public_port attribute: use port attribute instead * container LWRP networking attribute: use net attribute instead -## 0.37.0 (unreleased) +## 0.37.0 -Please note: the sysconfig DOCKER_OPTS improvement in [#250][] can potentially change the behavior of that environment variable as it now allows shell interpolation of any embedded variables. This should not affect most environments. If your DOCKER_OPTS does contains any expected `$`, please escape via `\$` for previous behavior or be sure it will behave as expected before upgrading. +Please note some important changes with this release: + +* The sysconfig DOCKER_OPTS improvement in [#250][] can potentially change the behavior of that environment variable as it now allows shell interpolation of any embedded variables. This should not affect most environments. If your DOCKER_OPTS does contains any expected `$`, please escape via `\$` for previous behavior or be sure it will behave as expected before upgrading. +* The daemon restart option (which is deprecated) has been defaulted to `nil` instead of `false` when `node['docker']['container_init_type']` is set to prevent issues with container restart policies. If you're dependent on the daemon option, please be sure to update your `node['docker']['restart']` appropriately. +* This release also defaults systemd docker host to `fd://` to match upstream, enabling socket activation properly. Adjust `node['docker']['host']` if necessary. * Bugfix: [#239][]: Upstart: install inotify tools only once (avoid CHEF-3694 warning) (thanks jperville) * Bugfix: [#240][]: Fixed dead service containers not being restarted on docker_container :run (thanks jperville) @@ -25,6 +29,9 @@ Please note: the sysconfig DOCKER_OPTS improvement in [#250][] can potentially c * Bugfix: [#267][]: Replace outdated testcontainerd (thanks tduffield) * Bugfix: [#269][]: Fix tests on Travis by following Rubocop style guidelines (container LWRP) (thanks fxposter) * Bugfix: [#280][] / [#281][]: Fix port handling when omitted in container LWRP (thanks databus23) +* Bugfix: [#284][] / [#285][]: runit finish script to stop a container (thanks xmik) +* Bugfix: [#288][]: Fix docker.socket unit for RHEL7 (thanks databus23) +* Bugfix: [#292][]: readme formatting fix (thanks wormzer) * Improvement: [#208][]: Add CentOS/RHEL 7 support (thanks dermusikman and intoximeters) * Improvement: [#232][]: Added support for insecure-registry docker daemon option (thanks jperville) * Improvement: [#233][] / [#234][]: Added support for registry-mirror docker daemon option (thanks jperville and tarnfeld) @@ -39,6 +46,11 @@ Please note: the sysconfig DOCKER_OPTS improvement in [#250][] can potentially c * Improvement: [#268][]: Updated the /etc/init/docker.conf template (thanks jperville) * Improvement: [#276][]: Added support for docker options device and cap-add (thanks hvolkmer) * Improvement: [#279][]: Allow docker_container memory to have String value (eg. memory='1G') (thanks jperville) +* Improvement: [#287][]: redhat 7 does not need the epel repository (thanks databus23) +* Improvement: [#289][]: Update systemd service/socket files (from upstream) (thanks databus23) +* Improvement: [#296][]: Default systemd to fd:// as well as use upstream MountFlags=slave and LimitCORE=infinity +* Improvement: [#297][]: Update docker daemon SysV init scripts with upstream improvements +* Improvement: [#298][]: Further deprecate daemon restart flag by default, which interferes with restart policies ## 0.36.0 * Bugfix: [#181][]: Fixed remove_link action (thanks jperville). @@ -633,6 +645,7 @@ Lots of community contributions this release -- thanks! [#244]: https://github.com/bflad/chef-docker/issues/244 [#245]: https://github.com/bflad/chef-docker/issues/245 [#246]: https://github.com/bflad/chef-docker/issues/246 +[#250]: https://github.com/bflad/chef-docker/issues/250 [#258]: https://github.com/bflad/chef-docker/issues/258 [#259]: https://github.com/bflad/chef-docker/issues/259 [#260]: https://github.com/bflad/chef-docker/issues/260 @@ -647,5 +660,13 @@ Lots of community contributions this release -- thanks! [#279]: https://github.com/bflad/chef-docker/issues/279 [#280]: https://github.com/bflad/chef-docker/issues/280 [#281]: https://github.com/bflad/chef-docker/issues/281 +[#284]: https://github.com/bflad/chef-docker/issues/284 +[#285]: https://github.com/bflad/chef-docker/issues/285 +[#287]: https://github.com/bflad/chef-docker/issues/287 +[#289]: https://github.com/bflad/chef-docker/issues/289 +[#292]: https://github.com/bflad/chef-docker/issues/292 +[#296]: https://github.com/bflad/chef-docker/issues/296 +[#297]: https://github.com/bflad/chef-docker/issues/297 +[#298]: https://github.com/bflad/chef-docker/issues/298 [@jcrobak]: https://github.com/jcrobak [@wingrunr21]: https://github.com/wingrunr21 diff --git a/metadata.rb b/metadata.rb index 481dc7a980..7553c4b3b7 100644 --- a/metadata.rb +++ b/metadata.rb @@ -4,7 +4,7 @@ license 'Apache 2.0' description 'Installs/Configures Docker' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) -version '0.36.0' +version '0.37.0' recipe 'docker', 'Installs/Configures Docker' recipe 'docker::aufs', 'Installs/Loads AUFS Linux module'