Docker Engine 17.05 release notes

17.05.0-ce

2017-05-04

Builder

  • Accept -f - to read Dockerfile from stdin, but use local context for building #31236open_in_new
  • The values of default build time arguments (e.g HTTP_PROXY) are no longer displayed in docker image history unless a corresponding ARG instruction is written in the Dockerfile. #31584open_in_new
  • Fix setting command if a custom shell is used in a parent image #32236open_in_new
  • Fix docker build --label when the label includes single quotes and a space #31750open_in_new

Client

Contrib

  • Add support for building docker debs for Ubuntu 17.04 Zesty on amd64 #32435open_in_new

Daemon

Logging

  • Add support for showing logs of individual tasks to docker service logs, and add /task/{id}/logs REST endpoint #32015open_in_new
  • Add --log-opt env-regex option to match environment variables using a regular expression #27565open_in_new

Networking

  • Fix UDP traffic in containers not working after the container is restarted #32505open_in_new
  • Fix files being written to /var/lib/docker if a different data-root is set #32505open_in_new

Runtime

Swarm Mode

  • Add update/rollback order for services (--update-order / --rollback-order) #30261open_in_new
  • Add support for synchronous service create and service update #31144open_in_new
  • Add support for "grace periods" on healthchecks through the HEALTHCHECK --start-period and --health-start-period flag to docker service create, docker service update, docker create, and docker run to support containers with an initial startup time #28938open_in_new
  • docker service create now omits fields that are not specified by the user, when possible. This will allow defaults to be applied inside the manager #32284open_in_new
  • docker service inspect now shows default values for fields that are not specified by the user #32284open_in_new
  • Move docker service logs out of experimental #32462open_in_new
  • Add support for Credential Spec and SELinux to services to the API #32339open_in_new
  • Add --entrypoint flag to docker service create and docker service update #29228open_in_new
  • Add --network-add and --network-rm to docker service update #32062open_in_new
  • Add --credential-spec flag to docker service create and docker service update #32339open_in_new
  • Add --filter mode=<global|replicated> to docker service ls #31538open_in_new
  • Resolve network IDs on the client side, instead of in the daemon when creating services #32062open_in_new
  • Add --format option to docker node ls #30424open_in_new
  • Add --prune option to docker stack deploy to remove services that are no longer defined in the docker-compose file #31302open_in_new
  • Add PORTS column for docker service ls when using ingress mode #30813open_in_new
  • Fix unnescessary re-deploying of tasks when environment-variables are used #32364open_in_new
  • Fix docker stack deploy not supporting endpoint_mode when deploying from a docker compose file #32333open_in_new
  • Proceed with startup if cluster component cannot be created to allow recovering from a broken swarm setup #31631open_in_new

Security

  • Allow setting SELinux type or MCS labels when using --ipc=container: or --ipc=host #30652open_in_new

Deprecation

  • Deprecate --api-enable-cors daemon flag. This flag was marked deprecated in Docker 1.6.0 but not listed in deprecated features #32352open_in_new
  • Remove Ubuntu 12.04 (Precise Pangolin) as supported platform. Ubuntu 12.04 is EOL, and no longer receives updates #32520open_in_new