Docker 1.7.0 發布,Linux 容器

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

Docker 是一個開源的應用容器引擎,讓開發者可以打包他們的應用以及依賴包到一個可移植的容器中,然后發布到任何流行的 Linux 機器上,也可以實現虛擬化。容器是完全使用沙箱機制,相互之間不會有任何接口(類似 iPhone 的 app)。幾乎沒有性能開銷,可以很容易地在機器和數據中心中運行。最重要的是,他們不依賴于任何語言、框架或包裝系統。

Docker 1.7.0 發布,Linux 容器

Docker 1.7.0 正式版發布,此版本主要更新信息如下:

Runtime:

  • Experimental feature: support for out-of-process volume plugins

  • The userland proxy can be disabled in favor of hairpin NAT using the daemon’s --userland-proxy=false flag

  • The exec command supports the -u|--user flag to specify the new process owner

  • Default gateway for containers can be specified daemon-wide using the --default-gateway and --default-gateway-v6 flags

  • The CPU CFS (Completely Fair Scheduler) quota can be set in docker run using --cpu-quota

  • Container block IO can be controlled in docker run using--blkio-weight

  • ZFS support

  • The docker logs command supports a --since argument

  • UTS namespace can be shared with the host with docker run --uts=host

Quality:

  • Networking stack was entirely rewritten as part of the libnetwork effort

  • Engine internals refactoring

  • Volumes code was entirely rewritten to support the plugins effort

  • Sending SIGUSR1 to a daemon will dump all goroutines stacks without exiting

Build

  • Support ${variable:-value} and ${variable:+value} syntax for environment variables

  • Support resource management flags --cgroup-parent, --cpu-period, --cpu-quota, --cpuset-cpus, --cpuset-mems

  • git context changes with branches and directories

  • The .dockerignore file support exclusion rules

Distribution

  • Client support for v2 mirroring support for the official registry

Bugfixes

  • Firewalld is now supported and will automatically be used when available

  • mounting --device recursively

詳細信息請查看更新日志

此版本現已提供下載:


 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!