Update godeps (major) - autoclosed
Created by: renovate[bot]
This PR contains the following updates:
Package | Type | Update | New value | References | Sourcegraph |
---|---|---|---|---|---|
github.com/Masterminds/semver | require | major | v3.0.3 | source | |
github.com/docker/docker | require | major | v1.13.1 | source | |
github.com/google/go-github | require | major | v29.0.2 | source | |
github.com/google/go-github/v28 | require | major | v29.0.2 | source | |
github.com/peterbourgon/ff | require | major | v2.0.0 | source | |
github.com/russross/blackfriday | replace | major | v2.0.1 | source | |
github.com/sourcegraph/gologin | replace | major | v2.0.0 | source |
Release Notes
Masterminds/semver
v3.0.3
Fixed
- #141: Fixed issue with <= comparison
v3.0.2
Fixed
- #134: Fixed broken constraint checking with ^0.0 (thanks @krmichelos)
v3.0.1
#125: Fixes issue with module path for v3
v3.0.0
This is a major release of the semver package which includes API changes. The Go
API is compatible with ^1. The Go API was not changed because many people are using
go get
without Go modules for their applications and API breaking changes cause
errors which we have or would need to support.
The changes in this release are the handling based on the data passed into the functions. These are described in the added and changed sections below.
Added
- StrictNewVersion function. This is similar to NewVersion but will return an error if the version passed in is not a strict semantic version. For example, 1.2.3 would pass but v1.2.3 or 1.2 would fail because they are not strictly speaking semantic versions. This function is faster, performs fewer operations, and uses fewer allocations than NewVersion.
- Fuzzing has been performed on NewVersion, StrictNewVersion, and NewConstraint. The Makefile contains the operations used. For more information on you can start on Wikipedia at https://en.wikipedia.org/wiki/Fuzzing
- Now using Go modules
Changed
- NewVersion has proper prerelease and metadata validation with error messages to signal an issue with either of them
- Handles space separated AND conditions in addition to ,
- ^ now operates using a similar set of rules to npm/js and Rust/Cargo. If the version is >=1 the ^ ranges works the same as v1. For major versions of 0 the rules have changed. The minor version is treated as the stable version unless a patch is specified and then it is equivalent to =. One difference from npm/js is that prereleases there are only to a specific version (e.g. 1.2.3). Prereleases here look over multiple versions and follow semantic version ordering rules. This pattern now follows along with the expected and requested handling of this packaged by numerous users.
docker/docker
v1.13.1
1.13.1 (2017-02-08)
IMPORTANT: On Linux distributions where devicemapper
was the default storage driver,
the overlay2
, or overlay
is now used by default (if the kernel supports it).
To use devicemapper, you can manually configure the storage driver to use through
the --storage-driver
daemon option, or by setting "storage-driver" in the daemon.json
configuration file.
IMPORTANT: In Docker 1.13, the managed plugin api changed, as compared to the experimental
version introduced in Docker 1.12. You must uninstall plugins which you installed with Docker 1.12
before upgrading to Docker 1.13. You can uninstall plugins using the docker plugin rm
command.
If you have already upgraded to Docker 1.13 without uninstalling previously-installed plugins, you may see this message when the Docker daemon starts:
Error starting daemon: json: cannot unmarshal string into Go value of type types.PluginEnv
To manually remove all plugins and resolve this problem, take the following steps:
1. Remove plugins.json from: /var/lib/docker/plugins/
.
2. Restart Docker. Verify that the Docker daemon starts with no errors.
3. Reinstall your plugins.
Contrib
Remote API (v1.26) & Client
- Support secrets in docker stack deploy with compose file #30144
Runtime
- Fix size issue in
docker system df
#30378 - Fix error on
docker inspect
when Swarm certificates were expired. #29246 - Fix deadlock on v1 plugin with activate error #30408
- Fix SELinux regression #30649
Plugins
Windows
Downloads
deb/rpm install:
curl -fsSL https://get.docker.com/ | sh
Linux 64bits tgz: https://get.docker.com/builds/Linux/x86_64/docker-1.13.1.tgz Darwin/OSX 64bits client tgz: https://get.docker.com/builds/Darwin/x86_64/docker-1.13.1.tgz Linux 32bits arm tgz: https://get.docker.com/builds/Linux/armel/docker-1.13.1.tgz Windows 64bits zip: https://get.docker.com/builds/Windows/x86_64/docker-1.13.1.zip Windows 32bits client zip: https://get.docker.com/builds/Windows/i386/docker-1.13.1.zip
v1.13.0
1.13.0 (2017-01-18)
IMPORTANT: In Docker 1.13, the managed plugin api changed, as compared to the experimental
version introduced in Docker 1.12. You must uninstall plugins which you installed with Docker 1.12
before upgrading to Docker 1.13. You can uninstall plugins using the docker plugin rm
command.
If you have already upgraded to Docker 1.13 without uninstalling previously-installed plugins, you may see this message when the Docker daemon starts:
Error starting daemon: json: cannot unmarshal string into Go value of type types.PluginEnv
To manually remove all plugins and resolve this problem, take the following steps:
1. Remove plugins.json from: /var/lib/docker/plugins/
.
2. Restart Docker. Verify that the Docker daemon starts with no errors.
3. Reinstall your plugins.
Builder
- Add capability to specify images used as a cache source on build. These images do not need to have local parent chain and can be pulled from other registries #26839
- (experimental) Add option to squash image layers to the FROM image after successful builds #22641
- Fix dockerfile parser with empty line after escape #24725
- Add step number on
docker build
#24978 - Add support for compressing build context during image build #25837
- add
--network
todocker build
#27702 - Fix inconsistent behavior between
--label
flag ondocker build
anddocker run
#26027 - Fix image layer inconsistencies when using the overlay storage driver #27209
- Unused build-args are now allowed. A warning is presented instead of an error and failed build #27412
- Fix builder cache issue on Windows #27805
- Allow
USER
in builder on Windows #28415 - Handle env case-insensitive on Windows #28725
Contrib
- Add support for building docker debs for Ubuntu 16.04 Xenial on PPC64LE #23438
- Add support for building docker debs for Ubuntu 16.04 Xenial on s390x #26104
- Add support for building docker debs for Ubuntu 16.10 Yakkety Yak on PPC64LE #28046
- Add RPM builder for VMWare Photon OS #24116
- Add shell completions to tgz #27735
- Update the install script to allow using the mirror in China #27005
- Add DEB builder for Ubuntu 16.10 Yakkety Yak #27993
- Add RPM builder for Fedora 25 #28222
- Add
make deb
support for aarch64 #27625
Distribution
- Update notary dependency to 0.4.2 (full changelogs here) #27074
- Support for compilation on windows docker/notary#970
- Improved error messages for client authentication errors docker/notary#972
- Support for finding keys that are anywhere in the
~/.docker/trust/private
directory, not just under~/.docker/trust/private/root_keys
or~/.docker/trust/private/tuf_keys
docker/notary#981 - Previously, on any error updating, the client would fall back on the cache. Now we only do so if there is a network error or if the server is unavailable or missing the TUF data. Invalid TUF data will cause the update to fail - for example if there was an invalid root rotation. docker/notary#982
- Improve root validation and yubikey debug logging docker/notary#858 docker/notary#891
- Warn if certificates for root or delegations are near expiry docker/notary#802
- Warn if role metadata is near expiry docker/notary#786
- Fix passphrase retrieval attempt counting and terminal detection docker/notary#906
- Avoid unnecessary blob uploads when different users push same layers to authenticated registry #26564
- Allow external storage for registry credentials #26354
Logging
- Standardize the default logging tag value in all logging drivers #22911
- Improve performance and memory use when logging of long log lines #22982
- Enable syslog driver for windows #25736
- Add Logentries Driver #27471
- Update of AWS log driver to support tags #27707
- Unix socket support for fluentd #26088
- Enable fluentd logging driver on Windows #28189
- Sanitize docker labels when used as journald field names #23725
- Fix an issue where
docker logs --tail
returned less lines than expected #28203 - Splunk Logging Driver: performance and reliability improvements #26207
- Splunk Logging Driver: configurable formats and skip for verifying connection #25786
Networking
- Add
--attachable
network support to enabledocker run
to work in swarm-mode overlay network #25962 - Add support for host port PublishMode in services using the
--publish
option indocker service create
#27917 and #28943 - Add support for Windows server 2016 overlay network driver (requires upcoming ws2016 update) #28182
- Change the default
FORWARD
policy toDROP
#28257 - Add support for specifying static IP addresses for predefined network on windows #22208
- Fix
--publish
flag ondocker run
not working with IPv6 addresses #27860 - Fix inspect network show gateway with mask #25564
- Fix an issue where multiple addresses in a bridge may cause
--fixed-cidr
to not have the correct addresses #26659 - Add creation timestamp to
docker network inspect
#26130 - Show peer nodes in
docker network inspect
for swarm overlay networks #28078 - Enable ping for service VIP address #28019
Plugins
- Move plugins out of experimental #28226
- Add
--force
ondocker plugin remove
#25096 - Add support for dynamically reloading authorization plugins #22770
- Add description in
docker plugin ls
#25556 - Add
-f
/--format
todocker plugin inspect
#25990 - Add
docker plugin create
command #28164 - Send request's TLS peer certificates to authorization plugins #27383
- Support for global-scoped network and ipam plugins in swarm-mode #27287
- Split
docker plugin install
into two API call/privileges
and/pull
#28963
Remote API (v1.25) & Client
- Support
docker stack deploy
from a Compose file #27998 - (experimental) Implement checkpoint and restore #22049
- Add
--format
flag todocker info
#23808 - Remove
--name
fromdocker volume create
#23830 - Add
docker stack ls
#23886 - Add a new
is-task
ps filter #24411 - Add
--env-file
flag todocker service create
#24844 - Add
--format
ondocker stats
#24987 - Make
docker node ps
default toself
in swarm node #25214 - Add
--group
indocker service create
#25317 - Add
--no-trunc
to service/node/stack ps output #25337 - Add Logs to
ContainerAttachOptions
so go clients can request to retrieve container logs as part of the attach process #26718 - Allow client to talk to an older server #27745
- Inform user client-side that a container removal is in progress #26074
- Add
Isolation
to the /info endpoint #26255 - Add
userns
to the /info endpoint #27840 - Do not allow more than one mode be requested at once in the services endpoint #26643
- Add capability to /containers/create API to specify mounts in a more granular and safer way #22373
- Add
--format
flag tonetwork ls
andvolume ls
#23475 - Allow the top-level
docker inspect
command to inspect any kind of resource #23614 - Allow unsetting the
--entrypoint
indocker run
ordocker create
#23718 - Restructure CLI commands by adding
docker image
anddocker container
commands for more consistency #26025 - Remove
COMMAND
column fromservice ls
output #28029 - Add
--format
todocker events
#26268 - Allow specifying multiple nodes on
docker node ps
#26299 - Restrict fractional digits to 2 decimals in
docker images
output #26303 - Add
--dns-option
todocker run
#28186 - Add Image ID to container commit event #28128
- Add external binaries version to docker info #27955
- Add information for
Manager Addresses
in the output ofdocker info
#28042 - Add a new reference filter for
docker images
#27872
Runtime
- Add
--experimental
daemon flag to enable experimental features, instead of shipping them in a separate build #27223 - Add a
--shutdown-timeout
daemon flag to specify the default timeout (in seconds) to stop containers gracefully before daemon exit #23036 - Add
--stop-timeout
to specify the timeout value (in seconds) for individual containers to stop #22566 - Add a new daemon flag
--userland-proxy-path
to allow configuring the userland proxy instead of using the hardcodeddocker-proxy
from$PATH
#26882 - Add boolean flag
--init
ondockerd
and ondocker run
to use tini a zombie-reaping init process as PID 1 #26061 #28037 - Add a new daemon flag
--init-path
to allow configuring the path to thedocker-init
binary #26941 - Add support for live reloading insecure registry in configuration #22337
- Add support for storage-opt size on Windows daemons #23391
- Improve reliability of
docker run --rm
by moving it from the client to the daemon #20848 - Add support for
--cpu-rt-period
and--cpu-rt-runtime
flags, allowing containers to run real-time threads whenCONFIG_RT_GROUP_SCHED
is enabled in the kernel #23430 - Allow parallel stop, pause, unpause #24761 / #26778
- Implement XFS quota for overlay2 #24771
- Fix partial/full filter issue in
service tasks --filter
#24850 - Allow engine to run inside a user namespace #25672
- Fix a race condition between device deferred removal and resume device, when using the devicemapper graphdriver #23497
- Add
docker stats
support in Windows #25737 - Allow using
--pid=host
and--net=host
when--userns=host
#25771 - (experimental) Add metrics (Prometheus) output for basic
container
,image
, anddaemon
operations #25820 - Fix issue in
docker stats
withNetworkDisabled=true
#25905 - Add
docker top
support in Windows #25891 - Record pid of exec'd process #27470
- Add support for looking up user/groups via
getent
#27599 - Add new
docker system
command withdf
andprune
subcommands for system resource management, as well asdocker {container,image,volume,network} prune
subcommands #26108 #27525 / #27525 - Fix an issue where containers could not be stopped or killed by setting xfs max_retries to 0 upon ENOSPC with devicemapper #26212
- Fix
docker cp
failing to copy to a container's volume dir on CentOS with devicemapper #28047 - Promote overlay(2) graphdriver #27932
- Add
--seccomp-profile
daemon flag to specify a path to a seccomp profile that overrides the default #26276 - Fix ulimits in
docker inspect
when--default-ulimit
is set on daemon #26405 - Add workaround for overlay issues during build in older kernels #28138
- Add
TERM
environment variable ondocker exec -t
#26461 - Honor a container’s
--stop-signal
setting upondocker kill
#26464
Swarm Mode
- Add secret management #27794
- Add support for templating service options (hostname, mounts, and environment variables) #28025
- Display the endpoint mode in the output of
docker service inspect --pretty
#26906 - Make
docker service ps
output more bearable by shortening service IDs in task names #28088 - Make
docker node ps
default to the current node #25214 - Add
--dns
, --dns-opt
, and--dns-search
to service create. #27567 - Add
--force
todocker service update
#27596 - Add
-q
todocker service ps
#27654 - Display number of global services in
docker service ls
#27710 - Remove
--name
flag fromdocker service update
. This flag is only functional ondocker service create
, so was removed from theupdate
command #26988 - Fix worker nodes failing to recover because of transient networking issues #26646
- Add support for health aware load balancing and DNS records #27279
- Add
--hostname
todocker service create
#27857 - Add
--host
todocker service create
, and--host-add
,--host-rm
todocker service update
#28031 - Add
--tty
flag todocker service create
/update
#28076 - Autodetect, store, and expose node IP address as seen by the manager #27910
- Encryption at rest of manager keys and raft data #27967
- Add
--update-max-failure-ratio
,--update-monitor
and--rollback
flags todocker service update
#26421 - Fix an issue with address autodiscovery on
docker swarm init
running inside a container #26457 - (experimental) Add
docker service logs
command to view logs for a service #28089 - Pin images by digest for
docker service create
andupdate
#28173 - Add short (
-f
) flag fordocker node rm --force
anddocker swarm leave --force
#28196 - Add options to customize Raft snapshots (
--max-snapshots
,--snapshot-interval
) #27997 - Don't repull image if pinned by digest #28265
- Swarm-mode support for Windows #27838
- Allow hostname to be updated on service #28771
- Support v2 plugins #29433
- Add content trust for services #29469
Volume
- Add support for labels on volumes #21270
- Add support for filtering volumes by label #25628
- Add a
--force
flag indocker volume rm
to forcefully purge the data of the volume that has already been deleted #23436 - Enhance
docker volume inspect
to show all options used when creating the volume #26671 - Add support for local NFS volumes to resolve hostnames #27329
Security
- Fix selinux labeling of volumes shared in a container #23024
- Prohibit
/sys/firmware/**
from being accessed with apparmor #26618
DEPRECATION
- Marked the
docker daemon
command as deprecated. The daemon is moved to a separate binary (dockerd
), and should be used instead #26834 - Deprecate unversioned API endpoints #28208
- Remove Ubuntu 15.10 (Wily Werewolf) as supported platform. Ubuntu 15.10 is EOL, and no longer receives updates #27042
- Remove Fedora 22 as supported platform. Fedora 22 is EOL, and no longer receives updates #27432
- Remove Fedora 23 as supported platform. Fedora 23 is EOL, and no longer receives updates #29455
- Deprecate the
repo:shortid
syntax ondocker pull
#27207 - Deprecate backing filesystem without
d_type
for overlay and overlay2 storage drivers #27433 - Deprecate
MAINTAINER
in Dockerfile #25466 - Deprecate
filter
param for endpoint/images/json
#27872 - Deprecate setting duplicate engine labels #24533
- Deprecate "top-level" network information in
NetworkSettings
#28437
Downloads
deb/rpm install:
curl -fsSL https://get.docker.com/ | sh
Linux 64bits tgz: https://get.docker.com/builds/Linux/x86_64/docker-1.13.0.tgz Darwin/OSX 64bits client tgz: https://get.docker.com/builds/Darwin/x86_64/docker-1.13.0.tgz Linux 32bits arm tgz: https://get.docker.com/builds/Linux/armel/docker-1.13.0.tgz Windows 64bits zip: https://get.docker.com/builds/Windows/x86_64/docker-1.13.0.zip Windows 32bits client zip: https://get.docker.com/builds/Windows/i386/docker-1.13.0.zip
v1.12.6
1.12.6 (2017-01-10)
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.
NOTE: Docker 1.12.6 will correctly validate that either an IPv6 subnet is provided or
that the IPAM driver can provide one when you specify the --ipv6
option.
If you are currently using the --ipv6
option without specifying the
--fixed-cidr-v6
option, the Docker daemon will refuse to start with the
following message:
Error starting daemon: Error initializing network controller: Error creating
default "bridge" network: failed to parse pool request
for address space "LocalDefault" pool " subpool ":
could not find an available, non-overlapping IPv6 address
pool among the defaults to assign to the network
To resolve this error, either remove the --ipv6
flag (to preserve the same
behavior as in Docker 1.12.3 and earlier), or provide an IPv6 subnet as the
value of the --fixed-cidr-v6
flag.
In a similar way, if you specify the --ipv6
flag when creating a network
with the default IPAM driver, without providing an IPv6 --subnet
, network
creation will fail with the following message:
Error response from daemon: failed to parse pool request for address space
"LocalDefault" pool "" subpool "": could not find an
available, non-overlapping IPv6 address pool among
the defaults to assign to the network
To resolve this, either remove the --ipv6
flag (to preserve the same behavior
as in Docker 1.12.3 and earlier), or provide an IPv6 subnet as the value of the
--subnet
flag.
The network network creation will instead succeed if you use an external IPAM driver which supports automatic allocation of IPv6 subnets.
Runtime
- Fix runC privilege escalation (CVE-2016-9962)
Downloads
Regular
Linux 64bits tgz: https://get.docker.com/builds/Linux/x86_64/docker-1.12.6.tgz Darwin/OSX 64bits client tgz: https://get.docker.com/builds/Darwin/x86_64/docker-1.12.6.tgz Linux 32bits arm tgz: https://get.docker.com/builds/Linux/armel/docker-1.12.6.tgz Windows 64bits zip: https://get.docker.com/builds/Windows/x86_64/docker-1.12.6.zip Windows 32bits client zip: https://get.docker.com/builds/Windows/i386/docker-1.12.6.zip
With experimental features
Linux 64bits tgz: https://experimental.docker.com/builds/Linux/x86_64/docker-1.12.6.tgz Darwin/OSX 64bits client tgz: https://experimental.docker.com/builds/Darwin/x86_64/docker-1.12.6.tgz Linux 32bits arm tgz: https://experimental.docker.com/builds/Linux/armel/docker-1.12.6.tgz Windows 64bits zip: https://experimental.docker.com/builds/Windows/x86_64/docker-1.12.6.zip Windows 32bits client zip: https://experimental.docker.com/builds/Windows/i386/docker-1.12.6.zip
v1.12.5
1.12.5 (2016-12-15)
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.
NOTE: Docker 1.12.5 will correctly validate that either an IPv6 subnet is provided or
that the IPAM driver can provide one when you specify the --ipv6
option.
If you are currently using the --ipv6
option without specifying the
--fixed-cidr-v6
option, the Docker daemon will refuse to start with the
following message:
Error starting daemon: Error initializing network controller: Error creating
default "bridge" network: failed to parse pool request
for address space "LocalDefault" pool " subpool ":
could not find an available, non-overlapping IPv6 address
pool among the defaults to assign to the network
To resolve this error, either remove the --ipv6
flag (to preserve the same
behavior as in Docker 1.12.3 and earlier), or provide an IPv6 subnet as the
value of the --fixed-cidr-v6
flag.
In a similar way, if you specify the --ipv6
flag when creating a network
with the default IPAM driver, without providing an IPv6 --subnet
, network
creation will fail with the following message:
Error response from daemon: failed to parse pool request for address space
"LocalDefault" pool "" subpool "": could not find an
available, non-overlapping IPv6 address pool among
the defaults to assign to the network
To resolve this, either remove the --ipv6
flag (to preserve the same behavior
as in Docker 1.12.3 and earlier), or provide an IPv6 subnet as the value of the
--subnet
flag.
The network network creation will instead succeed if you use an external IPAM driver which supports automatic allocation of IPv6 subnets.
Runtime
- Fix race on sending stdin close event #29424
Networking
- Fix panic in docker network ls when a network was created with
--ipv6
and no ipv6--subnet
in older docker versions #29416
Contrib
- Fix compilation on Darwin #29370
Downloads
Regular
Linux 64bits tgz: https://get.docker.com/builds/Linux/x86_64/docker-1.12.5.tgz Darwin/OSX 64bits client tgz: https://get.docker.com/builds/Darwin/x86_64/docker-1.12.5.tgz Linux 32bits arm tgz: https://get.docker.com/builds/Linux/armel/docker-1.12.5.tgz Windows 64bits zip: https://get.docker.com/builds/Windows/x86_64/docker-1.12.5.zip Windows 32bits client zip: https://get.docker.com/builds/Windows/i386/docker-1.12.5.zip
With experimental features
Linux 64bits tgz: https://experimental.docker.com/builds/Linux/x86_64/docker-1.12.5.tgz Darwin/OSX 64bits client tgz: https://experimental.docker.com/builds/Darwin/x86_64/docker-1.12.5.tgz Linux 32bits arm tgz: https://experimental.docker.com/builds/Linux/armel/docker-1.12.5.tgz Windows 64bits zip: https://experimental.docker.com/builds/Windows/x86_64/docker-1.12.5.zip Windows 32bits client zip: https://experimental.docker.com/builds/Windows/i386/docker-1.12.5.zip
v1.12.4
1.12.4 (2016-12-12)
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.
NOTE: Docker 1.12.4 will correctly validate that either an IPv6 subnet is provided or
that the IPAM driver can provide one when you specify the --ipv6
option.
If you are currently using the --ipv6
option without specifying the
--fixed-cidr-v6
option, the Docker daemon will refuse to start with the
following message:
Error starting daemon: Error initializing network controller: Error creating
default "bridge" network: failed to parse pool request
for address space "LocalDefault" pool " subpool ":
could not find an available, non-overlapping IPv6 address
pool among the defaults to assign to the network
To resolve this error, either remove the --ipv6
flag (to preserve the same
behavior as in Docker 1.12.3 and earlier), or provide an IPv6 subnet as the
value of the --fixed-cidr-v6
flag.
In a similar way, if you specify the --ipv6
flag when creating a network
with the default IPAM driver, without providing an IPv6 --subnet
, network
creation will fail with the following message:
Error response from daemon: failed to parse pool request for address space
"LocalDefault" pool "" subpool "": could not find an
available, non-overlapping IPv6 address pool among
the defaults to assign to the network
To resolve this, either remove the --ipv6
flag (to preserve the same behavior
as in Docker 1.12.3 and earlier), or provide an IPv6 subnet as the value of the
--subnet
flag.
The network network creation will instead succeed if you use an external IPAM driver which supports automatic allocation of IPv6 subnets.
Runtime
- Fix issue where volume metadata was not removed #29083
- Asynchronously close streams to prevent holding container lock #29050
- Fix selinux labels for newly created container volumes #29050
- Remove hostname validation #28990
- Fix deadlocks caused by IO races #29095 #29141
- Return an empty stats if the container is restarting #29150
- Fix volume store locking #29151
- Ensure consistent status code in API #29150
- Fix incorrect opaque directory permission in overlay2 #29093
- Detect plugin content and error out on
docker pull
#29297
Swarm Mode
- Update Swarmkit #29047
- orchestrator/global: Fix deadlock on updates docker/swarmkit#1760
- on leader switchover preserve the vxlan id for existing networks docker/swarmkit#1773
- Refuse swarm spec not named "default" #29152
Networking
- Update libnetwork #29004 #29146
- Fix panic in embedded DNS docker/libnetwork#1561
- Fix unmarhalling panic when passing --link-local-ip on global scope network docker/libnetwork#1564
- Fix panic when network plugin returns nil StaticRoutes docker/libnetwork#1563
- Fix panic in osl.(*networkNamespace).DeleteNeighbor docker/libnetwork#1555
- Fix panic in swarm networking concurrent map read/write docker/libnetwork#1570
- Allow encrypted networks when running docker inside a container docker/libnetwork#1502
- Do not block autoallocation of IPv6 pool docker/libnetwork#1538
- Set timeout for netlink calls docker/libnetwork#1557
- Increase networking local store timeout to one minute docker/libkv#140
- Fix a panic in libnetwork.(*sandbox).execFunc docker/libnetwork#1556
- Honor icc=false for internal networks docker/libnetwork#1525
Logging
- Update syslog log driver #29150
Contrib
- Run "dnf upgrade" before installing in fedora #29150
- Add build-date back to RPM packages #29150
- deb package filename changed to include distro to distinguish between distro code names #27829
Downloads
Regular
Linux 64bits tgz: https://get.docker.com/builds/Linux/x86_64/docker-1.12.4.tgz Darwin/OSX 64bits client tgz: https://get.docker.com/builds/Darwin/x86_64/docker-1.12.4.tgz Linux 32bits arm tgz: https://get.docker.com/builds/Linux/armel/docker-1.12.4.tgz Windows 64bits zip: https://get.docker.com/builds/Windows/x86_64/docker-1.12.4.zip Windows 32bits client zip: https://get.docker.com/builds/Windows/i386/docker-1.12.4.zip
With experimental features
Linux 64bits tgz: https://experimental.docker.com/builds/Linux/x86_64/docker-1.12.4.tgz Darwin/OSX 64bits client tgz: https://experimental.docker.com/builds/Darwin/x86_64/docker-1.12.4.tgz Linux 32bits arm tgz: https://experimental.docker.com/builds/Linux/armel/docker-1.12.4.tgz Windows 64bits zip: https://experimental.docker.com/builds/Windows/x86_64/docker-1.12.4.zip Windows 32bits client zip: https://experimental.docker.com/builds/Windows/i386/docker-1.12.4.zip
v1.12.3
1.12.3 (2016-10-26)
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.
Runtime
- Fix ambient capability usage in containers (CVE-2016-8867) #27610
- Prevent a deadlock in libcontainerd for Windows #27136
- Fix error reporting in CopyFileWithTar #27075
- Reset health status to starting when a container is restarted #27387
- Properly handle shared mount propagation in storage directory #27609
- Fix docker exec #27610
- Fix backward compatibility with containerd’s events log #27693
Swarm Mode
- Fix conversion of restart-policy #27062
- Update Swarmkit #27554
- Avoid restarting a task that has already been restarted docker/swarmkit#1305
- Allow duplicate published ports when they use different protocols docker/swarmkit#1632
- Allow multiple randomly assigned published ports on service docker/swarmkit#1657
- Fix panic when allocations happen at init time docker/swarmkit#1651
Networking
- Update libnetwork #27559
- Fix race in serializing sandbox to string docker/libnetwork#1495
- Fix race during deletion docker/libnetwork#1503
- Reset endpoint port info on connectivity revoke in bridge driver docker/libnetwork#1504
- Fix a deadlock in networking code docker/libnetwork#1507
- Fix a race in load balancer state docker/libnetwork#1512
Logging
- Update fluent-logger-golang to v1.2.1 #27474
Contrib
Downloads
Regular
deb/rpm install:
curl -fsSL https://get.docker.com/ | sh
Linux 64bits tgz: https://get.docker.com/builds/Linux/x86_64/docker-1.12.3.tgz Darwin/OSX 64bits client tgz: https://get.docker.com/builds/Darwin/x86_64/docker-1.12.3.tgz Linux 32bits arm tgz: https://get.docker.com/builds/Linux/armel/docker-1.12.3.tgz Windows 64bits zip: https://get.docker.com/builds/Windows/x86_64/docker-1.12.3.zip Windows 32bits client zip: https://get.docker.com/builds/Windows/i386/docker-1.12.3.zipWith experimental features
deb/rpm install:
curl -fsSL https://experimental.docker.com/ | sh
Linux 64bits tgz: https://experimental.docker.com/builds/Linux/x86_64/docker-1.12.3.tgz Darwin/OSX 64bits client tgz: https://experimental.docker.com/builds/Darwin/x86_64/docker-1.12.3.tgz Linux 32bits arm tgz: https://experimental.docker.com/builds/Linux/armel/docker-1.12.3.tgz Windows 64bits zip: https://experimental.docker.com/builds/Windows/x86_64/docker-1.12.3.zip Windows 32bits client zip: https://experimental.docker.com/builds/Windows/i386/docker-1.12.3.zip
v1.12.2
1.12.2 (2016-10-06)
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 versio
Renovate configuration
rebase!
".
-
If you want to rebase/retry this PR, check this box
This PR has been generated by WhiteSource Renovate. View repository job log here.