Moby v1.13.0 Release Notes

Release Date: 2017-01-18 // over 7 years ago
  • IMPORTANT: On Linux distributions where devicemapper was the default storage driver, 0️⃣ the overlay2, or overlay is now used by default (if the kernel supports it). 🔧 To use devicemapper, you can manually configure the storage driver to use through the --storage-driver daemon option, or by setting "storage-driver" in the daemon.json 🔧 configuration file.

    IMPORTANT: In Docker 1.13, the managed plugin api changed, as compared to the experimental version introduced in Docker 1.12. You must uninstall plugins which you installed with Docker 1.12 before upgrading to Docker 1.13. You can uninstall plugins using the docker plugin rm command.

    ⬆️ If you have already upgraded to Docker 1.13 without uninstalling 👀 previously-installed plugins, you may see this message when the Docker daemon starts:

    Error starting daemon: json: cannot unmarshal string into Go value of type types.PluginEnv
    

    🚚 To manually remove all plugins and resolve this problem, take the following steps:

    🐳 1. Remove plugins.json from: /var/lib/docker/plugins/. 🐳 2. Restart Docker. Verify that the Docker daemon starts with no errors. 🔌 3. Reinstall your plugins.

    🏗 Builder

    • ➕ Add capability to specify images used as a cache source on build. These images do not need to have local parent chain and can be pulled from other registries #26839
    • 🏗 (experimental) Add option to squash image layers to the FROM image after successful builds #22641
    • 🛠 Fix dockerfile parser with empty line after escape #24725
    • ➕ Add step number on docker build #24978
    • ➕ Add support for compressing build context during image build #25837
    • ➕ add --network to docker build #27702
    • 🛠 Fix inconsistent behavior between --label flag on docker build and docker run #26027
    • 🛠 Fix image layer inconsistencies when using the overlay storage driver #27209
    • 🏗 Unused build-args are now allowed. A warning is presented instead of an error and failed build #27412
    • 🛠 Fix builder cache issue on Windows #27805
    • 👍 Allow USER in builder on Windows #28415
    • 🏁 Handle env case-insensitive on Windows #28725

    Contrib

    • ➕ Add support for building docker debs for Ubuntu 16.04 Xenial on PPC64LE #23438
    • ➕ Add support for building docker debs for Ubuntu 16.04 Xenial on s390x #26104
    • ➕ Add support for building docker debs for Ubuntu 16.10 Yakkety Yak on PPC64LE #28046
    • ➕ Add RPM builder for VMWare Photon OS #24116
    • ➕ Add shell completions to tgz #27735
    • ⚡️ Update the install script to allow using the mirror in China #27005
    • ➕ Add DEB builder for Ubuntu 16.10 Yakkety Yak #27993
    • ➕ Add RPM builder for Fedora 25 #28222
    • ➕ Add make deb support for aarch64 #27625

    Distribution

    • 🚀 Update notary dependency to 0.4.2 (full changelogs here) #27074
      • Support for compilation on windows docker/notary#970
      • Improved error messages for client authentication errors docker/notary#972
      • Support for finding keys that are anywhere in the ~/.docker/trust/private directory, not just under ~/.docker/trust/private/root_keys or ~/.docker/trust/private/tuf_keys docker/notary#981
      • Previously, on any error updating, the client would fall back on the cache. Now we only do so if there is a network error or if the server is unavailable or missing the TUF data. Invalid TUF data will cause the update to fail - for example if there was an invalid root rotation. docker/notary#982
      • Improve root validation and yubikey debug logging docker/notary#858 docker/notary#891
      • Warn if certificates for root or delegations are near expiry docker/notary#802
      • Warn if role metadata is near expiry docker/notary#786
      • Fix passphrase retrieval attempt counting and terminal detection docker/notary#906
    • 🐳 Avoid unnecessary blob uploads when different users push same layers to authenticated registry #26564
    • 👍 Allow external storage for registry credentials #26354

    🌲 Logging

    • 🐳 Standardize the default logging tag value in all logging drivers #22911
    • 👌 Improve performance and memory use when logging of long log lines #22982
    • 🏁 Enable syslog driver for windows #25736
    • ➕ Add Logentries Driver #27471
    • ⚡️ Update of AWS log driver to support tags #27707
    • 🐳 Unix socket support for fluentd #26088
    • 🏁 Enable fluentd logging driver on Windows #28189
    • 🐳 Sanitize docker labels when used as journald field names #23725
    • 🛠 Fix an issue where docker logs --tail returned less lines than expected #28203
    • 🐎 Splunk Logging Driver: performance and reliability improvements #26207
    • 🐳 Splunk Logging Driver: configurable formats and skip for verifying connection #25786

    Networking

    • ➕ Add --attachable network support to enable docker run to work in swarm-mode overlay network #25962
    • ➕ Add support for host port PublishMode in services using the --publish option in docker service create #27917 and #28943
    • ➕ Add support for Windows server 2016 overlay network driver (requires upcoming ws2016 update) #28182
    • 🔄 Change the default FORWARD policy to DROP #28257
    • ➕ Add support for specifying static IP addresses for predefined network on windows #22208
    • 🛠 Fix --publish flag on docker run not working with IPv6 addresses #27860
    • 🛠 Fix inspect network show gateway with mask #25564
    • 🛠 Fix an issue where multiple addresses in a bridge may cause --fixed-cidr to not have the correct addresses #26659
    • ➕ Add creation timestamp to docker network inspect #26130
    • 🐳 Show peer nodes in docker network inspect for swarm overlay networks #28078
    • 🐳 Enable ping for service VIP address #28019

    🔌 Plugins

    • 🐳 Move plugins out of experimental #28226
    • ➕ Add --force on docker plugin remove #25096
    • ➕ Add support for dynamically reloading authorization plugins #22770
    • ➕ Add description in docker plugin ls #25556
    • ➕ Add -f/--format to docker plugin inspect #25990
    • ➕ Add docker plugin create command #28164
    • 🐳 Send request's TLS peer certificates to authorization plugins #27383
    • 👌 Support for global-scoped network and ipam plugins in swarm-mode #27287
    • 🐳 Split docker plugin install into two API call /privileges and /pull #28963