高級容器引擎 Docker v1.12.0-rc1 發布

Docker 是 PaaS 提供商 dotCloud 開源的一個基于 LXC 的高級容器引擎,源代碼托管在 Github 上, 基于go語言并遵從Apache2.0協議開源。
.png)


更新日志
Builder
- New
HEALTHCHECKDockerfile instruction to support user-defined healthchecks #23218 - New
SHELLDockerfile instruction to specify the default shell when using the shell form for commands in a Dockerfile #22489 - Add
#escape=Dockerfile directive to support platform-specific parsing of file paths in Dockerfile#22268 - Add support for comments in
.dockerignore#23111 - Support for UTF-8 in Dockerfiles #23372
- Skip UTF-8 BOM bytes from
Dockerfileand.dockerignoreif exist #23234
Contrib
- Remove MountFlags in systemd unit to allow shared mount propagation #22806
Distribution
- Add
--max-concurrent-downloadsand--max-concurrent-uploadsdaemon flags useful for situations where network connections don't support multiple downloads/uploads #22445 - Registry operations now honor the
ALL_PROXYenvironment variable #22316 - Provide more information to the user on
docker load#23377
Logging
- Syslog logging driver now supports DGRAM sockets #21613
- Add
--detailsoption todocker logsto also display log tags #21889 - Inherit the daemon log options when creating containers #21153
- Remove
docker/prefix from log messages tag and replace it with{{.DaemonName}}so that users have the option of changing the prefix #22384
Networking
- Add
driverfilter tonetwork ls#22319 - Adding
networkfilter todocker ps --filter#23300 - Fix DNS issue when renaming containers with generated names #22716
- Allow both
network inspect -f {{.Id}}andnetwork inspect -f {{.ID}}to address inconsistency with inspect output #23226 - Add
--link-local-ipflag tocreate,runandnetwork connectto specify a container's link-local address #23415
Plugins (experimental)
- New
plugincommand to manager plugins withinstall,enable,disable,rm,inspect,setsubcommands #23446
Remote API (v1.24)
- Add
beforeandsincefilters todocker images --filter#22908 - Add
--limitoption todocker search#23107 - Add
--filteroption todocker search#22369 - API now returns a JSON object when an error occurs making it more consistent #22880
- Prevent
docker run -i --restartfrom hanging on exit #22777
Runtime
- Add
--live-restoredaemon flag to keep containers running when daemon shuts down, and regain control on startup #23213 - Ability to add OCI-compatible runtimes (via
--add-runtimedaemon flag) and select one with--runtimeoncreateandrun#22983 - New
overlay2graphdriver for Linux 4.0+ with multiple lower directory support #22126 - New load/save image events #22137
- Add support for reloading daemon configuration through systemd #22446
- Add disk quota support for btrfs #19651
- Add disk quota support for zfs #21946
- Add support for
docker run --pid=container:<id>#22481 - Align default seccomp profile with selected capabilities #22554
- Add a
daemon reloadevent when the daemon reloads its configuration #22590 - Add
tracecapability in the pprof profiler to show execution traces in binary form #22715 - Add a
detachevent #22898 - Undeprecate the
-cshort alias of--cpu-sharesonrun,build,create,update#22621 - Prevent from using aufs and overlay graphdrivers on an eCryptfs mount #23121
- Fix issues with tmpfs mount ordering #22329
- Created containers are no longer listed on
docker ps -a -f exited=0#21947 - Fix an issue where containers are stuck in a "Removal In Progress" state #22423
- Fix bug that was returning an HTTP 500 instead of a 400 when not specifying a command on run/create #22762
- Fix bug with
--detach-keyswhereby input matching a prefix of the detach key was not preserved#22943 - SELinux labeling is now disabled when using
--privilegedmode #22993 - If volume-mounted into a container,
/etc/hosts,/etc/resolv.conf,/etc/hostnameare no longer SELinux-relabeled #22993 - Fix inconsistency in
--tmpfsbehavior regarding mount options #22438 - Fix an issue where daemon hangs at startup #23148
- Ignore SIGPIPE events to prevent journald restarts to crash docker in some cases #22460
Swarm Mode
- New
swarmcommand to manage swarms withinit,join,leave,updatesubcommands #23361 - New
servicecommand to manage swarm-wide services withcreate,inspect,update,remove,taskssubcommands #23361 - New
nodecommand to manage nodes withaccept,promote,demote,inspect,update,tasks,lsandrmsubcommands #23361 - (experimental) New
stackanddeploycommands to manage and deploy multi-service applications#23522
Volume
- Add support for local and global volume scopes (analogous to network scopes) #22077
- Mount/Unmount operations now receives an opaque ID to allow volume drivers to differentiate between two callers #21015
- Fix issue preventing to remove a volume in a corner case #22103
DEPRECATION
- Environment variables
DOCKER_CONTENT_TRUST_OFFLINE_PASSPHRASEandDOCKER_CONTENT_TRUST_TAGGING_PASSPHRASEhave been renamed toDOCKER_CONTENT_TRUST_ROOT_PASSPHRASEandDOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASErespectively #22574 - Remove deprecated
syslog-tag,gelf-tag,fluentd-taglog option in favor of the more generictagone #22620 - Remove deprecated feature of passing HostConfig at API container start #22570
- Remove deprecated
-f/--forceflag on docker tag #23090 - Remove deprecated
/containers/<id|name>/copyendpoint #22149 - Deprecate the old 3-args form of
docker import#23273
下載
- deb/rpm install:
curl -fsSL https://test.docker.com/ | sh- Linux 64bit tgz: https://test.docker.com/builds/Linux/x86_64/docker-1.12.0-rc1.tgz
- Darwin/OSX 64bit client tgz: https://test.docker.com/builds/Darwin/x86_64/docker-1.12.0-rc1.tgz
- Windows 64bit zip: https://test.docker.com/builds/Windows/x86_64/docker-1.12.0-rc1.zip
- Windows 32bit client zip: https://test.docker.com/builds/Windows/i386/docker-1.12.0-rc1.zip
- Source code (zip)
- Source code (tar.gz)
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!