Docker v1.12.0-rc5 发布下载,Docker 是 PaaS 提供商 dotCloud 开源的一个基于 LXC 的高级容器引擎,源代码托管在 Github 上, 基于go语言并遵从Apache2.0协议开源。
Docker的思想来自于集装箱,在一艘大船上,可以把货物规整的摆放起来。并且各种各样的货物被集装箱标准化了,集装箱和集装箱之间不会互相影响。那么我就不需要专门运送水果的船和专门运送化学品的船了。只要这些货物在集装箱里封装的好好的,那我就可以用一艘大船把他们都运走。
docker就是类似的理念。现在都流行云计算了,云计算就好比大货轮。docker就是集装箱。
更新日志
Builder
new healthcheck dockerfile instruction to support user-defined healthchecks
New SHELL Dockerfile instruction to specify the default shell when using the shell form for commands in a Dockerfile
add #escape= dockerfile directive to support platform-specific parsing of file paths in dockerfile
support for utf-8 in dockerfiles
Skip UTF-8 BOM bytes from Dockerfile and .dockerignore if exist
Fix error message when building using a daemon with the bridge network disabled
Contrib
Enable seccomp for 7 and Linux 7
Remove MountFlags in systemd unit to allow shared mount propagation
Distribution
Add --max-concurrent-downloads and --max-concurrent-uploads daemon flags useful for situations where network connections don't support multiple downloads/uploads
Registry operations now honor the ALL_PROXY environment variable
Logging
Add --details option to docker logs to also display log tags
An additional syslog-format option rfc5424micro to allow microsecond resolution in syslog timestamp
Docker v1.12.0-rc5 普通版实验版本下载,高级容器引擎 iis7站长之家 the daemon log options when creating containers
Remove docker/ prefix from log messages tag and replace it with {{.DaemonName}} so that users have the option of changing the prefix
Networking
built-in virtual-ip based internal and ingress load-balancing using ipvs
Secured multi-host overlay networking using encrypted control-plane and Data-plane
MacVlan driver is out of experimental
Adding network filter to docker ps --filter
Add --link-local-ip flag to create, run and network connect to specify a container's link-local address
Add network label filter support
Removed dependency on external KV-Store for Overlay networking in Swarm-Mode
run options --dns and --net=host are no longer mutually exclusive
Allow both network inspect -f {{.Id}} and network inspect -f {{.ID}} to address inconsistency with inspect output
Plugins (experimental)
Remote API (v1.24) & Client
Split the binary into two: docker (client) and dockerd (daemon)
Add --filter option to docker search
Add insecure registries to docker info output
Extend Docker authorization with TLS user information
devicemapper: expose Mininum Thin Pool Free Space through docker info
API now returns a JSON object when an error occurs making it more consistent
Fix API/CLI discrepancy on hostname validation
Fix discrepancy in the format of sizes in stats from HumanSize to BytesSize
authz: when request is denied return forbbiden exit code (403)
Runtime
Add --live-restore daemon flag to keep containers running when daemon shuts down, and regain control on startup
Ability to add OCI-compatible runtimes (via --add-runtime daemon flag) and select one with --runtime on create and run
New overlay2 graphdriver for Linux 4.0+ with multiple lower directory support
Add support for reloading daemon configuration through systemd
Add disk quota support for zfs
Add support for docker run --pid=container:<id>
Add a daemon reload event when the daemon reloads its configuration
Add trace capability in the pprof profiler to show execution traces in binary form
Add a detach event
Add support for setting sysctls with --sysctl
Add --storage-opt flag to create and run allowing to set size on devicemapper
Undeprecate the -c short alias of --cpu-shares on run, build, create, update
Prevent from using aufs and overlay graphdrivers on an eCryptfs mount
Created containers are no longer listed on docker ps -a -f exited=0
Fix an issue where containers are stuck in a "Removal In Progress" state
Fix bug that was returning an HTTP 500 instead of a 400 when not specifying a command on run/create
Fix bug with --detach-keys whereby input matching a prefix of the detach key was not preserved
SELinux labeling is now disabled when using --privileged mode
If volume-mounted into a container, /etc/hosts, /etc/resolv.conf, /etc/hostname are no longer SELinux-relabeled
Fix inconsistency in --tmpfs behavior regarding mount options
Ignore SIGPIPE events to prevent journald restarts to crash docker in some cases
Containers are not removed from stats list on error
Fix on-failure restart policy when daemon restarts
Fix an issue with stats when a container is using another container's network
Swarm Mode
New swarm command to manage swarms with init, join, leave, update subcommands
New service command to manage swarm-wide services with create, inspect, update, remove,tasks subcommands
New node command to manage nodes with accept, promote, demote, inspect, update, tasks,ls and rm subcommands
(experimental) New stack and deploy commands to manage and deploy multi-service applications
Volume
Add support for local and global volume scopes (analogous to network scopes)
Add name/driver filter support for volume
Mount/Unmount operations now receives an opaque ID to allow volume drivers to differentiate between two callers
DEPRECATION
Environment variables DOCKER_CONTENT_TRUST_OFFLINE_PASSPHRASE andDOCKER_CONTENT_TRUST_TAGGING_PASSPHRASE have been renamed toDOCKER_CONTENT_TRUST_ROOT_PASSPHRASE and DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASErespectively
Remove deprecated syslog-tag, gelf-tag, fluentd-tag log option in favor of the more generictag one
Remove deprecated feature of passing HostConfig at API container start
Remove deprecated -f/--force flag on docker tag
Remove deprecated docker ps flags --since and --before
下载
普通版
实验版
deb/rpm install: curl -fsSL https://experimental.docker.com/ | sh
Linux 64bit tgz:
Darwin/OSX 64bit client tgz:
Windows 64bit zip:
Windows 32bit client zip: