Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.13.1 rc1 cherrypicks #30331

Merged
merged 36 commits into from Jan 27, 2017
Merged

1.13.1 rc1 cherrypicks #30331

merged 36 commits into from Jan 27, 2017

Conversation

vieux
Copy link
Contributor

@vieux vieux commented Jan 20, 2017

Add zsh completion for 'docker {container,image,network,system} prune --filter #30317
Add zsh completion for 'docker swarm --availability' #30282
Add bash completion for dockerd --init and docker run|create --init #30266
Add bash completion for build --squash #30200
Honour $DOCKER_HIDE_LEGACY_COMMANDS in bash completion #30132
Fix treatment of DOCKER_HIDE_LEGACY_COMMANDS in bash completion #30163
Add bash completion for docker swarm unlock|unlock-key #30399
Add missing options to bash completion for docker swarm init|update #30398
Add bash completion for docker service ps --filter node #30375
Fix bash completion for docker service update #30373
Add zsh completion for 'docker plugin install --alias' #30268
Add bash completion for plugin install --disable-content-trust #30125
Add zsh completion for 'dockerd --init' and 'docker {create,run} --init' #30318
Ensure proper value is used when computing reclaimable space #30378
Add bash completion and docs for docker run|create --init-path #30283
distribution: Add text/html and application/json as image mediatypes #30262
Remove timeout on fifos opening #30140
Ignore certificate expiry error for top-level inspect #29246
Fix pluginv1 Windows volumes #30150
Only show global warnings once #28939
do not create init-dir if not needed #29846
Fix deadlock on v1 plugin with activate error #30408
Fix failure in docker ps --format when .Label has args #30291
Fix bash completion for completing nodes #30376
plugins: add example docs for a rexray plugin #30294
[project] bump go to go 1.7.4 #29142
[ppc64le] use official go 1.7.4 binaries #29256
Windows: Bump to latest version of git #29159
Windows: Add service dependency ConDrv #30111
Fix incorrect Scope in network ls/inspect with duplicate network names #30250
Add "src" alias for --secret #30407
Fixed secret creation usage during service create in docs #30370
Remove attachable network on swarm leave #30157

sdurrheimer and others added 6 commits January 20, 2017 14:03
… --filter'

Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
(cherry picked from commit 784ebcc)
Signed-off-by: Victor Vieux <vieux@docker.com>
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
(cherry picked from commit ee2ce82)
Signed-off-by: Victor Vieux <vieux@docker.com>
Fixes moby#30263

Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 2076261)
Signed-off-by: Victor Vieux <vieux@docker.com>
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit e91dbba)
Signed-off-by: Victor Vieux <vieux@docker.com>
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit aa006f1)
Signed-off-by: Victor Vieux <vieux@docker.com>
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 12952f5)
Signed-off-by: Victor Vieux <vieux@docker.com>
@vieux vieux added this to the 1.13.1 milestone Jan 20, 2017
@vieux vieux self-assigned this Jan 20, 2017
@thaJeztah
Copy link
Member

ping @albers @sdurrheimer if there's changes missing 😄

@sdurrheimer
Copy link
Contributor

#30268

And I think I have one or two more things to add.

@albers
Copy link
Member

albers commented Jan 24, 2017

#30375 was just merged.
#30125 is about a feature in 1.13.0, so it should go into 1.13.1. (I see missing support for a feature in completion as a bug.)

There are some pending PRs, so stay tuned: #30399, #30398, #30376, #30373, #30371, #30283.
@thaJeztah maybe you can have a look at these?

albers and others added 12 commits January 24, 2017 13:47
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 07bd515)
Signed-off-by: Victor Vieux <vieux@docker.com>
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit f93da79)
Signed-off-by: Victor Vieux <vieux@docker.com>
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit a39a2bb)
Signed-off-by: Victor Vieux <vieux@docker.com>
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 01ac33c)
Signed-off-by: Victor Vieux <vieux@docker.com>
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
(cherry picked from commit 455b7bc)
Signed-off-by: Victor Vieux <vieux@docker.com>
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 725a864)
Signed-off-by: Victor Vieux <vieux@docker.com>
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
(cherry picked from commit cdf5778)
Signed-off-by: Victor Vieux <vieux@docker.com>
When Size was reverted to be equal to VirtualSize, the df command
formatter was not correctly updated to account for the change.

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
(cherry picked from commit dcc1b4b)
Signed-off-by: Victor Vieux <vieux@docker.com>
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit d049ef2)
Signed-off-by: Victor Vieux <vieux@docker.com>
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 182048f)
Signed-off-by: Victor Vieux <vieux@docker.com>
As noted by moby#30083, the new strict checking of mediatypes misses some
cases where earlier bugs caused nonstandard mediatypes to be stored in
manifests. Two of the known cases are text/html and application/json,
which were returned by certain registries and stored by earlier versions
of Docker. Add special cases for text/html and application/json.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
(cherry picked from commit a215e15)
Signed-off-by: Victor Vieux <vieux@docker.com>
Instead of a timeout the context is cancelled on error to ensure
proper cleanup of the associated fifos' goroutines.

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
(cherry picked from commit c178700)
Signed-off-by: Victor Vieux <vieux@docker.com>
@vieux
Copy link
Contributor Author

vieux commented Jan 25, 2017

@albers #30371 is not for 1.13.1

I added all the other that are merged

thaJeztah and others added 3 commits January 24, 2017 16:05
The top-level `docker inspect` command could return
an error if the nodes Swarm certificates were expired.

In situations where the user did not explicitly
ask for an object-type (`--type=foo`), we should
ignore these errors, and consider them equal to
"node is not a swarm manager".

This change makes `docker inspect` ignore these
errors if no type was specified.

As a further optimization, the "swarm status"
result is now stored in a variable, so that
other swarm-specific API calls can be skipped.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 66cf4cc)
Signed-off-by: Victor Vieux <vieux@docker.com>
krallin/tini#55 (comment)
krallin/tini#55 (comment)
moby#28037

Signed-off-by: Elan Ruusamäe <glen@delfi.ee>
(cherry picked from commit d7df731)
Signed-off-by: Victor Vieux <vieux@docker.com>
c54b717 caused a regression for pluginv1 on Windows, where extraneous
backslashes were added to BasePath of the plugin. For pluginv1 on windows,
BasePath() should return an empty string, since the plugin is fully aware
of the mount path. Also, unlike Linux where all paths are relative to "/",
Windows paths are dependent on system drives and mapped drives.

Fixes moby#30148

Signed-off-by: Anusha Ragunathan <anusha.ragunathan@docker.com>
(cherry picked from commit 0ef21eb)
Signed-off-by: Victor Vieux <vieux@docker.com>
albers and others added 11 commits January 25, 2017 13:04
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 550947e)
Signed-off-by: Victor Vieux <vieux@docker.com>
Signed-off-by: Tibor Vass <tibor@docker.com>
(cherry picked from commit 5f713ce)
Signed-off-by: Victor Vieux <vieux@docker.com>
Signed-off-by: Christopher Jones <tophj@linux.vnet.ibm.com>
(cherry picked from commit 20e2437)
Signed-off-by: Victor Vieux <vieux@docker.com>
go 1.7.4 introduced official go ppc64le binaries, so use those
instead of using older versions of go and building from src.

Signed-off-by: Christopher Jones <tophj@linux.vnet.ibm.com>
(cherry picked from commit 62ab680)
Signed-off-by: Victor Vieux <vieux@docker.com>
Signed-off-by: John Howard <jhoward@microsoft.com>
(cherry picked from commit 8a45eea)
Signed-off-by: Victor Vieux <vieux@docker.com>
Signed-off-by: Victor Vieux <vieux@docker.com>
Signed-off-by: Darren Stahl <darst@microsoft.com>
(cherry picked from commit b2a7f6a)
Signed-off-by: Victor Vieux <vieux@docker.com>
…names

This fix tries to address the issue raised in 30242 where the `Scope`
field always changed to `swarm` in the ouput of `docker network ls/inspect`
when duplicate networks name exist.

The reason for the issue was that `buildNetworkResource()` use network name
(which may not be unique) to check for the scope.

This fix fixes the issue by always use network ID in `buildNetworkResource()`.

A test has been added. The test fails before the fix and passes after the fix.

This fix fixes 30242.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
(cherry picked from commit 05a831a)
Signed-off-by: Victor Vieux <vieux@docker.com>
This patch adds a "src" alias for `--secret`
to be consistent with `--mount`.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 950658b)
Signed-off-by: Victor Vieux <vieux@docker.com>
Using source, the following error is made:
invalid field in secret request: src

Signed-off-by: Michael Irwin <mikesir87@gmail.com>
(cherry picked from commit 9250117)
Signed-off-by: Victor Vieux <vieux@docker.com>
- When the node leaves the cluster, if any user run
  container(s) is connected to the swarm network,
  then daemon needs to detach the container(s) and
  remove the network.

Signed-off-by: Alessandro Boch <aboch@docker.com>
(cherry picked from commit 3cedca5)
Signed-off-by: Victor Vieux <vieux@docker.com>
@unclejack
Copy link
Contributor

#30489 will also need to be cherry picked after the merge.

@vieux vieux changed the title [WIP] 1.13.1 rc1 cherrypicks 1.13.1 rc1 cherrypicks Jan 27, 2017
@tiborvass
Copy link
Contributor

LGTM

Copy link
Member

@cpuguy83 cpuguy83 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vieux
Copy link
Contributor Author

vieux commented Jan 27, 2017

@unclejack yes I'll take care of it after

@vieux
Copy link
Contributor Author

vieux commented Jan 27, 2017

unrelated windows test error.

@vieux vieux merged commit 1b05e7a into moby:1.13.x Jan 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet