Docker 1.8.0 RC1 發布,更豐富的 Dockerfile 語法
Docker 1.8.0 RC1 發布,正式版計劃在 8 月 4 日(周二)發布。此版本引入了一些非常棒的 apt & yum repos。
Docker 1.8.0 將會引入一個新的 API 來復制文件和目錄到一個容器中,每個人都可以使用 Docker Remote API 實現他們的構建系統。Dockramp 是 `docker build` 另一個選擇的第一個概念驗證。
Dockramp 主要特性:
-
沒有上下文上傳
-
高效分層和緩存
-
更豐富和擴展性更強的 Dockerfile 語法
下載:
-
Linux 64bit binary: https://test.docker.com/
builds/Linux/x86_64/docker-1. 8.0-rc1 -
Darwin/OSX 64bit client binary: https://test.docker.com/
builds/Darwin/x86_64/docker-1. 8.0-rc1 -
Darwin/OSX 32bit client binary: https://test.docker.com/
builds/Darwin/i386/docker-1.8. 0-rc1 -
Linux 64bit tgz: https://test.docker.com/
builds/Linux/x86_64/docker-1. 8.0-rc1.tgz -
Windows 64bit client binary: https://test.docker.com/
builds/Windows/x86_64/docker- 1.8.0-rc1.exe -
Windows 32bit client binary: https://test.docker.com/
builds/Windows/i386/docker-1. 8.0-rc1.exe
更新內容:
## 1.8.0Distribution
+ Trusted pull, push and build (disabled by default) Make tar layers deterministic between registries Don't allow deleting the image of running containers Check if a tag name to load is a valid digest Allow one character repository names Add a more accurate error description for invalid tag name Make build cache ignore mtime
Cli
+ Add support for DOCKER_CONFIG/--config to specify config file dir + Add --type flag for docker inspect command + Add formatting options to
docker ps
with--format
+ Replacedocker -d
with new subcommanddocker daemon
Zsh completion updates and improvements Add some missing events to bash completion Support daemon urls with base paths indocker -H
Validate status= filter to docker ps Display when a container is in --net=host in docker ps Extend docker inspect to export image metadata related to graph driver Restore --default-gateway{,-v6} daemon options Add missing unpublished ports in docker ps Allow duration strings indocker events
as --since/--until Expose more mounts information indocker inspect
Runtime
+ Add new Fluentd logging driver + Allow
docker import
to load from local files + Add logging driver for GELF via UDP + Allow to copy files from host to containers withdocker cp
+ Promote volume drivers from experimental to master + Add rollover log driver, and --log-driver-opts flag + Add memory swappiness tuning options Remove cgroup read-only flag when privileged Make /proc, /sys, & /dev readonly for readonly containers Add cgroup bind mount by default Overlay: Export metadata for container and image indocker inspect
Devicemapper: external device activation Devicemapper: Compare uuid of base device on startup Remove RC4 from the list of registry cipher suites Add syslog-facility option * LXC execdriver compatibility with recent LXC versionsPlugins
Separate plugin sockets and specs locations Allow TLS connections to plugins
Bug fixes
- Add missing 'Names' field to /containers/json API output - Make
docker rmi --dangling
safe when pulling - Devicemapper: Change default basesize to 100G - Go Scheduler issue with sync.Mutex and gcc - Fix issue where Search API endpoint would panic due to empty AuthConfig - Set image canonical names correctly - Check dockerinit only if lxc driver is used - Fix ulimit usage of nproc - Always attach STDIN if -i,--interactive is specified - Show error messages when saving container state fails - Fixed incorrect assumption on --bridge=none treated as disable network - Check for invalid port specifications in host configuration - Fix endpoint leave failure for --net=host mode - Fix goroutine leak in the stats API if the container is not running - Check for apparmor file before reading it - Fix DOCKER_TLS_VERIFY being ignored - Set umask to the default on startup - Correct the message of pause and unpause a non-running container - Adjust disallowed CpuShares in container creation - ZFS: correctly apply selinux context - Display empty string instead of <nil> when IP opt is nil -docker kill
returns error when container is not running - Fix COPY/ADD quoted/json form - Fix goroutine leak on logs -f with no output - Remove panic in nat package on invalid hostport - Fix container linking in Fedora 22 - Fix error caused using default gateways outside of the allocated range</pre>更多改進內容請看發行說明。
來自:http://www.oschina.net/news/64620/docker-1-8-0-rc1
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!