Commit Graph
31717 Commits
Author SHA1 Message Date
Steve Durrheimer bc5b09206f Add zsh completion for 'dockerd --oom-score-adjust'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: 5d29732bdf8f6b3a52a8272c4549982a95727ef8
Component: engine
2016-07-15 08:16:15 +02:00
Steve Durrheimer a7e7e20b17 Rename zsh completion for 'docker {create,run} --net --net-alias' to '--network --network-alias'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: ba5d9f63a3b5c39fdbb89778782367a55ce74809
Component: engine
2016-07-15 08:09:20 +02:00
Qiang Huang c93bbd4d7a Fix aufs docs
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
Upstream-commit: 92dfbc1e2d48164e1100718be42115c26d40dc6e
Component: engine
2016-07-15 13:57:38 +08:00
yuzou c47515a372 remove the second repeated line cli.api = api since api is a pointer
Signed-off-by: yuzou <zouyu7@huawei.com>
Upstream-commit: cb31d03b58e51a8ff56a04e8e0b5e17693b03f78
Component: engine
2016-07-15 11:45:30 +08:00
Yanqiang Miao 346295e672 Delete redundant content of 'docs/extend/plugins.md'
Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>

Update plugins.md

Update plugins.md
Upstream-commit: cfe9d2ff1eded7e9bb9b798e780a251c6fc26ef9
Component: engine
2016-07-15 11:26:10 +08:00
Tonis Tiigi e53dc037d4 Fix panic in stats test
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Upstream-commit: f5fb3c69fdd339c4ec1778a00d4cfc1aa887e310
Component: engine
2016-07-14 17:30:57 -07:00
Sebastiaan van Stijn 7d2ad0787e Merge pull request #24654 from crosbymichael/enable-systemctl
Enable docker.socket and docker.service in fedora install docs
Upstream-commit: 9df2a825bad0d5d6d23742f58dfefc962953b91c
Component: engine
2016-07-15 01:42:31 +02:00
Michael Crosby a7897f1409 State that docker supports fedora 24
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Upstream-commit: 6780bdcbad3ab3b3de1568e51db676bb0f059cd8
Component: engine
2016-07-14 16:24:21 -07:00
Michael Crosby 04ff70ab75 Enable docker socket and service on fedora
Make sure that the users enable both the socket and service for docker
as part of the default install instructions.  If both are not enabled
docker will not start at boot and restart containers.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Upstream-commit: 7a93a87c1a254abbf8e68093d4be241097694bb1
Component: engine
2016-07-14 16:23:05 -07:00
Paul Furtado 8e4507da93 Change $prog back to docker in sysvinit-redhat
(and set $exec to dockerd instead)

This ensures end users do not need to make any configuration changes
due to the rename from docker to dockerd in version 1.12.

Signed-off-by: Paul Furtado <pfurtado@hubspot.com>
Upstream-commit: acb41ddc9df80894d2ff84c34a98cc904b9241fa
Component: engine
2016-07-14 17:21:59 -04:00
Charles Smith f230d204ae Merge pull request #24640 from avsm/service-create-docs-quoting
docs: correct the placement constraints `docker service` example
Upstream-commit: ed94129c9e48ccdbefc3578401d045139385f5c6
Component: engine
2016-07-14 13:18:45 -07:00
Charles Smith 607a298d5c update create swarm and add nodes to use the auto-generated join command
Signed-off-by: Charles Smith <charles.smith@docker.com>
Upstream-commit: fec803f7793ce347fe276ea93c13fb9022677135
Component: engine
2016-07-14 11:26:46 -07:00
Tonis Tiigi 918edfff9f Wait for the reader fifo opening to block
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Upstream-commit: 0b2023130e285a0207be9fda4b22e1419997c552
Component: engine
2016-07-14 10:14:53 -07:00
Sebastiaan van Stijn 158079c51b Merge pull request #24568 from dmcgowan/search-v2-auth
Allow v1 search to use v2 auth with identity token
Upstream-commit: 56fb100140f96a010dcc834ed1d1626ffbc28970
Component: engine
2016-07-14 19:11:33 +02:00
Anil Madhavapeddy 6179c27dae docs: correct the placement constraints docker service example
- the constraint expression needs to be quoted
- add an actual redis container to run so the command line works

Signed-off-by: Anil Madhavapeddy <anil@docker.com>
Upstream-commit: c37da1792d232b5a8545227d5819bb245df16023
Component: engine
2016-07-14 17:38:37 +01:00
Antonio Murdaca 8de09a35ce Merge pull request #24593 from mlaventure/fix-libcontainerd-data-race
Fix data race in libcontainerd
Upstream-commit: 0a96ba8a0f6b98d82fe2f8f4e07838785cb8d708
Component: engine
2016-07-14 17:27:24 +02:00
Sebastiaan van Stijn d37c862586 Merge pull request #24630 from eskaaren/status_409
Status code 409 received when conflicting name when creating container
Upstream-commit: e056b4e370077bbc92e27762e2843895e83dcd12
Component: engine
2016-07-14 15:26:21 +02:00
Eivin Giske Skaaren 51ece55ad4 Status code 409 received when conflicting name when creating container
Signed-off-by: Eivin Giske Skaaren <eivin@sysmystic.com>
Upstream-commit: 5bf46cc43624f230fae80430dd9d1d5f494c0c95
Component: engine
2016-07-14 14:58:43 +02:00
Sebastiaan van Stijn 89ab6ee893 docs: cleanup docker update docs
move the "kernel memory" examples to the "examples" section,
and fix some formatting and grammar.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: 0ebc3c075006732c91c4ff0583f0f8e94c3bf237
Component: engine
2016-07-14 13:05:57 +02:00
Sebastiaan van Stijn d2af4bb5e5 Merge pull request #24628 from vdemeester/service-doc-fixes
Service doc fixes
Upstream-commit: e7e9f753e81110b7d5845663690e741388528640
Component: engine
2016-07-14 11:38:07 +02:00
Vincent Demeester c6ba347661 Merge pull request #24588 from justincormack/nonewprivsdoc
Expand the documentation of "no-new-privileges"
Upstream-commit: 9c5782280c0143d061be119e93312099a8e7effc
Component: engine
2016-07-14 11:34:33 +02:00
Vincent Demeester d0a542295a Update service inspect --pretty reference docs
Update the output and fix wrong usage in a tutorial page.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Upstream-commit: cc651bc642e3478062416b50171dbf5595daf4e4
Component: engine
2016-07-14 11:23:03 +02:00
Vincent Demeester d221553eec Update service update commandline reference docs
Update with the new remove flags

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Upstream-commit: dbe310eff05cf5b67eab99d3cfff66c2680d01ac
Component: engine
2016-07-14 11:22:18 +02:00
Vincent Demeester f883751993 Merge pull request #23773 from dnephin/allow-remove-during-update
Add remove flags for service update
Upstream-commit: 83f232e18670af884d84d10690e0c11c0e2f22b8
Component: engine
2016-07-14 11:10:30 +02:00
Sebastiaan van Stijn 87ddd8fdff Merge pull request #24615 from aaronlehmann/spaces-not-tabs
Use spaces, not tabs, to format sample "swarm join" command
Upstream-commit: ffd03708e954ef89eb48c2cd541897e07138b961
Component: engine
2016-07-14 11:07:12 +02:00
Dong Chen 3f6cccd448 Fix service inspect --pretty.
Signed-off-by: Dong Chen <dongluo.chen@docker.com>
Upstream-commit: 08ae4e544d5744e975da0f89c4f04baa2b8474f2
Component: engine
2016-07-14 00:11:29 -07:00
Aaron Lehmann b84397788e Use spaces, not tabs, to format sample "swarm join" command
Using tabs here seems to cause copy/paste problems in some terminals.
Using spaces is safer.

Fixes #24609

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
Upstream-commit: 6de8fcb2f2baf335fc24e10909078199af528e8d
Component: engine
2016-07-13 19:31:05 -06:00
Vladimir Pouzanov f195e32e80 Added documentation
Signed-off-by: Vladimir Pouzanov <farcaller@google.com>
Upstream-commit: eed48136a0a4cdfeac7ca427f661d7acf01f2f3d
Component: engine
2016-07-13 22:51:11 +01:00
Tibor Vass 93beda0406 Merge pull request #24592 from thaJeztah/remove-dead-code
Remove dead code for "inspect --pretty"
Upstream-commit: 1c6a8715ab31103f9cde977fa68d2f14b4871adb
Component: engine
2016-07-13 14:46:42 -07:00
Sebastiaan van Stijn 1382e56d1b Merge pull request #24598 from albers/completion-daemon--oom-score-adjust
bash completion for `docker daemon --oom-score-adjust`
Upstream-commit: 7925de9098e6ce5d7e5c2a8a19926f1f90105090
Component: engine
2016-07-13 23:34:54 +02:00
Derek McGowan 60762d8a86 Allow v1 search to use v2 auth with identity token
Updates the v1 search endpoint to also support v2 auth when an identity token is given.
Only search v1 endpoint is supported since there is not v2 search currently defined to replace it.

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
Upstream-commit: 19d48f0b8ba59eea9f2cac4ad1c7977712a6b7ac
Component: engine
2016-07-13 13:30:24 -07:00
Daniel Nephin e25d6b5a15 Fix multi-remove during service update.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
Upstream-commit: 3249c1d0e79f57642b96f6692ffa44f46f15b602
Component: engine
2016-07-13 16:11:08 -04:00
Daniel Nephin 8f0edf84fe Change the add/update flags to include 'add'
Signed-off-by: Daniel Nephin <dnephin@docker.com>
Upstream-commit: 4c6faa434071b87a55256e86020cb78495e9951d
Component: engine
2016-07-13 16:06:25 -04:00
Daniel Nephin b4c7aa8c2f PR feedback
improve help text for service update remove flags
implement proper merge update of placement flag
more code re-use in update functions using a toRemove set.

Signed-off-by: Daniel Nephin <dnephin@docker.com>
Upstream-commit: ead1f62abae5e5ad188536a01fb88d55339e3f63
Component: engine
2016-07-13 16:06:25 -04:00
Daniel Nephin 61271c6fdb Add remove flags for service update
with unit tests

Signed-off-by: Daniel Nephin <dnephin@docker.com>
Upstream-commit: dc33fc1ff433fcc70efc22f5cea9b87c6ec64a3b
Component: engine
2016-07-13 16:06:25 -04:00
Vincent Demeester ccca651e58 Small zsh completion fix on --pretty & --no-resolve
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Upstream-commit: 698bd5ab65ddc3db9679aa27b79c89ba1ca1fe23
Component: engine
2016-07-13 22:03:11 +02:00
Tibor Vass 5ae05f5a48 Merge pull request #24195 from dnephin/service-update-better-args-and-command
Update service `args` with a single flag (shlex)
Upstream-commit: fd8269b8f65b6b111e234d390e6f2226b85dbc6d
Component: engine
2016-07-13 13:02:19 -07:00
Tibor Vass f731a7777f Merge pull request #24591 from thaJeztah/remove-shorthand-flagz
Remove shorthand flags for "mount", "pretty", and "no-resolve"
Upstream-commit: 1f74917f60edf8d7051a0c19481e7133e1b4537d
Component: engine
2016-07-13 12:51:53 -07:00
Harald Albers 4c71a2a9b6 bash completion for docker daemon --oom-score-adjust
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: e1e310ea1fc47488a7404e3fa52fa606fe270ed0
Component: engine
2016-07-13 12:31:55 -07:00
Arnaud Porterie df6d3b4289 Merge pull request #24516 from crosbymichael/oom-score
Add --oom-score-adjust to daemon
Upstream-commit: ef322a3fbb31c2299e414f1c314f245c527ac3ea
Component: engine
2016-07-13 18:39:30 +00:00
Kenfe-Mickael Laventure 8a49e1f925 Fix data race in libcontainerd
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
Upstream-commit: 8e9fbc8f5fc5759eb7f26ec998f227994ff6c642
Component: engine
2016-07-13 10:04:42 -07:00
Vincent Demeester b43802545b Merge pull request #24565 from thaJeztah/fix-node-inspect-formatting
docs: fix output of node inspect
Upstream-commit: 1dbe3f6e89e68e9f5cc8839dacc4f10281db1ead
Component: engine
2016-07-13 18:57:05 +02:00
Sebastiaan van Stijn 86fb23db37 Remove dead code for "inspect --pretty"
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: 4d87f9083bfb3147566997b3f48c4805229f7c94
Component: engine
2016-07-13 18:56:02 +02:00
Sebastiaan van Stijn bb985637e2 Remove shorthand flags for "mount", "pretty", and "no-resolve"
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: 7bf0faf42377a91a8535b443201d9ad62326889b
Component: engine
2016-07-13 18:47:29 +02:00
Daniel Nephin 04bb13f6d7 Merge service command and args as a string.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
Upstream-commit: 674d227445887ea2f9a0fde6ebb7838bcce58578
Component: engine
2016-07-13 12:31:16 -04:00
Daniel Nephin e8f40d4fed Vendor go-shlex.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
Upstream-commit: 3464589c2aceb60972cdee14f57e0f41bcc8e327
Component: engine
2016-07-13 12:20:50 -04:00
Arnaud Porterie f08872faee Merge pull request #24525 from vdemeester/24196-remove-command-flag-on-service-update
Remove --command flag for service update
Upstream-commit: 58624acf11405c482ff0abbc9674cd5441ccce57
Component: engine
2016-07-13 16:01:11 +00:00
Sebastiaan van Stijn c1870c571b Don't set ulimits (nproc)
There is a not-insignificant performance overhead for all containers (if
containerd is a child of Docker, which is the current setup) if rlimits are
set on the main Docker daemon process (because the limits
propogate to all children).

We recommend using cgroups to do container-local accounting.

This applies the change added in 8db61095a3d0bcb0733580734ba5d54bc27a614d
to other init scripts.

Note that nfile cannot be set to unlimited, and the limit
is hardcoded to 1048576 (2^20) , see:
http://stackoverflow.com/a/1213069/1811501

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: 428d7337e808ec5f4dba1b0aceda002f295cc320
Component: engine
2016-07-13 17:15:19 +02:00
Vincent Demeester 1348489290 Remove --command flag for service update
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Upstream-commit: e4a024d5902df1d3db8b9fff8865304afa2305e6
Component: engine
2016-07-13 16:19:21 +02:00
Vincent Demeester 43a676799e Merge pull request #24573 from aboch/chkf
Vendoring libnetwork 905d374 and other fix
Upstream-commit: ee981bcc73f3089627e734f983c6685dc5040b1b
Component: engine
2016-07-13 16:15:59 +02:00