Docker v1.10.0-rc1 发布,应用容器引擎
Docker v1.10.0-rc1 发布,此版本更新内容如下:
运行时
-
Newdocker updatecommand that allows updating resource constraints on running containers #15078
-
Add--tmpfsflag todocker runto create a tmpfs mount in a container #13587
-
Add--formatflag todocker imagescommand #17692
-
Allow to set daemon configuration in a file and hot-reload it with theSIGHUPsignal #18587
-
Updated docker events to include more meta-data and event types #18888
This change is backward compatible in the API, but not on the CLI. -
Add--blkio-weight-deviceflag todocker run#13959
-
Add--device-read-bpsand--device-write-bpsflags todocker run#14466
-
Add--device-read-iopsand--device-write-iopsflags todocker run#15879
-
Add--oom-score-adjflag todocker run#16277
-
Changedocker runexit codes to distinguish between runtime and application errors #14012
-
Add--detach-keysflag toattachandexeccommands to override the default key sequence that detaches from a container #15666
-
Add--shm-sizeflag torun,createandbuildto set the size of/dev/shm#16168
-
Show the number of running, stopped, and paused containers indocker info#19249
-
Show theOSTypeandArchitectureindocker info#17478
-
Add--cgroup-parentflag ondaemonto set cgroup parent for all containers #19062
-
Add-Lflag to docker cp to follow symlinks #16613
-
Newstatus=deadfilter fordocker ps#17908
-
Enhancedocker events --sinceand--untilto support nanoseconds and timezones #17495
-
Add--all/-aflag tostatsto include both running and stopped containers #16742
-
Change the default cgroup-driver tocgroupfs#17704
-
Emit a "tag" event when tagging an image withbuild -t#17115
-
Best effort for linked containers' start order when starting the daemon #18208
-
Fix the--quietflag ondocker buildto actually be quiet #17428
-
Fixdocker images --filter dangling=falseto now show all non-dangling images #19326
-
Fix race condition causing autorestart turning off on restart #17629
-
devicemapper: Increasing--storage-opt dm.basesizewill now increase the base device size on daemon restart #19123
安全
-
Add--userns-remapflag todaemonto support user namespaces (previously in experimental) #19187
-
Add support for custom seccomp profiles in--security-opt#17989
-
Add default seccomp profile #18780
-
Add--authorization-pluginflag todaemonto customize ACLs #15365
-
Allow SELinux to run in a container when using the BTRFS storage driver #16452
Distribution
-
Newregistrytokenpass-thru token type forAuthConfig#17481
It allows API clients to retrieve an authentication token from a registry, and then pass that token directly to the remote API -
Use content-addressable storage for images and layers #17924
Note that a migration is performed the first time docker is run; it can take a significant amount of time depending on the number of images and containers present.
Images no longer depend on the parent chain but contain a list of layer references.
docker load/docker savetarballs now also contain content-addressable image configurations. -
Add support for the new manifest format ("schema2") #18785
-
Lots of improvements for push and pull: performance++, retries on failed downloads, cancelling on client disconnect #18353, #18418, #19109, #18353
-
Limit v1 protocol fallbacks #18590
-
New version of notary with client-side pkcs11 support #17937
网络
-
Use DNS-based discovery instead of/etc/hosts#19198
-
Support for network-scoped alias using--net-aliasonrunand--aliasonnetwork connect#19242
-
Add--ipand--ip6onrunandnetwork connectto support custom IP addresses for a container in a network #19001
-
Add--ipam-opttonetwork createfor passing custom IPAM options #17316
-
Add--internalflag tonetwork createto restrict external access to and from the network #19276
-
Addkv.pathoption to--cluster-store-opt#19167
-
Adddiscovery.heartbeatanddiscovery.ttloptions to--cluster-store-optto configure discovery TTL and heartbeat timer #18204
-
Add--formatflag tonetwork inspect#17481
-
Add--linktonetwork connectto provide a container-local alias #19229
-
Support for Capability exchange with remote IPAM plugins #18775
-
Support for multi-host networking using built-in overlay driver for all engine supported kernels: 3.10+ #18775
-
--linkis now supported ondocker runfor containers in user-defined network #19229
-
Enhancedocker network rmto allow removing multiple networks #17489
-
Include container names innetwork inspect#17615
-
Include auto-generated subnets for user-defined networks innetwork inspect#17316
-
Add--filterflag tonetwork lsto hide predefined networks #17782
-
Add support for network connect/disconnect to stopped containers #18906
-
Add network ID to container inspect #19323
-
Fix MTU issue where Docker would not start with two or more default routes #18108
-
Fix duplicate IP address for containers #18106
-
Fix issue preventing sometimes docker from creating the bridge network #19338
日志记录
-
New logging driver for Splunk #16488
-
Add support for syslog over TCP+TLS #18998
-
Enhancedocker logs --sinceand--untilto support nanoseconds and time #17495
-
Enhance AWS logs to auto-detect region #16640
Volumes
-
Add support to set the mount propagation mode for a volume #17034
-
Addlsandinspectendpoints to volume plugin API #16534
Existing plugins need to make use of these new APIs to satisfy users' expectation -
Fix data not being copied to named volumes #19175
构建器
-
Add support for**in.dockerignoreto wildcard multiple levels of directories #17090
-
Fix handling of UTF-8 characters in Dockerfiles #17055
-
Fix permissions problem when reading from STDIN #19283
客户端
-
Add support for overriding the API version to use via anDOCKER_API_VERSIONenvironment-variable #15964
废弃
-
Remove LXC support. The LXC driver was deprecated in Docker 1.8, and has now been removed #17700
-
Remove--exec-driverdaemon flag, because it is no longer in use #17700
-
Remove old deprecated single-dashed long CLI flags (such as-rm; use--rminstead) #17724
-
Deprecate HostConfig at API container start #17799
-
Deprecate docker packages for newly EOL'd Linux distributions: Fedora 21 and Ubuntu 15.04 (Vivid) #18794, #18809
-
Deprecate-fflag for docker tag #18350
下载
Ubuntu/Debian: curl -fsSL https://test.docker.com/ | sh
Linux 64bit binary: https://test.docker.com/builds/Linux/x86_64/docker-1.10.0-rc1
Darwin/OSX 64bit client binary: https://test.docker.com/builds/Darwin/x86_64/docker-1.10.0-rc1
Linux 64bit tgz: https://test.docker.com/builds/Linux/x86_64/docker-1.10.0-rc1.tgz
Windows 64bit client binary: https://test.docker.com/builds/Windows/x86_64/docker-1.10.0-rc1.exe
Windows 32bit client binary: https://test.docker.com/builds/Windows/i386/docker-1.10.0-rc1.exe
Docker 是一个开源的应用容器引擎,让开发者可以打包他们的应用以及依赖包到一个可移植的容器中,然后发布到任何流行的 Linux 机器上,也可以实现虚拟化。容器是完全使用沙箱机制,相互之间不会有任何接口(类似 iPhone 的 app)。几乎没有性能开销,可以很容易地在机器和数据中心中运行。最重要的是,他们不依赖于任何语言、框架或包装系统。