Releases: moby/moby
v1.12.1-rc2
1.12.1 (2016-08-18)
IMPORTANT: Docker 1.12 ships with an updated systemd unit file for rpm
based installs (which includes RHEL, Fedora, CentOS, and Oracle Linux 7). When
upgrading from an older version of docker, the upgrade process may not
automatically install the updated version of the unit file, or fail to start
the docker service if;
- the systemd unit file (
/usr/lib/systemd/system/docker.service
) contains local changes, or - a systemd drop-in file is present, and contains
-H fd://
in theExecStart
directive
Starting the docker service will produce an error:
Failed to start docker.service: Unit docker.socket failed to load: No such file or directory.
or
no sockets found via socket activation: make sure the service was started by systemd.
To resolve this:
- Backup the current version of the unit file, and replace the file with the
version that ships with docker 1.12 - Remove the
Requires=docker.socket
directive from the/usr/lib/systemd/system/docker.service
file if present - Remove
-H fd://
from theExecStart
directive (both in the main unit file, and in any drop-in files present).
After making those changes, run sudo systemctl daemon-reload
, and sudo systemctl restart docker
to reload changes and (re)start the docker daemon.
Client
- Add
Joined at
information innode inspect --pretty
#25512 - Fix a crash on
service inspect
#25454 - Fix issue preventing
service update --env-add
to work as intended #25427 - Fix issue preventing
service update --publish-add
to work as intended #25428 - Remove
service update --network-add
andservice update --network-rm
flags
because this feature is not yet implemented in 1.12, but was inadvertently added
to the client in 1.12.0 #25646
Contrib
- Official ARM installation for Debian Jessie, Ubuntu Trusty, and Raspbian Jessie #24815 #25591
- Add selinux policy per distro/version, fixing issue preventing successful installation on Fedora 24, and Oracle Linux #25334 #25593
Networking
- Fix issue that prevented containers to be accessed by hostname with Docker overlay driver in Swarm Mode #25603 #25648
- Fix random network issues on service with published port #25603
- Fix unreliable inter-service communication after scaling down and up #25603
- Fix issue where removing all tasks on a node and adding them back breaks connectivity with other services #25603
- Fix issue where a task that fails to start results in a race, causing a
network xxx not found
error that masks the actual error #25550 - Relax validation of SRV records for external services that use SRV records not formatted according to RFC 2782 #25739
Plugins (experimental)
- Make daemon events listen for plugin lifecycle events #24760
- Check for plugin state before enabling plugin #25033
- Remove plugin root from filesystem on
plugin rm
#25187 - Prevent deadlock when more than one plugin is installed #25384
Runtime
- Mask join tokens in daemon logs #25346
- Fix
docker ps --filter
causing the results to no longer be sorted by creation time #25387 - Fix various crashes #25053
Security
- Add
/proc/timer_list
to the masked paths list to prevent information leak from the host #25630 - Allow systemd to run with only
--cap-add SYS_ADMIN
rather than having to also add--cap-add DAC_READ_SEARCH
or disabling seccomp filtering #25567
Volume
- Persist local volume options after a daemon restart #25316
- Fix an issue where the mount ID was not returned on volume unmount #25333
- Fix an issue where a volume mount could inadvertently create a bind mount #25309
docker service create --mount type=bind,...
now correctly validates if the source path exists, instead of creating it #25494
Downloads
Regular
deb/rpm install:
curl -fsSL https://test.docker.com/ | sh
Linux 64bit tgz: https://test.docker.com/builds/Linux/x86_64/docker-1.12.1-rc2.tgz
Darwin/OSX 64bit client tgz: https://test.docker.com/builds/Darwin/x86_64/docker-1.12.1-rc2.tgz
Windows 64bit zip: https://test.docker.com/builds/Windows/x86_64/docker-1.12.1-rc2.zip
Windows 32bit client zip: https://test.docker.com/builds/Windows/i386/docker-1.12.1-rc2.zip
With experimental features
deb/rpm install:
curl -fsSL https://experimental.docker.com/ | sh
Linux 64bit tgz: https://experimental.docker.com/builds/Linux/x86_64/docker-1.12.1-rc2.tgz
Darwin/OSX 64bit client tgz: https://experimental.docker.com/builds/Darwin/x86_64/docker-1.12.1-rc2.tgz
Windows 64bit zip: https://experimental.docker.com/builds/Windows/x86_64/docker-1.12.1-rc2.zip
Windows 32bit client zip: https://experimental.docker.com/builds/Windows/i386/docker-1.12.1-rc2.zip
v1.12.1-rc1
1.12.1 (2016-08-16)
IMPORTANT: Docker 1.12 ships with an updated systemd unit file for rpm
based installs (which includes RHEL, Fedora, CentOS, and Oracle Linux 7). When
upgrading from an older version of docker, the upgrade process may not
automatically install the updated version of the unit file, or fail to start
the docker service if;
- the systemd unit file (
/usr/lib/systemd/system/docker.service
) contains local changes, or - a systemd drop-in file is present, and contains
-H fd://
in theExecStart
directive
Starting the docker service will produce an error:
Failed to start docker.service: Unit docker.socket failed to load: No such file or directory.
or
no sockets found via socket activation: make sure the service was started by systemd.
To resolve this:
- Backup the current version of the unit file, and replace the file with the
version that ships with docker 1.12 - Remove the
Requires=docker.socket
directive from the/usr/lib/systemd/system/docker.service
file if present - Remove
-H fd://
from theExecStart
directive (both in the main unit file, and in any drop-in files present).
After making those changes, run sudo systemctl daemon-reload
, and sudo systemctl restart docker
to reload changes and (re)start the docker daemon.
Client
- Add
Joined at
information innode inspect --pretty
#25512 - Fix a crash on
service inspect
#25454 - Fix issue preventing
service update --env-add
to work as intended #25427 - Fix issue preventing
service update --publish-add
to work as intended #25428
Contrib
- Official ARM installation for Debian Jessie, Ubuntu Trusty, and Raspbian Jessie #24815 #25591
- Add selinux policy per distro/version, fixing issue preventing successful installation on Fedora 24, and Oracle Linux #25334 #25593
Networking
- Fix issue that prevented containers to be accessed by hostname with Docker overlay driver in Swarm Mode #25603 #25648
- Fix random network issues on service with published port #25603
- Fix unreliable inter-service communication after scaling down and up #25603
- Fix issue where removing all tasks on a node and adding them back breaks connectivity with other services #25603
Plugins (experimental)
- Make daemon events listen for plugin lifecycle events #24760
- Check for plugin state before enabling plugin #25033
- Remove plugin root from filesystem on
plugin rm
#25187 - Prevent deadlock when more than one plugin is installed #25384
Runtime
- Mask join tokens in daemon logs #25346
- Fix
docker ps --filter
causing the results to no longer be sorted by creation time #25387 - Fix various crashes #25053
Security
- Add
/proc/timer_list
to the masked paths list to prevent information leak from the host #25630 - Allow systemd to run with only
--cap-add SYS_ADMIN
rather than having to also add--cap-add DAC_READ_SEARCH
or disabling seccomp filtering #25567
Volume
- Persist local volume options after a daemon restart #25316
- Fix an issue where the mount ID was not returned on volume unmount #25333
- Fix an issue where a volume mount could inadvertently create a bind mount #25309
docker service create --mount type=bind,...
now correctly validates if the source path exists, instead of creating it #25494
Downloads
Regular
deb/rpm install:
curl -fsSL https://test.docker.com/ | sh
Linux 64bit tgz: https://test.docker.com/builds/Linux/x86_64/docker-1.12.1-rc1.tgz
Darwin/OSX 64bit client tgz: https://test.docker.com/builds/Darwin/x86_64/docker-1.12.1-rc1.tgz
Windows 64bit zip: https://test.docker.com/builds/Windows/x86_64/docker-1.12.1-rc1.zip
Windows 32bit client zip: https://test.docker.com/builds/Windows/i386/docker-1.12.1-rc1.zip
With experimental features
deb/rpm install:
curl -fsSL https://experimental.docker.com/ | sh
Linux 64bit tgz: https://experimental.docker.com/builds/Linux/x86_64/docker-1.12.1-rc1.tgz
Darwin/OSX 64bit client tgz: https://experimental.docker.com/builds/Darwin/x86_64/docker-1.12.1-rc1.tgz
Windows 64bit zip: https://experimental.docker.com/builds/Windows/x86_64/docker-1.12.1-rc1.zip
Windows 32bit client zip: https://experimental.docker.com/builds/Windows/i386/docker-1.12.1-rc1.zip
v1.12.0
1.12.0 (2016-07-28)
Builder
- New
HEALTHCHECK
Dockerfile instruction to support user-defined healthchecks #23218 - New
SHELL
Dockerfile 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
Dockerfile
and.dockerignore
if exist #23234 - Windows: support for
ARG
to match Linux #22508 - Fix error message when building using a daemon with the bridge network disabled #22932
Contrib
- Enable seccomp for Centos 7 and Oracle Linux 7 #22344
- Remove MountFlags in systemd unit to allow shared mount propagation #22806
Distribution
- Add
--max-concurrent-downloads
and--max-concurrent-uploads
daemon flags useful for situations where network connections don't support multiple downloads/uploads #22445 - Registry operations now honor the
ALL_PROXY
environment variable #22316 - Provide more information to the user on
docker load
#23377 - Always save registry digest metadata about images pushed and pulled #23996
Logging
- Syslog logging driver now supports DGRAM sockets #21613
- Add
--details
option todocker logs
to also display log tags #21889 - Enable syslog logger to have access to env and labels #21724
- An additional syslog-format option
rfc5424micro
to allow microsecond resolution in syslog timestamp #21844 - 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
- Built-in Virtual-IP based internal and ingress load-balancing using IPVS #23361
- Routing Mesh using ingress overlay network #23361
- Secured multi-host overlay networking using encrypted control-plane and Data-plane #23361
- MacVlan driver is out of experimental #23524
- Add
driver
filter tonetwork ls
#22319 - Adding
network
filter todocker ps --filter
#23300 - Add
--link-local-ip
flag tocreate
,run
andnetwork connect
to specify a container's link-local address #23415 - Add network label filter support #21495
- Removed dependency on external KV-Store for Overlay networking in Swarm-Mode #23361
- Add container's short-id as default network alias #21901
run
options--dns
and--net=host
are no longer mutually exclusive #22408- 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
Plugins (experimental)
- New
plugin
command to manager plugins withinstall
,enable
,disable
,rm
,inspect
,set
subcommands #23446
Remote API (v1.24) & Client
- Split the binary into two:
docker
(client) anddockerd
(daemon) #20639 - Add
before
andsince
filters todocker images --filter
#22908 - Add
--limit
option todocker search
#23107 - Add
--filter
option todocker search
#22369 - Add security options to
docker info
output #21172 #23520 - Add insecure registries to
docker info
output #20410 - Extend Docker authorization with TLS user information #21556
- devicemapper: expose Mininum Thin Pool Free Space through
docker info
#21945 - API now returns a JSON object when an error occurs making it more consistent #22880
- Prevent
docker run -i --restart
from hanging on exit #22777 - Fix API/CLI discrepancy on hostname validation #21641
- Fix discrepancy in the format of sizes in
stats
from HumanSize to BytesSize #21773 - authz: when request is denied return forbbiden exit code (403) #22448
- Windows: fix tty-related displaying issues #23878
Runtime
- Add
--live-restore
daemon flag to keep containers running when daemon shuts down, and regain control on startup #23213 - Ability to add OCI-compatible runtimes (via
--add-runtime
daemon flag) and select one with--runtime
oncreate
andrun
#22983 - New
overlay2
graphdriver 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 reload
event when the daemon reloads its configuration #22590 - Add
trace
capability in the pprof profiler to show execution traces in binary form #22715 - Add a
detach
event #22898 - Add support for setting sysctls with
--sysctl
#19265 - Add
--storage-opt
flag tocreate
andrun
allowing to setsize
on devicemapper #19367 - Add
--oom-score-adjust
daemon flag with a default value of-500
making the daemon less likely to be killed before containers #24516 - Undeprecate the
-c
short alias of--cpu-shares
onrun
,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-keys
whereby input matching a prefix of the detach key was not preserved #22943 - SELinux labeling is now disabled when using
--privileged
mode #22993 - If volume-mounted into a container,
/etc/hosts
,/etc/resolv.conf
,/etc/hostname
are no longer SELinux-relabeled #22993 - Fix inconsistency in
--tmpfs
behavior 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
- Containers are not removed from stats list on error #20835
- Fix
on-failure
restart policy when daemon restarts #20853 - Fix an issue with
stats
when a container is using another container's network #21904
Swarm Mode
- New
swarm
command to manag...
v1.12.0-rc5
1.12.0 (2016-07-28)
Builder
- New
HEALTHCHECK
Dockerfile instruction to support user-defined healthchecks #23218 - New
SHELL
Dockerfile 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
Dockerfile
and.dockerignore
if exist #23234 - Windows: support for
ARG
to match Linux #22508 - Fix error message when building using a daemon with the bridge network disabled #22932
Contrib
- Enable seccomp for Centos 7 and Oracle Linux 7 #22344
- Remove MountFlags in systemd unit to allow shared mount propagation #22806
Distribution
- Add
--max-concurrent-downloads
and--max-concurrent-uploads
daemon flags useful for situations where network connections don't support multiple downloads/uploads #22445 - Registry operations now honor the
ALL_PROXY
environment variable #22316 - Provide more information to the user on
docker load
#23377
Logging
- Syslog logging driver now supports DGRAM sockets #21613
- Add
--details
option todocker logs
to also display log tags #21889 - Enable syslog logger to have access to env and labels #21724
- An additional syslog-format option
rfc5424micro
to allow microsecond resolution in syslog timestamp #21844 - 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
- Built-in Virtual-IP based internal and ingress load-balancing using IPVS #23361
- Secured multi-host overlay networking using encrypted control-plane and Data-plane #23361
- MacVlan driver is out of experimental #23524
- Add
driver
filter tonetwork ls
#22319 - Adding
network
filter todocker ps --filter
#23300 - Add
--link-local-ip
flag tocreate
,run
andnetwork connect
to specify a container's link-local address #23415 - Add network label filter support #21495
- Removed dependency on external KV-Store for Overlay networking in Swarm-Mode #23361
- Add container's short-id as default network alias #21901
run
options--dns
and--net=host
are no longer mutually exclusive #22408- 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
Plugins (experimental)
- New
plugin
command to manager plugins withinstall
,enable
,disable
,rm
,inspect
,set
subcommands #23446
Remote API (v1.24) & Client
- Split the binary into two:
docker
(client) anddockerd
(daemon) #20639 - Add
before
andsince
filters todocker images --filter
#22908 - Add
--limit
option todocker search
#23107 - Add
--filter
option todocker search
#22369 - Add security options to
docker info
output #21172 #23520 - Add insecure registries to
docker info
output #20410 - Extend Docker authorization with TLS user information #21556
- devicemapper: expose Mininum Thin Pool Free Space through
docker info
#21945 - API now returns a JSON object when an error occurs making it more consistent #22880
- Prevent
docker run -i --restart
from hanging on exit #22777 - Fix API/CLI discrepancy on hostname validation #21641
- Fix discrepancy in the format of sizes in
stats
from HumanSize to BytesSize #21773 - authz: when request is denied return forbbiden exit code (403) #22448
Runtime
- Add
--live-restore
daemon flag to keep containers running when daemon shuts down, and regain control on startup #23213 - Ability to add OCI-compatible runtimes (via
--add-runtime
daemon flag) and select one with--runtime
oncreate
andrun
#22983 - New
overlay2
graphdriver 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 reload
event when the daemon reloads its configuration #22590 - Add
trace
capability in the pprof profiler to show execution traces in binary form #22715 - Add a
detach
event #22898 - Add support for setting sysctls with
--sysctl
#19265 - Add
--storage-opt
flag tocreate
andrun
allowing to setsize
on devicemapper #19367 - Undeprecate the
-c
short alias of--cpu-shares
onrun
,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-keys
whereby input matching a prefix of the detach key was not preserved #22943 - SELinux labeling is now disabled when using
--privileged
mode #22993 - If volume-mounted into a container,
/etc/hosts
,/etc/resolv.conf
,/etc/hostname
are no longer SELinux-relabeled #22993 - Fix inconsistency in
--tmpfs
behavior 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
- Containers are not removed from stats list on error #20835
- Fix
on-failure
restart policy when daemon restarts #20853 - Fix an issue with
stats
when a container is using another container's network #21904
Swarm Mode
- New
swarm
command to manage swarms withinit
,join
,leave
,update
subcommands #23361 - New
service
command to manage swarm-wide services withcreate
,inspect
,update
,remove
,tasks
subcommands #23361 - New
node
command to manage nodes withaccept
,promote
,demote
,inspect
,update
,tasks
,ls
andrm
subcommands #23361 - (experimental) New
stack
and `de...
v1.12.0-rc4
1.12.0 (2016-07-28)
Builder
- New
HEALTHCHECK
Dockerfile instruction to support user-defined healthchecks #23218 - New
SHELL
Dockerfile 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
Dockerfile
and.dockerignore
if exist #23234 - Windows: support for
ARG
to match Linux #22508 - Fix error message when building using a daemon with the bridge network disabled #22932
Contrib
- Enable seccomp for Centos 7 and Oracle Linux 7 #22344
- Remove MountFlags in systemd unit to allow shared mount propagation #22806
Distribution
- Add
--max-concurrent-downloads
and--max-concurrent-uploads
daemon flags useful for situations where network connections don't support multiple downloads/uploads #22445 - Registry operations now honor the
ALL_PROXY
environment variable #22316 - Provide more information to the user on
docker load
#23377
Logging
- Syslog logging driver now supports DGRAM sockets #21613
- Add
--details
option todocker logs
to also display log tags #21889 - Enable syslog logger to have access to env and labels #21724
- An additional syslog-format option
rfc5424micro
to allow microsecond resolution in syslog timestamp #21844 - 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
- Built-in Virtual-IP based internal and ingress load-balancing using IPVS #23361
- Secured multi-host overlay networking using encrypted control-plane and Data-plane #23361
- MacVlan driver is out of experimental #23524
- Add
driver
filter tonetwork ls
#22319 - Adding
network
filter todocker ps --filter
#23300 - Add
--link-local-ip
flag tocreate
,run
andnetwork connect
to specify a container's link-local address #23415 - Add network label filter support #21495
- Removed dependency on external KV-Store for Overlay networking in Swarm-Mode #23361
- Add container's short-id as default network alias #21901
run
options--dns
and--net=host
are no longer mutually exclusive #22408- 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
Plugins (experimental)
- New
plugin
command to manager plugins withinstall
,enable
,disable
,rm
,inspect
,set
subcommands #23446
Remote API (v1.24) & Client
- Split the binary into two:
docker
(client) anddockerd
(daemon) #20639 - Add
before
andsince
filters todocker images --filter
#22908 - Add
--limit
option todocker search
#23107 - Add
--filter
option todocker search
#22369 - Add security options to
docker info
output #21172 #23520 - Add insecure registries to
docker info
output #20410 - Extend Docker authorization with TLS user information #21556
- devicemapper: expose Mininum Thin Pool Free Space through
docker info
#21945 - API now returns a JSON object when an error occurs making it more consistent #22880
- Prevent
docker run -i --restart
from hanging on exit #22777 - Fix API/CLI discrepancy on hostname validation #21641
- Fix discrepancy in the format of sizes in
stats
from HumanSize to BytesSize #21773 - authz: when request is denied return forbbiden exit code (403) #22448
Runtime
- Add
--live-restore
daemon flag to keep containers running when daemon shuts down, and regain control on startup #23213 - Ability to add OCI-compatible runtimes (via
--add-runtime
daemon flag) and select one with--runtime
oncreate
andrun
#22983 - New
overlay2
graphdriver 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 reload
event when the daemon reloads its configuration #22590 - Add
trace
capability in the pprof profiler to show execution traces in binary form #22715 - Add a
detach
event #22898 - Add support for setting sysctls with
--sysctl
#19265 - Add
--storage-opt
flag tocreate
andrun
allowing to setsize
on devicemapper #19367 - Undeprecate the
-c
short alias of--cpu-shares
onrun
,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-keys
whereby input matching a prefix of the detach key was not preserved #22943 - SELinux labeling is now disabled when using
--privileged
mode #22993 - If volume-mounted into a container,
/etc/hosts
,/etc/resolv.conf
,/etc/hostname
are no longer SELinux-relabeled #22993 - Fix inconsistency in
--tmpfs
behavior 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
- Containers are not removed from stats list on error #20835
- Fix
on-failure
restart policy when daemon restarts #20853 - Fix an issue with
stats
when a container is using another container's network #21904
Swarm Mode
- New
swarm
command to manage swarms withinit
,join
,leave
,update
subcommands #23361 - New
service
command to manage swarm-wide services withcreate
,inspect
,update
,remove
,tasks
subcommands #23361 - New
node
command to manage nodes withaccept
,promote
,demote
,inspect
,update
,tasks
,ls
andrm
subcommands #23361 - (experimental) New
stack
and `de...
v1.12.0-rc3
1.12.0 (2016-07-14)
Builder
- New
HEALTHCHECK
Dockerfile instruction to support user-defined healthchecks #23218 - New
SHELL
Dockerfile 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
Dockerfile
and.dockerignore
if exist #23234 - Windows: support for
ARG
to match Linux #22508 - Fix error message when building using a daemon with the bridge network disabled #22932
Contrib
- Enable seccomp for Centos 7 and Oracle Linux 7 #22344
- Remove MountFlags in systemd unit to allow shared mount propagation #22806
Distribution
- Add
--max-concurrent-downloads
and--max-concurrent-uploads
daemon flags useful for situations where network connections don't support multiple downloads/uploads #22445 - Registry operations now honor the
ALL_PROXY
environment variable #22316 - Provide more information to the user on
docker load
#23377
Logging
- Syslog logging driver now supports DGRAM sockets #21613
- Add
--details
option todocker logs
to also display log tags #21889 - Enable syslog logger to have access to env and labels #21724
- An additional syslog-format option
rfc5424micro
to allow microsecond resolution in syslog timestamp #21844 - 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
- Built-in Virtual-IP based internal and ingress load-balancing using IPVS #23361
- Secured multi-host overlay networking using encrypted control-plane and Data-plane #23361
- MacVlan driver is out of experimental #23524
- Add
driver
filter tonetwork ls
#22319 - Adding
network
filter todocker ps --filter
#23300 - Add
--link-local-ip
flag tocreate
,run
andnetwork connect
to specify a container's link-local address #23415 - Add network label filter support #21495
- Removed dependency on external KV-Store for Overlay networking in Swarm-Mode #23361
- Add container's short-id as default network alias #21901
run
options--dns
and--net=host
are no longer mutually exclusive #22408- 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
Plugins (experimental)
- New
plugin
command to manager plugins withinstall
,enable
,disable
,rm
,inspect
,set
subcommands #23446
Remote API (v1.24) & Client
- Split the binary into two:
docker
(client) anddockerd
(daemon) #20639 - Add
before
andsince
filters todocker images --filter
#22908 - Add
--limit
option todocker search
#23107 - Add
--filter
option todocker search
#22369 - Add security options to
docker info
output #21172 #23520 - Add insecure registries to
docker info
output #20410 - Extend Docker authorization with TLS user information #21556
- devicemapper: expose Mininum Thin Pool Free Space through
docker info
#21945 - API now returns a JSON object when an error occurs making it more consistent #22880
- Prevent
docker run -i --restart
from hanging on exit #22777 - Fix API/CLI discrepancy on hostname validation #21641
- Fix discrepancy in the format of sizes in
stats
from HumanSize to BytesSize #21773 - authz: when request is denied return forbbiden exit code (403) #22448
Runtime
- Add
--live-restore
daemon flag to keep containers running when daemon shuts down, and regain control on startup #23213 - Ability to add OCI-compatible runtimes (via
--add-runtime
daemon flag) and select one with--runtime
oncreate
andrun
#22983 - New
overlay2
graphdriver 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 reload
event when the daemon reloads its configuration #22590 - Add
trace
capability in the pprof profiler to show execution traces in binary form #22715 - Add a
detach
event #22898 - Add support for setting sysctls with
--sysctl
#19265 - Add
--storage-opt
flag tocreate
andrun
allowing to setsize
on devicemapper #19367 - Undeprecate the
-c
short alias of--cpu-shares
onrun
,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-keys
whereby input matching a prefix of the detach key was not preserved #22943 - SELinux labeling is now disabled when using
--privileged
mode #22993 - If volume-mounted into a container,
/etc/hosts
,/etc/resolv.conf
,/etc/hostname
are no longer SELinux-relabeled #22993 - Fix inconsistency in
--tmpfs
behavior 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
- Containers are not removed from stats list on error #20835
- Fix
on-failure
restart policy when daemon restarts #20853 - Fix an issue with
stats
when a container is using another container's network #21904
Swarm Mode
- New
swarm
command to manage swarms withinit
,join
,leave
,update
subcommands #23361 - New
service
command to manage swarm-wide services withcreate
,inspect
,update
,remove
,tasks
subcommands #23361 - New
node
command to manage nodes withaccept
,promote
,demote
,inspect
,update
,tasks
,ls
andrm
subcommands #23361 - (experimental) New
stack
and `de...
v1.12.0-rc2
1.12.0 (2016-07-14)
Builder
- New
HEALTHCHECK
Dockerfile instruction to support user-defined healthchecks #23218 - New
SHELL
Dockerfile 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
Dockerfile
and.dockerignore
if exist #23234 - Windows: support for
ARG
to match Linux #22508 - Fix error message when building using a daemon with the bridge network disabled #22932
Contrib
- Enable seccomp for Centos 7 and Oracle Linux 7 #22344
- Remove MountFlags in systemd unit to allow shared mount propagation #22806
Distribution
- Add
--max-concurrent-downloads
and--max-concurrent-uploads
daemon flags useful for situations where network connections don't support multiple downloads/uploads #22445 - Registry operations now honor the
ALL_PROXY
environment variable #22316 - Provide more information to the user on
docker load
#23377
Logging
- Syslog logging driver now supports DGRAM sockets #21613
- Add
--details
option todocker logs
to also display log tags #21889 - Enable syslog logger to have access to env and labels #21724
- An additional syslog-format option
rfc5424micro
to allow microsecond resolution in syslog timestamp #21844 - 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
- Built-in Virtual-IP based internal and ingress load-balancing using IPVS #23361
- Secured multi-host overlay networking using encrypted control-plane and Data-plane #23361
- MacVlan driver is out of experimental #23524
- Add
driver
filter tonetwork ls
#22319 - Adding
network
filter todocker ps --filter
#23300 - Add
--link-local-ip
flag tocreate
,run
andnetwork connect
to specify a container's link-local address #23415 - Add network label filter support #21495
- Removed dependency on external KV-Store for Overlay networking in Swarm-Mode #23361
- Add container's short-id as default network alias #21901
run
options--dns
and--net=host
are no longer mutually exclusive #22408- 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
Plugins (experimental)
- New
plugin
command to manager plugins withinstall
,enable
,disable
,rm
,inspect
,set
subcommands #23446
Remote API (v1.24) & Client
- Split the binary into two:
docker
(client) anddockerd
(daemon) #20639 - Add
before
andsince
filters todocker images --filter
#22908 - Add
--limit
option todocker search
#23107 - Add
--filter
option todocker search
#22369 - Add security options to
docker info
output #21172 #23520 - Add insecure registries to
docker info
output #20410 - Extend Docker authorization with TLS user information #21556
- devicemapper: expose Mininum Thin Pool Free Space through
docker info
#21945 - API now returns a JSON object when an error occurs making it more consistent #22880
- Prevent
docker run -i --restart
from hanging on exit #22777 - Fix API/CLI discrepancy on hostname validation #21641
- Fix discrepancy in the format of sizes in
stats
from HumanSize to BytesSize #21773 - authz: when request is denied return forbbiden exit code (403) #22448
Runtime
- Add
--live-restore
daemon flag to keep containers running when daemon shuts down, and regain control on startup #23213 - Ability to add OCI-compatible runtimes (via
--add-runtime
daemon flag) and select one with--runtime
oncreate
andrun
#22983 - New
overlay2
graphdriver 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 reload
event when the daemon reloads its configuration #22590 - Add
trace
capability in the pprof profiler to show execution traces in binary form #22715 - Add a
detach
event #22898 - Add support for setting sysctls with
--sysctl
#19265 - Add
--storage-opt
flag tocreate
andrun
allowing to setsize
on devicemapper #19367 - Undeprecate the
-c
short alias of--cpu-shares
onrun
,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-keys
whereby input matching a prefix of the detach key was not preserved #22943 - SELinux labeling is now disabled when using
--privileged
mode #22993 - If volume-mounted into a container,
/etc/hosts
,/etc/resolv.conf
,/etc/hostname
are no longer SELinux-relabeled #22993 - Fix inconsistency in
--tmpfs
behavior 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
- Containers are not removed from stats list on error #20835
- Fix
on-failure
restart policy when daemon restarts #20853 - Fix an issue with
stats
when a container is using another container's network #21904
Swarm Mode
- New
swarm
command to manage swarms withinit
,join
,leave
,update
subcommands #23361 - New
service
command to manage swarm-wide services withcreate
,inspect
,update
,remove
,tasks
subcommands #23361 - New
node
command to manage nodes withaccept
,promote
,demote
,inspect
,update
,tasks
,ls
andrm
subcommands #23361 - (experimental) New
stack
and `de...
v1.12.0-rc1
1.12.0 (2016-07-14)
Builder
- New
HEALTHCHECK
Dockerfile instruction to support user-defined healthchecks #23218 - New
SHELL
Dockerfile 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
Dockerfile
and.dockerignore
if exist #23234
Contrib
- Remove MountFlags in systemd unit to allow shared mount propagation #22806
Distribution
- Add
--max-concurrent-downloads
and--max-concurrent-uploads
daemon flags useful for situations where network connections don't support multiple downloads/uploads #22445 - Registry operations now honor the
ALL_PROXY
environment variable #22316 - Provide more information to the user on
docker load
#23377
Logging
- Syslog logging driver now supports DGRAM sockets #21613
- Add
--details
option todocker logs
to 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
driver
filter tonetwork ls
#22319 - Adding
network
filter 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-ip
flag tocreate
,run
andnetwork connect
to specify a container's link-local address #23415
Plugins (experimental)
- New
plugin
command to manager plugins withinstall
,enable
,disable
,rm
,inspect
,set
subcommands #23446
Remote API (v1.24)
- Add
before
andsince
filters todocker images --filter
#22908 - Add
--limit
option todocker search
#23107 - Add
--filter
option todocker search
#22369 - API now returns a JSON object when an error occurs making it more consistent #22880
- Prevent
docker run -i --restart
from hanging on exit #22777
Runtime
- Add
--live-restore
daemon flag to keep containers running when daemon shuts down, and regain control on startup #23213 - Ability to add OCI-compatible runtimes (via
--add-runtime
daemon flag) and select one with--runtime
oncreate
andrun
#22983 - New
overlay2
graphdriver 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 reload
event when the daemon reloads its configuration #22590 - Add
trace
capability in the pprof profiler to show execution traces in binary form #22715 - Add a
detach
event #22898 - Undeprecate the
-c
short alias of--cpu-shares
onrun
,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-keys
whereby input matching a prefix of the detach key was not preserved #22943 - SELinux labeling is now disabled when using
--privileged
mode #22993 - If volume-mounted into a container,
/etc/hosts
,/etc/resolv.conf
,/etc/hostname
are no longer SELinux-relabeled #22993 - Fix inconsistency in
--tmpfs
behavior 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
swarm
command to manage swarms withinit
,join
,leave
,update
subcommands #23361 - New
service
command to manage swarm-wide services withcreate
,inspect
,update
,remove
,tasks
subcommands #23361 - New
node
command to manage nodes withaccept
,promote
,demote
,inspect
,update
,tasks
,ls
andrm
subcommands #23361 - (experimental) New
stack
anddeploy
commands 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_PASSPHRASE
andDOCKER_CONTENT_TRUST_TAGGING_PASSPHRASE
have been renamed
toDOCKER_CONTENT_TRUST_ROOT_PASSPHRASE
andDOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE
respectively #22574 - Remove deprecated
syslog-tag
,gelf-tag
,fluentd-tag
log option in favor of the more generictag
one #22620 - Remove deprecated feature of passing HostConfig at API container start #22570
- Remove deprecated
-f
/--force
flag on docker tag #23090 - Remove deprecated
/containers/<id|name>/copy
endpoint #22149 - Deprecate the old 3-args form of
docker import
#23273
Downloads
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
v1.11.2
1.11.2 (2016-05-31)
Networking
- Fix a stale endpoint issue on overlay networks during ungraceful restart (#23015)
- Fix an issue where the wrong port could be reported by
docker inspect/ps/port
(#22997)
Runtime
- Fix a potential panic when running
docker build
(#23032) - Fix interpretation of
--user
parameter (#22998) - Fix a bug preventing container statistics to be correctly reported (#22955)
- Fix an issue preventing container to be restarted after daemon restart (#22947)
- Fix issues when running 32 bit binaries on Ubuntu 16.04 (#22922)
- Fix a possible deadlock on image deletion and container attach (#22918)
- Fix an issue where containers fail to start after a daemon restart if they depend on a containerized cluster store (#22561)
- Fix an issue causing
docker ps
to hang on CentOS when using devicemapper (#22168, #23067) - Fix a bug preventing to
docker exec
into a container when using devicemapper (#22168, #23067)
Downloads
deb/rpm install:
curl -fsSL https://get.docker.com/ | sh
Linux 64bit tgz: https://get.docker.com/builds/Linux/x86_64/docker-1.11.2.tgz
Darwin/OSX 64bit client tgz: https://get.docker.com/builds/Darwin/x86_64/docker-1.11.2.tgz
Windows 64bit zip: https://get.docker.com/builds/Windows/x86_64/docker-1.11.2.zip
Windows 32bit client zip: https://get.docker.com/builds/Windows/i386/docker-1.11.2.zip
v1.11.2-rc1
1.11.2 (2016-05-31)
Networking
- Fix a stale endpoint issue on overlay networks during ungraceful restart (#23015)
- Fix an issue where the wrong port could be reported by
docker inspect/ps/port
(#22997)
Runtime
- Fix a potential panic when running
docker build
(#23032) - Fix interpretation of
--user
parameter (#22998) - Fix a bug preventing container statistics to be correctly reported (#22955)
- Fix an issue preventing container to be restarted after daemon restart (#22947)
- Fix issues when running 32 bit binaries on Ubuntu 16.04 (#22922)
- Fix a possible deadlock on image deletion and container attach (#22918)
- Fix an issue where containers fail to start after a daemon restart if they depend on a containerized cluster store (#22561)
- Fix an issue causing
docker ps
to hang on CentOS when using devicemapper (#22168, #23067) - Fix a bug preventing to
docker exec
into a container when using devicemapper (#22168, #23067)