Moby v1.10.0 Release Notes

Release Date: 2016-02-04 // about 8 years ago
  • IMPORTANT: Docker 1.10 uses a new content-addressable storage for images and layers. ๐Ÿณ A migration is performed the first time docker is run, and can take a significant amount of time depending on the number of images present. ๐Ÿณ Refer to this page on the wiki for more information: https://github.com/docker/docker/wiki/Engine-v1.10.0-content-addressability-migration ๐Ÿš€ We also released a cool migration utility that enables you to perform the migration before updating to reduce downtime. ๐Ÿณ Engine 1.10 migrator can be found on Docker Hub: https://hub.docker.com/r/docker/v1.10-migrator/

    โš™ Runtime

    • ๐Ÿ†• New docker update command that allows updating resource constraints on running containers #15078
    • โž• Add --tmpfs flag to docker run to create a tmpfs mount in a container #13587
    • โž• Add --format flag to docker images command #17692
    • ๐Ÿ‘ Allow to set daemon configuration in a file and hot-reload it with the SIGHUP signal #18587
    • โšก๏ธ Updated docker events to include more meta-data and event types #18888 This change is backward compatible in the API, but not on the CLI.
    • โž• Add --blkio-weight-device flag to docker run #13959
    • โž• Add --device-read-bps and --device-write-bps flags to docker run #14466
    • โž• Add --device-read-iops and --device-write-iops flags to docker run #15879
    • โž• Add --oom-score-adj flag to docker run #16277
    • โž• Add --detach-keys flag to attach, run, start and exec commands to override the default key sequence that detaches from a container #15666
    • โž• Add --shm-size flag to run, create and build to set the size of /dev/shm #16168
    • ๐Ÿณ Show the number of running, stopped, and paused containers in docker info #19249
    • ๐Ÿณ Show the OSType and Architecture in docker info #17478
    • โž• Add --cgroup-parent flag on daemon to set cgroup parent for all containers #19062
    • โž• Add -L flag to docker cp to follow symlinks #16613
    • ๐Ÿ†• New status=dead filter for docker ps #17908
    • ๐Ÿ”„ Change docker run exit codes to distinguish between runtime and application errors #14012
    • โœจ Enhance docker events --since and --until to support nanoseconds and timezones #17495
    • โž• Add --all/-a flag to stats to include both running and stopped containers #16742
    • ๐Ÿ”„ Change the default cgroup-driver to cgroupfs #17704
    • ๐Ÿ— Emit a "tag" event when tagging an image with build -t #17115
    • ๐Ÿณ Best effort for linked containers' start order when starting the daemon #18208
    • โž• Add ability to add multiple tags on build #15780
    • ๐Ÿณ Permit OPTIONS request against any url, thus fixing issue with CORS #19569
    • ๐Ÿ›  Fix the --quiet flag on docker build to actually be quiet #17428
    • ๐Ÿ›  Fix docker images --filter dangling=false to now show all non-dangling images #19326
    • ๐Ÿ›  Fix race condition causing autorestart turning off on restart #17629
    • ๐Ÿณ Recognize GPFS filesystems #19216
    • ๐Ÿ›  Fix obscure bug preventing to start containers #19751
    • ๐Ÿณ Forbid exec during container restart #19722
    • ๐Ÿณ devicemapper: Increasing --storage-opt dm.basesize will now increase the base device size on daemon restart #19123

    ๐Ÿ”’ Security

    • โž• Add --userns-remap flag to daemon to support user namespaces (previously in experimental) #19187
    • โž• Add support for custom seccomp profiles in --security-opt #17989
    • โž• Add default seccomp profile #18780
    • โž• Add --authorization-plugin flag to daemon to customize ACLs #15365
    • ๐Ÿณ Docker Content Trust now supports the ability to read and write user delegations #18887 This is an optional, opt-in feature that requires the explicit use of the Notary command-line utility in order to be enabled. Enabling delegation support in a specific repository will break the ability of Docker 1.9 and 1.8 to pull from that repository, if content trust is enabled.
    • ๐Ÿ‘ Allow SELinux to run in a container when using the BTRFS storage driver #16452

    Distribution

    • ๐Ÿณ Use content-addressable storage for images and layers #17924 Note that a migration is performed the first time docker is run; it can take a significant amount of time depending on the number of images and containers present. Images no longer depend on the parent chain but contain a list of layer references. docker load/docker save tarballs now also contain content-addressable image configurations. For more information: https://github.com/docker/docker/wiki/Engine-v1.10.0-content-addressability-migration
    • โž• Add support for the new manifest format ("schema2") #18785
    • ๐ŸŽ Lots of improvements for push and pull: performance++, retries on failed downloads, cancelling on client disconnect #18353, #18418, #19109, #18353
    • ๐Ÿณ Limit v1 protocol fallbacks #18590
    • ๐Ÿ›  Fix issue where docker could hang indefinitely waiting for a nonexistent process to pull an image #19743

    Networking

    • ๐Ÿณ Use DNS-based discovery instead of /etc/hosts #19198
    • ๐Ÿ‘Œ Support for network-scoped alias using --net-alias on run and --alias on network connect #19242
    • โž• Add --ip and --ip6 on run and network connect to support custom IP addresses for a container in a network #19001
    • โž• Add --ipam-opt to network create for passing custom IPAM options #17316
    • โž• Add --internal flag to network create to restrict external access to and from the network #19276
    • โž• Add kv.path option to --cluster-store-opt #19167
    • โž• Add discovery.heartbeat and discovery.ttl options to --cluster-store-opt to configure discovery TTL and heartbeat timer #18204
    • โž• Add --format flag to network inspect #17481
    • โž• Add --link to network connect to provide a container-local alias #19229
    • ๐Ÿ‘Œ Support for Capability exchange with remote IPAM plugins #18775
    • โž• Add --force to network disconnect to force container to be disconnected from network #19317
    • ๐Ÿ‘Œ Support for multi-host networking using built-in overlay driver for all engine supported kernels: 3.10+ #18775
    • ๐Ÿณ --link is now supported on docker run for containers in user-defined network #19229
    • โœจ Enhance docker network rm to allow removing multiple networks #17489
    • ๐Ÿณ Include container names in network inspect #17615
    • ๐Ÿณ Include auto-generated subnets for user-defined networks in network inspect #17316
    • โž• Add --filter flag to network ls to hide predefined networks #17782
    • โž• Add support for network connect/disconnect to stopped containers #18906
    • โž• Add network ID to container inspect #19323
    • ๐Ÿ›  Fix MTU issue where Docker would not start with two or more default routes #18108
    • ๐Ÿ›  Fix duplicate IP address for containers #18106
    • ๐Ÿ›  Fix issue preventing sometimes docker from creating the bridge network #19338
    • ๐Ÿณ Do not substitute 127.0.0.1 name server when using --net=host #19573

    ๐ŸŒฒ Logging

    • ๐Ÿ†• New logging driver for Splunk #16488
    • โž• Add support for syslog over TCP+TLS #18998
    • โœจ Enhance docker logs --since and --until to support nanoseconds and time #17495
    • โœจ Enhance AWS logs to auto-detect region #16640

    Volumes

    • โž• Add support to set the mount propagation mode for a volume #17034
    • โž• Add ls and inspect endpoints to volume plugin API #16534 Existing plugins need to make use of these new APIs to satisfy users' expectation For that, please use the new MIME type application/vnd.docker.plugins.v1.2+json #19549
    • ๐Ÿ›  Fix data not being copied to named volumes #19175
    • ๐Ÿ›  Fix issues preventing volume drivers from being containerized #19500
    • ๐Ÿ›  Fix docker volumes ls --dangling=false to now show all non-dangling volumes #19671
    • ๐Ÿณ Do not remove named volumes on container removal #19568
    • ๐Ÿ‘ Allow external volume drivers to host anonymous volumes #19190

    ๐Ÿ— Builder

    • โž• Add support for ** in .dockerignore to wildcard multiple levels of directories #17090
    • ๐Ÿ›  Fix handling of UTF-8 characters in Dockerfiles #17055
    • ๐Ÿ›  Fix permissions problem when reading from STDIN #19283

    Client

    • Add support for overriding the API version to use via an DOCKER_API_VERSION environment-variable #15964
    • ๐Ÿ›  Fix a bug preventing Windows clients to log in to Docker Hub #19891

    Misc

    • ๐Ÿณ systemd: Set TasksMax in addition to LimitNPROC in systemd service file #19391

    ๐Ÿ—„ Deprecations

    • โœ‚ Remove LXC support. The LXC driver was deprecated in Docker 1.8, and has now been removed #17700
    • โœ‚ Remove --exec-driver daemon flag, because it is no longer in use #17700
    • โœ‚ Remove old deprecated single-dashed long CLI flags (such as -rm; use --rm instead) #17724
    • ๐Ÿณ Deprecate HostConfig at API container start #17799
    • ๐Ÿง Deprecate docker packages for newly EOL'd Linux distributions: Fedora 21 and Ubuntu 15.04 (Vivid) #18794, #18809
    • ๐Ÿณ Deprecate -f flag for docker tag #18350