Moby v1.5.0 Release Notes

Release Date: 2015-02-10 // over 9 years ago
  • ๐Ÿ— Builder

    • ๐Ÿ— Dockerfile to use for a given docker build can be specified with the -f flag
    • ๐Ÿณ Dockerfile and .dockerignore files can be themselves excluded as part of the .dockerignore file, thus preventing modifications to these files invalidating ADD or COPY instructions cache
    • โž• ADD and COPY instructions accept relative paths
    • ๐Ÿณ Dockerfile FROM scratch instruction is now interpreted as a no-base specifier
    • ๐Ÿ‘Œ Improve performance when exposing a large number of ports

    Hack

    • ๐Ÿ‘ Allow client-side only integration tests for Windows
    • ๐Ÿณ Include docker-py integration tests against Docker daemon as part of our test suites

    Packaging

    • ๐Ÿ‘Œ Support for the new version of the registry HTTP API
    • ๐Ÿณ Speed up docker push for images with a majority of already existing layers
    • ๐Ÿ›  Fixed contacting a private registry through a proxy

    Remote API

    • ๐Ÿณ A new endpoint will stream live container resource metrics and can be accessed with the docker stats command
    • ๐Ÿณ Containers can be renamed using the new rename endpoint and the associated docker rename command
    • Container inspect endpoint show the ID of exec commands running in this container
    • ๐Ÿณ Container inspect endpoint show the number of times Docker auto-restarted the container
    • New types of event can be streamed by the events endpoint: โ€˜OOMโ€™ (container died with out of memory), โ€˜exec_createโ€™, and โ€˜exec_start'
    • ๐Ÿ›  Fixed returned string fields which hold numeric characters incorrectly omitting surrounding double quotes

    โš™ Runtime

    • ๐Ÿณ Docker daemon has full IPv6 support
    • ๐Ÿณ The docker run command can take the --pid=host flag to use the host PID namespace, which makes it possible for example to debug host processes using containerized debugging tools
    • ๐Ÿณ The docker run command can take the --read-only flag to make the containerโ€™s root filesystem mounted as readonly, which can be used in combination with volumes to force a containerโ€™s processes to only write to locations that will be persisted
    • ๐Ÿณ Container total memory usage can be limited for docker run using the --memory-swap flag
    • Major stability improvements for devicemapper storage driver
    • ๐Ÿ‘ Better integration with host system: containers will reflect changes to the host's /etc/resolv.conf file when restarted
    • ๐Ÿ‘ Better integration with host system: per-container iptable rules are moved to the DOCKER chain
    • ๐Ÿ›  Fixed container exiting on out of memory to return an invalid exit code

    Other

    • The HTTP_PROXY, HTTPS_PROXY, and NO_PROXY environment variables are properly taken into account by the client when connecting to the Docker daemon