Commit Graph

24598 Commits

Author SHA1 Message Date
7b2c91fa58 Merge pull request #25316 from cpuguy83/25310_persit_volume_opts
Fix issue reloading mount options on restart
Upstream-commit: 2011320fa9e09d1cc19e3f0840d534e7200b0401
Component: engine
2016-08-02 15:45:05 +02:00
6ae69a861f Merge pull request #25318 from lixiaobing10051267/masterParentheses
A parenthesis omitted in Seccomp.md
Upstream-commit: d7c9c85e3093cef9e014be12951d226ab45bbba6
Component: engine
2016-08-02 12:27:19 +02:00
07090fecc2 Merge pull request #25314 from swernli/revert-25066-masterErr
Revert "Add checking err for IsWindowsClient()"
Upstream-commit: 7d4ab5ca85d3f694d7ce4c8d54db5876a94df4f5
Component: engine
2016-08-02 07:49:41 +02:00
d7f691cfe1 A parenthesis omitted in Seccomp.md
Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn>
Upstream-commit: 227cae6680d9c2ff8b1583ab4efdec54bdc36688
Component: engine
2016-08-02 12:24:15 +08:00
d491895d0a Fix issue reloading mount options on restart
On daemon restart the local volume driver will read options that it
persisted to disk, however it was reading an incorrect path, causing
volume options to be silently ignored after a daemon restart.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Upstream-commit: c560dd968600ebc9c1ff78f256ee93a6ded9a728
Component: engine
2016-08-01 23:30:39 -04:00
c99b7360ea Merge pull request #25204 from yongtang/25195-docker-info-ca-configuration
Output external CAs in swarm mode with `docker info`
Upstream-commit: 8f78dae4e308e47eb6cdba643c995a8a9b46b0cd
Component: engine
2016-08-01 21:34:00 -04:00
9027f05cc9 Merge pull request #25265 from adamwalz/docs_swarm_cluster_fault_tolerance
Fix swarm manager node fault tolerance table
Upstream-commit: ceb4126aa0cfcaf7842d22351876dc35dff915b3
Component: engine
2016-08-01 18:31:46 -07:00
5bb33260e8 Revert "Add checking err for IsWindowsClient()"
Signed-off-by: Stefan J. Wernli <swernli@microsoft.com>
Upstream-commit: d0b9c33f71f1e87e2236f1f9894ce28827791a7a
Component: engine
2016-08-01 17:33:41 -07:00
48cfcaddd4 Merge pull request #24878 from dongluochen/swarmConstraintTest
Add integration test for constraints
Upstream-commit: f35c4343f32aff4fb4f261e1dedb4200410d53b4
Component: engine
2016-08-01 17:45:23 -06:00
a35a169675 Merge pull request #25171 from cpuguy83/23545_test_sockets_in_separate_dir
Use temp dir for integration daemon sockets
Upstream-commit: f23c3a1263b4549030488938741ec6656f2f0133
Component: engine
2016-08-02 01:21:22 +02:00
f1f1cf0467 Merge pull request #25294 from klinden/patch-1
adding entry for Hugh Beaver
Upstream-commit: f2fb28cbb3f32b6ffec209dd4452b126f769f2ef
Component: engine
2016-08-02 01:01:13 +02:00
4d20df22ad Merge pull request #24947 from dnephin/integration-remove-cmdwithargs
Remove CmdWithArgs from integration-cli
Upstream-commit: 415c0f12d2e2edf35daa626e8fe577e7248e4572
Component: engine
2016-08-01 14:56:08 -07:00
4b66696a05 Merge pull request #25129 from mlaventure/fix-weird-rpc-lock-on-master
Attach stdin after attach stdout/err to avoid an rpc lock
Upstream-commit: 67a47d78a18d799719df61b93a54a246eb97b209
Component: engine
2016-08-01 14:52:09 -07:00
08f50a9752 Merge pull request #25187 from anusha-ragunathan/plugin-delete
Remove plugin root from filesystem.
Upstream-commit: 3c46c3481fb6378562183c9f281e29f84b2b527e
Component: engine
2016-08-01 14:33:30 -07:00
a208ce0e44 Merge pull request #25306 from yongtang/08012016-docker-service-create-workdir
Replace `"workdir'` with const `flWorkdir`, same as other flags in `service create`
Upstream-commit: 1d5bb597b8d275b3f6738e6d819afd4cc7d2c225
Component: engine
2016-08-01 13:57:56 -07:00
d1166d12d4 Add entries for Hugh Beaver, Lois Haibt and some more adjectives
Signed-off-by: Kyle Linden <kyle.linden@appliedis.com>
Upstream-commit: 653d083c1e887617f87d89a128d1398b90e0dd50
Component: engine
2016-08-01 16:05:27 -04:00
25dfa2b9fa Merge pull request #24821 from thaJeztah/stringid-refactor
Minor refactor and beter coverage for pkg/stringid
Upstream-commit: d2eb5dc9e0365ea4d50076011a7ef92d435b5032
Component: engine
2016-08-01 21:12:14 +02:00
0883d55bb8 Replace "workdir' with const, same as other flags in service create
This is a minor fix that tries to replace `"workdir"` with const in `service create`.

Since `"workdir"` is the only string not defined as const in `func addServiceFlags()`,
I think it makes sense to replace `"workdir"` with a const to be consistent.

The flag `"workdir"` in `service update` has also been replaced.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Upstream-commit: 55d05fc0556dc7d3ff3c65b8d739e48a1f79afab
Component: engine
2016-08-01 11:45:28 -07:00
fba16f2b3f Merge pull request #25205 from lixiaobing10051267/masterPath
Give the correct link of docker swarm init
Upstream-commit: 93fea86d1da9088899481519412070e2207cfd40
Component: engine
2016-08-01 11:34:54 -07:00
b8ad5adb41 Merge pull request #25288 from allencloud/make-pkg-pidfile-support-darwin
make pkg pidfile support darwin
Upstream-commit: e60c31d4f9b3c43e8f32593ed1d2c75db6509c3e
Component: engine
2016-08-01 10:47:40 -07:00
99b9e36eb0 Remove plugin root from filesystem.
`docker plugin remove` didnt actually remove plugin from disk. Fix that.

Signed-off-by: Anusha Ragunathan <anusha@docker.com>
Upstream-commit: 5690730a7471726bbaf813e634a7117a562dfb8c
Component: engine
2016-08-01 10:46:50 -07:00
97a0178f2f Merge pull request #25229 from bboreham/multi-unix-sockets
Fix Upstart post-start script when using multiple Unix sockets
Upstream-commit: 016c0076ee0dbaac58674466573f037ea894ed77
Component: engine
2016-08-01 19:43:07 +02:00
0e7aaf609b Merge pull request #25283 from unclejack/bump_go_patricia_2.2.4
vendor.sh: bump go-patricia to 2.2.4 to fix leaks
Upstream-commit: ccbdc16b8ea2a43498eda038a84bc03b0d26f630
Component: engine
2016-08-01 09:32:21 -07:00
c972743442 Merge pull request #25296 from thaJeztah/move-david-to-alumni
Move David to alumni
Upstream-commit: befb4568325054793d909c775f581e0f26841364
Component: engine
2016-08-01 08:34:08 -07:00
26e5b81522 Move David to alumni
Unfortunately, combining a job as CTO and maintaining
Docker is too much to combine, so David asked to be
moved to the alumni section.

Thanks for all the awesome work on Docker!

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: a54858e2fe3dba7d1cfea13027a934aafc9081a4
Component: engine
2016-08-01 17:11:17 +02:00
70aa42709e Merge pull request #25271 from yongtang/25141-better-error-IP-address-autodetection
Better error messages when IP address autodetection fails
Upstream-commit: 361de697bbf62e8b1134cd54dc90bf0204473e5e
Component: engine
2016-08-01 11:00:21 -04:00
c8468e1fc2 make pkg pidfile support darwin
Signed-off-by: allencloud <allen.sun@daocloud.io>
Upstream-commit: a91f59d4873e9866928261ad62ebcea3ef7add5f
Component: engine
2016-08-01 22:01:20 +08:00
8c0fcc0e8f Merge pull request #25258 from yongtang/24547-remove-require-network-from-swarm-tests
Remove testRequires(c, Network) from swarm integration tests
Upstream-commit: 2b90eaa596ee9429222973d3208da1c1f172c4e0
Component: engine
2016-08-01 13:33:36 +02:00
b68ed83409 Merge pull request #25268 from allencloud/better-container-kill-log
make container kill debug log readable
Upstream-commit: 3a538aca97dd206b22dc20c9f8f0981e63ac3771
Component: engine
2016-08-01 11:36:40 +02:00
3da2c0af7c vendor.sh: bump go-patricia to 2.2.4 to fix leaks
Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>
Upstream-commit: 3d714b5ed58cfdfd5872ddd3654d171b09bb02d3
Component: engine
2016-08-01 12:21:19 +03:00
2e1ae9907c Merge pull request #25269 from allencloud/update-remote-api-docs-about-409
add status code 409 in attach in docs
Upstream-commit: 56cbfc587f3e30d7587a4a4969d5497aa07edc06
Component: engine
2016-08-01 09:30:07 +02:00
91f37c3194 Better error messages when IP address autodetection fails
This fix tries to improve error messages when IP address
autodetection fails, as is specified in 25141.

Previously, error messages only indicate that multiple IPs
exist when autodetection fails. In this fix, if one
interface consists of multiple addresses or multiple
interfaces consist of addresses, the error messages output
the address names and interface names so that end user could
take notice.

This fix is verified manually.
When multiple addresses exist on multiple interfaces:
```
$ sudo docker swarm init
Error response from daemon: could not choose an IP address
to advertise since this system has multiple addresses on different
interfaces (192.168.186.128 on ens33 and 192.168.100.199 on eth10)
 - specify one with --advertise-addr
```
When multiple addresses exist on single interface:
```
$ sudo docker swarm init
Error response from daemon: could not choose an IP address
to advertise since this system has multiple addresses
on interface ens33 (192.168.186.128 and 192.168.55.199)
- specify one with --advertise-addr
```

This fix fixes 25141.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Upstream-commit: 59db01049ac6a8e54490565dc44661f780c13734
Component: engine
2016-07-31 20:03:30 -07:00
35c6396c21 add status code 409 in attach in docs
Signed-off-by: allencloud <allen.sun@daocloud.io>
Upstream-commit: b22a2919311fe0aaeb8802756f55486b8b020b2a
Component: engine
2016-08-01 01:21:50 +08:00
7b08c028b4 make container kill debug log readable
Signed-off-by: allencloud <allen.sun@daocloud.io>
Upstream-commit: 1102ac257b551feb3e048c731e4aa854e19011a2
Component: engine
2016-08-01 01:00:38 +08:00
ebd25734a8 Merge pull request #25224 from michael-holzheu/PR-TestRunSeccompUnconfinedCloneUserns-check
TestRunSeccompUnconfinedCloneUserns: Check for unprivileged_userns_clone
Upstream-commit: b38c25ad4108dadc6d92930b20a989aaea891767
Component: engine
2016-07-31 17:03:36 +01:00
aa6b958a56 Merge pull request #24773 from clnperez/cgroup-warnings
More accurate cgroup error messages
Upstream-commit: 4640c19a8854ed4efb365e6e0c7592ec1326983a
Component: engine
2016-07-31 16:49:47 +01:00
6b17dbd4f5 Merge pull request #25240 from allencloud/update-command-description-in-CLI
update command description in CLI
Upstream-commit: 849807d89a349db0f869a37c393203d812109d58
Component: engine
2016-07-31 12:56:23 +02:00
c5445bc4bb Merge pull request #25239 from dlech/patch-1
Make it clear which parmeter is the user
Upstream-commit: c7fcf496af8f7f5a6f3ab5397857ecfe91cbc192
Component: engine
2016-07-31 08:54:53 +02:00
59a9a5fe59 Fix swarm manager node fault tolerance table
In a cluster of 4 nodes, with a majority being 3 nodes, the fault
tolerance should be 1 node.

Signed-off-by: Adam Walz <adam@adamwalz.net>
Upstream-commit: 18d0c3933bec7fc1dc5ee8d4d1bc15235d86eeca
Component: engine
2016-07-30 21:20:54 -06:00
8eb814c15b Remove testRequires(c, Network) from swarm integration tests
Since 24237 has been merged, it is not necessary to require network
for swarm integration tests (`integration-cli/docker_api_swarm_test.go`)
any more.

This fix removes testRequires(c, Network) from swarm integration
tests.

This fix could be verified by disable networking, and all related
tests pass.

This fix is related to 24547, 24490, 24237.

This fix fixes 24547.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Upstream-commit: 85c9ef8a47fcf552ae9f436e7c00340dacf03030
Component: engine
2016-07-30 09:59:30 -07:00
e8a4996d93 Merge pull request #25066 from lixiaobing10051267/masterErr
Add checking err for IsWindowsClient()
Upstream-commit: 4554e6065100d493dd9cd2935901b8532a0dc504
Component: engine
2016-07-30 17:25:08 +01:00
a1efc2cd7a Output external CAs in swarm mode with docker info
This fix tries to address the issue raised in 25195 where external
CA configurations are not present in `docker info`.

This fix adds the output of external CAs in `docker info` in swarm
mode.

The test is done manually with:
```
docker run -p 8888:8888 -e CXFSSL_ADDRESS=0.0.0.0 -d fabric8/cfssl
docker swarm init --external-ca protocol=cfssl,url=http://172.17.0.2:8888
```

The `docker info` output:
```
 Managers: 1
 Nodes: 1
 Orchestration:
  Task History Retention Limit: 5
 Raft:
  Snapshot interval: 10000
  Heartbeat tick: 1
  Election tick: 3
 Dispatcher:
  Heartbeat period: 5 seconds
 CA configuration:
  Expiry duration: 3 months
  External CAs:
    cfssl: https://172.17.0.2:8888
```

This fix fixes 25195.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Upstream-commit: 995128e9ebfc1a84bbfe8765d3642f132a4f630d
Component: engine
2016-07-30 09:14:16 -07:00
b87e70e358 update command description in CLI
Signed-off-by: allencloud <allen.sun@daocloud.io>
Upstream-commit: 6c5988ed8c654527ee8dbae26d5618297f038cef
Component: engine
2016-07-31 00:06:18 +08:00
aedbd97f20 Give the correct link of docker swarm init
Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn>
Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn>

Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn>
Upstream-commit: e8279afb1a9439b482d9e3a66dcc46f155aa5251
Component: engine
2016-07-30 16:33:43 +08:00
b84877b065 uppercase output in docker info related to swarm mode
Signed-off-by: allencloud <allen.sun@daocloud.io>
Upstream-commit: ac13162464f4f80a274d075dca41c2da4d3d73be
Component: engine
2016-07-30 10:14:44 +08:00
6867071d80 Make it clear which parmeter is the user
Using the environment variable here also has the advantage that it can be copied and pasted directly in a terminal and it will work.

Signed-off-by: David Lechner <david@lechnology.com>
Upstream-commit: e10ba68bfdbedb47b7e92c3aee5e66e5884d16c3
Component: engine
2016-07-29 19:08:20 -05:00
5473a6ca58 Merge pull request #25182 from sfsmithcha/clarify_join_token
Author Merge add advertise address, clarify join token

CI errors expected.
Upstream-commit: ee355e017d210bef02771a8de4733f820ae6b717
Component: engine
2016-07-29 16:10:20 -07:00
a28554905f add advertise address, clarify join token
Signed-off-by: Charles Smith <charles.smith@docker.com>
Upstream-commit: 1e7219d40fcd3b9e3ef6d224e2926d5562fb7b74
Component: engine
2016-07-29 15:45:34 -07:00
95e7541ee8 Merge pull request #25197 from sfsmithcha/add_services_guide
author merge: add services guide to manage a swarm
Upstream-commit: 8b69d50c79f75f670fdc87e3e19c651551726605
Component: engine
2016-07-29 15:33:34 -07:00
48f7f6f55e add services guide to manage a swarm
Signed-off-by: Charles Smith <charles.smith@docker.com>
Upstream-commit: 861d4dc989ae738a1c219291a96333a7577b1699
Component: engine
2016-07-29 15:01:52 -07:00