手机版
你好,游客 登录 注册
背景:
阅读新闻

Docker 1.9.0 发布下载,Linux 容器引擎

[日期:2015-11-04] 来源:Linux社区  作者:Linux [字体:大 中 小]

Docker 1.9.0 发布下载,该版本包含了正式用于产品的 Swarm 和多宿主机互联功能,为 Docker 引擎添加了新的捲轴管理系统,并修改了Compose使其更好的支持多种环境。

Docker 提出了一整套的解决方案来更好的使用容器来完成相关工作:互联(Networking)负责创建虚拟网路,为容器间通信提供支持;Docker 引擎中新的捲轴管理系统负责为数据永久储存提供帮助;在这些基础上,Compose 负责运行应用程式。总而言之,该版本进行了重大升级,为扩展分佈式应用产品提供了基础。

多宿主机互联

 在今年6月的DockerCon上,互联曾经作为测试版本的特性被提出。目前,该特性正式集成在了 Docker 引擎的稳定版中,并将在产品中使用。其主要功能是为跨宿主机创建 Docker 引擎中的虚拟网路提供支持。用户可以把其所属的容器挂载到网路中,并控制网路拓扑和通信方式。此外,系统还允许用户在不修改应用的情况下直接与任何网路进行集成。

Docker 1.9 直接内置了一个全新的捲轴管理系统,使得用户可以更加见得的使用插件。而且,该系统可以和Swarm协同工作,实现集群内永久性储存的管理。

Docker Swarm 1.0

 Swarm 是一个为 Docker引擎服务的原生集群系统。在新的版本中,Docker 公司对 Swarm 进行了重新测试和升级,消除了若干 bug,并进行了性能优化。Docker 公司表示,和互联以及捲轴管理系统结合在一起,Swarm 完全可以用于用户产品。

新版的Docker引擎的一些新特性:

– Dockerfile 中的编译时参数:用户可以在 Dockerfile 中定义参数,然后传递给 docker build 来定制编译镜像的方式。例如,用户可以通过设置 HTTP_PROXY 来定制一个依赖包的安装版本等。

– 并发式拉取镜像:如果用户想要拉取的镜像已经在拉取列表中,系统会显示拉取进度,并正确退出命令。否则,系统会同时进行多个镜像的拉取。

– 客制化停止信号:引擎中添加了一个 STOPSIGNAL Dockerfile 指令,允许用户可以客制化运行 docker stop 时的信号。

– AWS CloudWatch 记录驱动:如果用户使用 AWS 服务,新版引擎支持将容器日志直接发送到 CloudWatch。

– 磁碟I/O统计:docker stats 可以直接显示磁碟的I/O情况。

 

更新内容如下:

Runtime

  • docker stats now returns block IO metrics (#15005)
  • docker stats now details network stats per interface (#15786)
  • Add ancestor=<image> filter to docker ps --filter flag to filter containers based on their ancestor images (#14570)
  • Add label=<somelabel> filter to docker ps --filter to filter containers based on label (#16530)
  • Add --kernel-memory flag to docker run (#14006)
  • Add --message flag to docker import allowing to specify an optional message (#15711)
  • Add --privileged flag to docker exec (#14113)
  • Add --stop-signal flag to docker run allowing to replace the container process stopping signal (#15307)
  • Add a new unless-stopped restart policy (#15348)
  • Inspecting an image now returns tags (#13185)
  • Add container size information to docker inspect (#15796)
  • Add RepoTags and RepoDigests field to /images/{name:.*}/json (#17275)
  • Remove the deprecated /container/ps endpoint from the API (#15972)
  • Send and document correct HTTP codes for /exec/<name>/start (#16250)
  • Share shm and mqueue between containers sharing IPC namespace (#15862)
  • Event stream now shows OOM status when --oom-kill-disable is set (#16235)
  • Ensure special network files (/etc/hosts etc.) are read-only if bind-mounted with ro option (#14965)
  • Improve rmi performance (#16890)
  • Do not update /etc/hosts for the default bridge network, except for links (#17325)
  • Fix conflict with duplicate container names (#17389)
  • Fix an issue with incorrect template execution in docker inspect (#17284)
  • DEPRECATE -c short flag variant for --cpu-shares in docker run (#16271)

客户端

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

Builder

  • Add a STOPSIGNAL Dockerfile instruction allowing to set a different stop-signal for the container process (#15307)
  • Add an ARG Dockerfile instruction and a --build-arg flag to docker build that allows to add build-time environment variables (#15182)
  • Improve cache miss performance (#16890)

存储

  • devicemapper: Implement deferred deletion capability (#16381)

Networking

  • docker network exits experimental and is part of standard release (#16645)
  • New network top-level concept, with associated subcommands and API (#16645)
  • Support for multiple isolated/micro-segmented networks (#16645)
  • Built-in multihost networking using VXLAN based overlay driver (#14071)
  • Support for third-party network plugins (#13424)
  • Ability to dynamically connect containers to multiple networks (#16645)
  • Support for user-defined IP address management via pluggable IPAM drivers (#16910)
  • Add daemon flags --cluster-store and --cluster-advertise for built-in nodes discovery (#16229)
  • Add --cluster-store-opt for setting up TLS settings (#16644)
  • Add --dns-opt to the daemon (#16031)
  • 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.

Volumes

  • New top-level volume subcommand and API (#14242)
  • Move API volume driver settings to host-specific config (#15798)
  • Print an error message if volume name is not unique (#16009)
  • Ensure volumes created from Dockerfiles always use the local volume driver (#15507)
  • DEPRECATE auto-creating missing host paths for bind mounts (#16349)

日志

  • Add awslogs logging driver for Amazon CloudWatch (#15495)
  • Add generic tag log option to allow customizing container/image information passed to driver (e.g. show container names) (#15384)
  • Implement the docker logs endpoint for the journald driver (#13707)
  • DEPRECATE driver-specific log tags (e.g. syslog-tag, etc.) (#15384)

Distribution

  • docker search now works with partial names (#16509)
  • Push optimization: avoid buffering to file (#15493)
  • The daemon will display progress for images that were already being pulled by another client (#15489)
  • Only permissions required for the current action being performed are requested (#)
  • Renaming trust keys (and respective environment variables) from offline to root and tagging to repository (#16894)
  • DEPRECATE trust key environment variables DOCKER_CONTENT_TRUST_OFFLINE_PASSPHRASE and DOCKER_CONTENT_TRUST_TAGGING_PASSPHRASE (#16894)

安全

  • Add SELinux profiles to the rpm package (#15832)
  • Fix various issues with AppArmor profiles provided in the deb package (#14609)
  • Add AppArmor policy that prevents writing to /proc (#15571)

下载:

Ubuntu/Debian: curl -sSL https://get.docker.com/ | sh
Linux 64bit binary: https://get.docker.com/builds/Linux/x86_64/docker-1.9.0
Darwin/OSX 64bit client binary: https://get.docker.com/builds/Darwin/x86_64/docker-1.9.0
Darwin/OSX 32bit client binary: https://get.docker.com/builds/Darwin/i386/docker-1.9.0
Linux 64bit tgz: https://get.docker.com/builds/Linux/x86_64/docker-1.9.0.tgz
Windows 64bit client binary: https://get.docker.com/builds/Windows/x86_64/docker-1.9.0.exe
Windows 32bit client binary: https://get.docker.com/builds/Windows/i386/docker-1.9.0.exe

更多Docker相关教程见以下内容:

Docker安装应用(CentOS 6.5_x64) http://www.linuxidc.com/Linux/2014-07/104595.htm 

Ubuntu 14.04安装Docker  http://www.linuxidc.com/linux/2014-08/105656.htm 

Ubuntu使用VNC运行基于Docker的桌面系统  http://www.linuxidc.com/Linux/2015-08/121170.htm

阿里云CentOS 6.5 模板上安装 Docker http://www.linuxidc.com/Linux/2014-11/109107.htm 

Ubuntu 15.04下安装Docker  http://www.linuxidc.com/Linux/2015-07/120444.htm 

在Ubuntu Trusty 14.04 (LTS) (64-bit)安装Docker http://www.linuxidc.com/Linux/2014-10/108184.htm 

在 Ubuntu 15.04 上如何安装Docker及基本用法 http://www.linuxidc.com/Linux/2015-09/122885.htm

Docker 的详细介绍:请点这里
Docker 的下载地址:请点这里

本文永久更新链接地址:http://www.linuxidc.com/Linux/2015-11/124783.htm

linux
相关资讯       Docker 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款