Docker 1.9.0 RC4 發布,Linux 容器引擎

jopen 9年前發布 | 5K 次閱讀 Docker

Docker 1.9.0 RC4 發布,包含眾多改進內容:

Runtime

  • docker stats now returns block IO metrics (#15005)

    </li>

  • docker stats now details network stats per interface (#15786)

    </li>

  • Add ancestor=<image> filter to docker ps --filter flag to filter containers based on their ancestor images (#14570)

    </li>

  • Add label=<somelabel> filter to docker ps --filter to filter containers based on label (#16530)

    </li>

  • Add --kernel-memory flag to docker run (#14006)

    </li>

  • Add --message flag to docker import allowing to specify an optional message (#15711)

    </li>

  • Add --privileged flag to docker exec (#14113)

    </li>

  • Add --stop-signal flag to docker run allowing to replace the container process stopping signal (#15307)

    </li>

  • Add a new unless-stopped restart policy (#15348)

    </li>

  • Inspecting an image now returns tags (#13185)

    </li>

  • Add container size information to docker inspect (#15796)

    </li>

  • Add RepoTags and RepoDigests field to /images/{name:.*}/json (#17275)

    </li>

  • Remove the deprecated /container/ps endpoint from the API (#15972)

    </li>

  • Send and document correct HTTP codes for /exec/<name>/start (#16250)

    </li>

  • Share shm and mqueue between containers sharing IPC namespace (#15862)

    </li>

  • Event stream now shows OOM status when --oom-kill-disable is set (#16235)

    </li>

  • Ensure special network files (/etc/hosts etc.) are read-only if bind-mounted with ro option (#14965)

    </li>

  • Improve rmi performance (#16890)

    </li>

  • Do not update /etc/hosts for the default bridge network, except for links (#17325)

    </li>

  • Fix conflict with duplicate container names (#17389)

    </li>

  • Fix an issue with incorrect template execution in docker inspect (#17284)

    </li>

  • DEPRECATE -c short flag variant for --cpu-shares in docker run (#16271)

    </li> </ul>

    Client

    • Allow docker import to import from local files (#11907)

      </li> </ul>

      Builder

      • Add a STOPSIGNAL Dockerfile instruction allowing to set a different stop-signal for the container process (#15307)

        </li>

      • Add an ARG Dockerfile instruction and a --build-arg flag to docker build that allows to add build-time environment variables (#15182)

        </li>

      • Improve cache miss performance (#16890)

        </li> </ul>

        Storage

        • devicemapper: Implement deferred deletion capability (#16381)

          </li> </ul>

          Networking

          • docker network exits experimental and is part of standard release (#16645)

            </li>

          • New network top-level concept, with associated subcommands and API (#16645)

            </li>

          • Support for multiple isolated/micro-segmented networks (#16645)

            </li>

          • Built-in multihost networking using VXLAN based overlay driver (#14071)

            </li>

          • Support for third-party network plugins (#13424)

            </li>

          • Ability to dynamically connect containers to multiple networks (#16645)

            </li>

          • Support for user-defined IP address management via pluggable IPAM drivers (#16910)

            </li>

          • Add daemon flags --cluster-store and --cluster-advertise for built-in nodes discovery (#16229)

            </li>

          • Add --cluster-store-opt for setting up TLS settings (#16644)

            </li>

          • Add --dns-opt to the daemon (#16031)

            </li>

          • DEPRECATE following container NetworkSettings fields in API v1.21: EndpointID, Gateway,GlobalIPv6Address, GlobalIPv6PrefixLen, IPAddress, IPPrefixLen, IPv6Gateway and MacAddress. Those are now specific to the bridge network. Use NetworkSettings.Networks to inspect the networking settings of a container per network.

            </li> </ul>

            Volumes