Docker 是 PaaS 提供商 dotCloud 开源的一个基于 LXC 的高级容器引擎,源代码托管在 Github 上, 基于go语言并遵从Apache2.0协议开源。Docker的思想来自于集装箱,在一艘大船上,可以把货物规整的摆放起来。并且各种各样的货物被集装箱标准化了,集装箱和集装箱之间不会互相影响。那么我就不需要专门运送水果的船和专门运送化学品的船了。只要这些货物在集装箱里封装的好好的,那我就可以用一艘大船把他们都运走。docker就是类似的理念。现在都流行云计算了,云计算就好比大货轮。docker就是集装箱。
HEALTHCHECK
Dockerfile instruction to support user-defined healthchecks #23218SHELL
Dockerfile instruction to specify the default shell when using the shell form for commands in a Dockerfile #22489#escape=
Dockerfile directive to support platform-specific parsing of file paths in Dockerfile#22268.dockerignore
#23111Dockerfile
and .dockerignore
if exist #23234ARG
to match Linux #22508--max-concurrent-downloads
and --max-concurrent-uploads
daemon flags useful for situations where network connections don't support multiple downloads/uploads #22445ALL_PROXY
environment variable #22316docker load
#23377--details
option to docker logs
to also display log tags #21889rfc5424micro
to allow microsecond resolution in syslog timestamp #21844docker/
prefix from log messages tag and replace it with {{.DaemonName}}
so that users have the option of changing the prefix #22384driver
filter to network ls
#22319network
filter to docker ps --filter
#23300--link-local-ip
flag to create
, run
and network connect
to specify a container's link-local address #23415run
options --dns
and --net=host
are no longer mutually exclusive #22408network inspect -f {{.Id}}
and network inspect -f {{.ID}}
to address inconsistency with inspect output #23226plugin
command to manager plugins with install
, enable
, disable
, rm
, inspect
, set
subcommands #23446docker
(client) and dockerd
(daemon) #20639before
and since
filters to docker images --filter
#22908--limit
option to docker search
#23107--filter
option to docker search
#22369docker info
output #21172 #23520docker info
output #20410docker info
#21945docker run -i --restart
from hanging on exit #22777stats
from HumanSize to BytesSize #21773--live-restore
daemon flag to keep containers running when daemon shuts down, and regain control on startup #23213--add-runtime
daemon flag) and select one with --runtime
on create
and run
#22983overlay2
graphdriver for Linux 4.0+ with multiple lower directory support #22126docker run --pid=container:<id>
#22481daemon reload
event when the daemon reloads its configuration #22590trace
capability in the pprof profiler to show execution traces in binary form #22715detach
event #22898--sysctl
#19265--storage-opt
flag to create
and run
allowing to set size
on devicemapper #19367-c
short alias of --cpu-shares
on run
, build
, create
, update
#22621docker ps -a -f exited=0
#21947--detach-keys
whereby input matching a prefix of the detach key was not preserved#22943--privileged
mode #22993/etc/hosts
, /etc/resolv.conf
, /etc/hostname
are no longer SELinux-relabeled #22993--tmpfs
behavior regarding mount options #22438on-failure
restart policy when daemon restarts #20853stats
when a container is using another container's network #21904swarm
command to manage swarms with init
, join
, leave
, update
subcommands #23361service
command to manage swarm-wide services with create
, inspect
, update
, remove
,tasks
subcommands #23361node
command to manage nodes with accept
, promote
, demote
, inspect
, update
, tasks
,ls
and rm
subcommands #23361stack
and deploy
commands to manage and deploy multi-service applications#23522Status
field #21006DOCKER_CONTENT_TRUST_OFFLINE_PASSPHRASE
andDOCKER_CONTENT_TRUST_TAGGING_PASSPHRASE
have been renamed toDOCKER_CONTENT_TRUST_ROOT_PASSPHRASE
and DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE
respectively #22574syslog-tag
, gelf-tag
, fluentd-tag
log option in favor of the more generictag
one #22620-f
/--force
flag on docker tag #23090/containers/<id|name>/copy
endpoint #22149docker ps
flags --since
and --before
#22138docker import
#23273deb/rpm install:
curl -fsSL https://test.docker.com/ | sh
Linux 64bit tgz: https://test.docker.com/builds/Linux/x86_64/docker-1.12.0-rc4.tgz
Darwin/OSX 64bit client tgz: https://test.docker.com/builds/Darwin/x86_64/docker-1.12.0-rc4.tgz
Windows 64bit zip: https://test.docker.com/builds/Windows/x86_64/docker-1.12.0-rc4.zip
Windows 32bit client zip: https://test.docker.com/builds/Windows/i386/docker-1.12.0-rc4.zip
deb/rpm install:
curl -fsSL https://experimental.docker.com/ | sh
Linux 64bit tgz: https://experimental.docker.com/builds/Linux/x86_64/docker-1.12.0-rc4.tgz
Darwin/OSX 64bit client tgz: https://experimental.docker.com/builds/Darwin/x86_64/docker-1.12.0-rc4.tgz
Windows 64bit zip: https://experimental.docker.com/builds/Windows/x86_64/docker-1.12.0-rc4.zip
Windows 32bit client zip: https://experimental.docker.com/builds/Windows/i386/docker-1.12.0-rc4.zip