Commit Graph

30320 Commits

Author SHA1 Message Date
ad5a24f0ae Merge pull request #28690 from zteBill/volume-errorinfo-inexact
repeated volume create information
Upstream-commit: fa4f09194f7dd6687ac073f51ab344de2f165071
Component: engine
2017-01-15 17:10:27 +01:00
5b63ac99e9 Merge pull request #30143 from tophj-ibm/multi-get-go-from-own-dockerfile
[multi-arch] get go version from arch dockerfile
Upstream-commit: 96f7cf254babd715bb675d36d26d246f520c710a
Component: engine
2017-01-15 15:47:55 +01:00
474b446ade Merge pull request #30169 from runcom/fix-quoting
image: tarexport: do not quote integers in format string
Upstream-commit: 957a77f2e2c3c0b507b9a7152a37fec408336f11
Component: engine
2017-01-15 15:47:34 +01:00
58316308f8 Merge pull request #29831 from vdemeester/integration-small-cleanups
[test-integration] Small cleanups on integration cli
Upstream-commit: 24c4226dc7675e114463654f138e00a229b73a02
Component: engine
2017-01-14 16:43:39 -05:00
848651eae6 Merge pull request #29902 from caervs/add_autorestart
Add on-failure to default restart policy
Upstream-commit: 0fcd55072b0199db5f24be66ff92ce6c0e771e01
Component: engine
2017-01-14 16:40:02 -05:00
fed9eaa59d Merge pull request #29856 from Microsoft/jjh/warntoout
Windows to Linux build warning to stdout
Upstream-commit: 7d24cc7710f49f1f3caadf15d9eddb7e3b7a5f0d
Component: engine
2017-01-14 16:37:31 -05:00
4e32e40a14 image: tarexport: do not quote integers in format string
Basically, prevents outputs like:
```
invalid manifest, layers length mismatch: expected '\x02', got '\x01'
```

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
Upstream-commit: 675f4140e735c71d917241ddfa0d51092aa8bc56
Component: engine
2017-01-14 20:03:11 +01:00
14a5593af8 Merge pull request #30108 from thaJeztah/update-changelog-1.12.6
Update changelog on master with changes from 1.12.x
Upstream-commit: a4bc730298c8ce422889b0ca6ada03957f2b7273
Component: engine
2017-01-14 18:11:45 +01:00
fa34b27dd9 Merge pull request #30150 from anusha-ragunathan/pluginv1_vol
Fix pluginv1 Windows volumes
Upstream-commit: 60fb79e0dc6b81e2f618759599b6f15a5222b8ce
Component: engine
2017-01-14 11:35:05 -05:00
19d7fa6701 Merge pull request #30164 from xulike666/fix-typo-5/36
fix typo in container/container.go 
Upstream-commit: b65f7ea7ae255a0a59c6b5c9667b78db6c9b4f70
Component: engine
2017-01-14 09:14:52 -05:00
ea092d3119 Merge pull request #30125 from albers/completion-plugin-install--disable-content-trust
Add bash completion for `plugin install --disable-content-trust`
Upstream-commit: 1bbd75c743df8310fefb7ac026e7aa1d8228cac1
Component: engine
2017-01-14 09:04:51 -05:00
534eaa5cc1 Merge pull request #30103 from TDAbboud/29961-add-error-checking
Add error checking for hostPort range
Upstream-commit: 78db6379a85de68ba1b5fb39421a8fa8b56cd28b
Component: engine
2017-01-14 08:43:27 -05:00
210ffa1f3c Merge pull request #30161 from xulike666/fix-typo-4/36
fix typo in api/types/client.go
Upstream-commit: 728566c4ad93f84469ffa8406b6a3cb4ea9f74a6
Component: engine
2017-01-14 08:24:49 -05:00
3f708cc745 Merge pull request #30160 from xulike666/fix-boring-typo
fix typo in api/types/time/timestamp.go
Upstream-commit: 1847f855b33df2e412f7493376fce58e986aede0
Component: engine
2017-01-14 08:22:31 -05:00
3f53a9ea1d fix typo in container/container.go
Signed-off-by: Aaron.L.Xu <likexu@harmonycloud.cn>
Upstream-commit: 32035ffea57ef566a80a98ab69f9d30b55b59c08
Component: engine
2017-01-14 15:23:33 +08:00
1145a3c593 fix typo in api/types/client.go
Signed-off-by: Aaron.L.Xu <likexu@harmonycloud.cn>
Upstream-commit: c8fd28f12e501c3ba1bea9d380a38f4af8319a41
Component: engine
2017-01-14 15:10:08 +08:00
8a50ed9dc7 fix typo in api/types/time/timestamp.go
Signed-off-by: Aaron.L.Xu <likexu@harmonycloud.cn>
Upstream-commit: 2859ce6a577a9eac2c1610b76c156a5eb06cee83
Component: engine
2017-01-14 14:16:03 +08:00
964854de91 Fix pluginv1 Windows volumes
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 #30148

Signed-off-by: Anusha Ragunathan <anusha.ragunathan@docker.com>
Upstream-commit: 0ef21eb0e30d2ea036730a7c5502f888c6b763d1
Component: engine
2017-01-13 17:01:48 -08:00
af2c613c23 Add error checking for hostPort range
This fix catches the case where there is a single container port
and a dynamic host port and will fail out gracefully
Example docker-compose.yml snippet:
    port:
        ports:
            - "8091-8093:8091"
            - "80:8080"

Signed-off-by: Tony Abboud <tdabboud@hotmail.com>
Upstream-commit: 135f8f967488f171fcda6c66d7fa35726edaf19c
Component: engine
2017-01-13 18:05:51 -05:00
aa503cd1f7 Merge pull request #30112 from Microsoft/jjh/graphdriver
Windows: Remove redundant 'GraphDriver() func
Upstream-commit: 1eafa0f706931a0f3f73c756df3fa50639eae7a2
Component: engine
2017-01-13 13:59:12 -08:00
b1a42a3384 [multi-arch] get go version from arch dockerfile
Changes a couple of generate scripts so that the architecture
gets the go version from its own Dockerfile. This should cover a
rare case where the go version might have to be different from
the x86 Dockerfile.

Signed-off-by: Christopher Jones <tophj@linux.vnet.ibm.com>
Upstream-commit: fa17ac256019729a15f6c33c2c2dad34acef9e4a
Component: engine
2017-01-13 16:48:41 -05:00
3650feec46 Merge pull request #28720 from jlhawn/add_secret_update_method
Add SecretUpdate method to client
Upstream-commit: bd9361b8105518a9331f17d3f5fb2deed6a16c13
Component: engine
2017-01-13 21:28:43 +01:00
0b5a082fc0 Merge pull request #30131 from xulike666/fix-typo
fix typo in mount.go
Upstream-commit: ca00c185304c630fa7d24d7b7bb4781849f7f8ea
Component: engine
2017-01-13 20:40:34 +01:00
29e36c572d Add SecretUpdate docs to api/swagger.yaml
Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn)
Upstream-commit: 1cd5af59bffb6ee38f3599443abdcc30359bd521
Component: engine
2017-01-13 09:51:12 -08:00
fe46c62362 Add SecretUpdate method to client
closes #28678

Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn)

Update cli/command/service/update_test.go

Fixes test build error:

  secretAPIClientMock does not implement "github.com/docker/docker/client".SecretAPIClient (missing SecretUpdate method)

Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn)
Upstream-commit: 77b8465d7e68ca102d7aae839c7b3fe0ecd28398
Component: engine
2017-01-13 09:51:05 -08:00
68df9002fb Merge pull request #30120 from thaJeztah/revert-argument-name-change
revert "virtualSize" name change
Upstream-commit: f858d49483289e8f25378a66b9b72dc08d2d9974
Component: engine
2017-01-13 08:54:27 -08:00
8146a5de0f Merge pull request #30132 from albers/completion_hide_legacy_commands
Honour $DOCKER_HIDE_LEGACY_COMMANDS in bash completion
Upstream-commit: 2dd3aa608dbb5bbd6d656cda61bed13310e88496
Component: engine
2017-01-13 16:18:58 +01:00
c578d47854 Merge pull request #30130 from ijc25/clarify-cp-docs
Clarify `cp` documentation behaviour with trailing "/."
Upstream-commit: 8b7ba17d33d6af5fda28e86f2aa357be493f2cb8
Component: engine
2017-01-13 16:16:03 +01:00
2ac8b7a385 Honour $DOCKER_HIDE_LEGACY_COMMANDS in bash completion
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: aa006f128065fa8b1f017d1fdfdfebdbd08e31c9
Component: engine
2017-01-13 15:43:52 +01:00
af9ca905a5 fix typo in mount.go
Signed-off-by: Aaron.L.Xu <likexu@harmonycloud.cn>
Upstream-commit: e0621c53af1ac7dfb63f212743db17a0d67ca0e6
Component: engine
2017-01-13 22:36:32 +08:00
c5380c7534 Clarify cp documentation behaviour with trailing "/."
Issue #30082 demonstrated that their is possible confusion with the "/."
where the tailing "." can appear to be merely punctuation within the
document rather than a highly pertinent part of `SRC_PATH`.

Signed-off-by: Ian Campbell <ian.campbell@docker.com>
Upstream-commit: fca6cda4b0307d1268e684dde65e6a916d729d04
Component: engine
2017-01-13 13:58:25 +00:00
1823a6c5fd Add bash completion for plugin install --disable-content-trust
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 725a864a0496a6c10f56c30f8a45234230951343
Component: engine
2017-01-13 11:56:50 +01:00
9875c5c0d3 revert "virtualSize" name change
Commit b717de5153db503fae61c11e30f04f400f66a6fd
changed the name of the "size" argument to
"virtualSize", as the "VirtualSize" field
was re-used for calculating the size of all
layers _not_ used by other images.

be20dc15af0cb281bd6d11586cfcc96bd50d12ca reverted
the change in calculation, but did not change
the argument name back to "size".

This changes the name back to its original
name, because since the introduction of the
content-addressable store in docker 1.10,
there no longer is a "virtual" size, so
"size" is a better name for this argument.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: 22c411517a4a203690edb52fa42f8d5b43252882
Component: engine
2017-01-13 10:25:03 +01:00
a9065717ae Merge pull request #30061 from yongtang/30027-docker-images-v1.12
Fix `Size` in `docker images` for v1.12 client to v1.13 daemon
Upstream-commit: 0b09d6bfa7af18763d0f4a74f179117a73e70e46
Component: engine
2017-01-13 02:11:48 +01:00
2cf38188cb Merge pull request #30039 from ripcurld0/specify_line_no_dockerfile_err
Specify in which line the Dockerfile parser failed
Upstream-commit: 597843e79040a4f00bfe2abd83343d43edd195f5
Component: engine
2017-01-12 19:48:45 -05:00
9768c5da08 Windows: Remove redundant 'GraphDriver() func
Signed-off-by: John Howard <jhoward@microsoft.com>
Upstream-commit: 2cd8bcd7df1b1a204fe20118afe9556fe5a0b7ba
Component: engine
2017-01-12 15:32:46 -08:00
5db27accf5 Merge pull request #30106 from runcom/fix-upgrade-from-1.10
daemon: honor default runtime when starting containers
Upstream-commit: f65212d5b96a18349b0f436c35f99e4eed13f7c9
Component: engine
2017-01-12 14:44:37 -08:00
89de8e187c daemon: honor default runtime when starting containers
If you created containers from pre-OCI docker (e.g. docker-1.10.x)
upgrade may fail when restarting containers if the new docker daemon
has `--default-runtime` set.

In Fedora, we ship docker 1.12.6 with:

```
--default-runtime=oci
--add-runtime oci=/usr/libexec/docker/docker-runc-current
```

That way we don't rely on `docker-runc` being in `$PATH`.

The issue is, on upgrade from docker 1.10.3 without this patch, the
default runtime in `daemon/start_linux.go` is unconditionally set to
`runc=docker-runc` without honoring the `--default-runtime` flag set in
the docker daemon.

Reproducer:

- (1.10.3) `docker run -d -p 5000:5000 --restart=always --name registry
registry:2`
- upgrade to docker 1.12.6 (1.11.x has likely the same issue)
- the registry container fails to restart on upgrade with the following
log message `error="exec: \"docker-runc\": executable file not
found in $PATH: \"\""`

That error comes from the fact that we're setting the runtime in the
container's HostConfig to `runc` where instead we should have honored
the `--default-runtime` flag (in our case that's set to `oci`).

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
Upstream-commit: 9391a822ea4bee60284b4b2eb3a6535e20492569
Component: engine
2017-01-12 20:36:22 +01:00
d11c4417e8 Merge pull request #27903 from kim0/master
zfs: expose mountpoint/dataset on inspection
Upstream-commit: 27695cd751c2bf6295b751b913893bbe72304b96
Component: engine
2017-01-12 11:28:07 -08:00
ad59746444 Bump version to 1.12.6
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
(cherry picked from commit 94dfa200668a2520d1fbd6a5a540887beebc28df)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: 5e28d20e638346897225923d86cf1b0455ace501
Component: engine
2017-01-12 20:00:34 +01:00
7036bea4fd Merge pull request #29466 from vieux/bump_1.12.5
bump to 1.12.5
(cherry picked from commit 7392c3b0ce0f9d3e918a321c66668c5d1ef4f689)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: 2a202ea4aad3a025f5e4e7785cc1830d4aca6ae3
Component: engine
2017-01-12 19:59:39 +01:00
c516489a71 update changelog
Signed-off-by: Victor Vieux <vieux@docker.com>
(cherry picked from commit 0e5346df3276bab0f282e62f52f5c5b7732f97a3)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: 650b381991ed2816fc66ebec96505c758e444739
Component: engine
2017-01-12 19:59:11 +01:00
748adbd2d1 add networking fox to changelog
Signed-off-by: Victor Vieux <vieux@docker.com>
(cherry picked from commit f6fbe58fbee9d619de079b3f1cdf995b202260c1)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: ef39dad14a6ff9887d11e8bef98d9fe97bc7edec
Component: engine
2017-01-12 19:59:02 +01:00
345c797f7f Merge pull request #29379 from vieux/1.12.5-rc1_bump
1.12.5-rc1 bump
(cherry picked from commit 02394deb34ee43d1cc95fcfb86aa8fd774091c9b)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: c8ece052c12f8ba275d6e902a4e91d13a6aae620
Component: engine
2017-01-12 19:58:50 +01:00
d8197dd5db Merge pull request #29338 from vieux/bump_1.12.4_version
bump version to 1.12.4
(cherry picked from commit 1564f02e33aab7e30e6b0b72f418a7e950d79893)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: dee274848365c8c9f47c9b4c9783de87b062ed69
Component: engine
2017-01-12 19:57:41 +01:00
8b2b6ba5d8 update changelog
Signed-off-by: Victor Vieux <vieux@docker.com>
(cherry picked from commit 0d5bc84d061ee44d8af17efb5361be92cd182c50)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: 603ea0682fbb6acc4538580f22c2b5b9327c1d03
Component: engine
2017-01-12 19:56:29 +01:00
87ecb12814 Merge pull request #29204 from andrewhsu/changelog-date
[1.12.x] added date after version number in changelog
(cherry picked from commit 4a13581d5786861ba66fa3e3483d43c0b57b3162)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: 8dfd1919f5bf124630a49fba6097ced0ac4acf65
Component: engine
2017-01-12 19:56:01 +01:00
139b7ebe09 Merge pull request #29187 from vieux/1.12.4-changelog
bump version and changelog for 1.12.4-rc1
(cherry picked from commit caa6b86f389dcc405603f25ae8fb7cb835a46388)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: 6c7a449aa58fb767e62dd8de6b612f35cade8c2f
Component: engine
2017-01-12 19:54:57 +01:00
e808d12650 Merge pull request #30088 from tonistiigi/fifo-close-early
Close stdout/stderr fifo as soon as possible
Upstream-commit: f018c0dfff3c3dc213b3d3c05228dfed4ef0fb4a
Component: engine
2017-01-12 09:29:39 -08:00
52878055d1 Merge pull request #29485 from ericcurtin/remove-prompt-add-docker-group
Don't encourage adding user to docker group
Upstream-commit: 06e3812b6e50f63b13b9a6eefb012da83f6283ab
Component: engine
2017-01-12 18:28:16 +01:00