Commit Graph

31121 Commits

Author SHA1 Message Date
Kenfe-Mickael Laventure 6efdf7963e Ensure health probe is stopped when a container exits
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
Upstream-commit: 04ae628ca55904a2768b4fec59a99803b6fe0850
Component: engine
2017-04-03 09:57:04 -07:00
Aaron Lehmann e84d96f81f Synchronous service create and service update
Change "service create" and "service update" to wait until the creation
or update finishes, when --detach=false is specified. Show progress bars
for the overall operation and for each individual task (when there are a
small enough number of tasks), unless "-q" / "--quiet" is specified.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
Upstream-commit: 330a0035334871d92207b583c1c36d52a244753f
Component: engine
2017-04-03 09:46:01 -07:00
Brian Goff 8796370b47 Merge pull request #32072 from coolljt0725/fix_log_dead
Fix docker logs a dead container
Upstream-commit: 9518a71ceff0f1aa9abada5b51cbac40f8e8c80e
Component: engine
2017-04-03 10:42:32 -04:00
Vincent Demeester a2c8d31405 Merge pull request #31989 from aaronlehmann/node-ps-outside-swarm-mode
cli: Wrong error message from "node ps" outside swarm mode
Upstream-commit: d9c3c1928d6089f0bc064cd0032b82505133231d
Component: engine
2017-04-03 16:15:24 +02:00
Vincent Demeester 5482d2a7f3 Merge pull request #30907 from Hyzhou/master
Add Aliyun mirror support to hack/install.sh
Upstream-commit: 9f17b97820912001a1bf7fd827a65b0298b4dd1f
Component: engine
2017-04-03 16:13:59 +02:00
Vincent Demeester ea6ce1829e Merge pull request #32307 from jlhawn/update_TestRmRestartingContainer
Fix Flakiness in TestRmRestartingContainer
Upstream-commit: 7f905908416bea18afa9708ac76e1a7d0cfe7b48
Component: engine
2017-04-03 15:48:19 +02:00
Sebastiaan van Stijn 1417b08e8d Merge pull request #32305 from albers/completion-secret-ls--format
Add bash completion for `secret ls --format`
Upstream-commit: 93955bd215642d52d691c68ab30c0c082ae9e92c
Component: engine
2017-04-03 15:43:12 +02:00
Antonio Murdaca 76455dae27 Merge pull request #32012 from cpuguy83/remove_uneeded_relabel
Remove undeeded and broken selinux relabel call
Upstream-commit: 2c68e026da302d3b768b026ab8946d2217e05b64
Component: engine
2017-04-03 15:25:23 +02:00
Vincent Demeester 694fa58dc1 Merge pull request #31889 from cpuguy83/all_the_pprof
Use generic handler for pprof profile lookups
Upstream-commit: 022552ac873939db018722cb4a2e8289c6927e5e
Component: engine
2017-04-03 15:14:12 +02:00
Vitaly Ostrosablin 291e5291fe Change TestExecUlimits to use nofile instead of nproc
Test used to check whether ulimits applied by docker are in effect by
setting up nproc. However, in some environments (e.g. inside Virtuozzo
Containers), number of processes is higher and testcase fails. Hence, we
instead change testcase to check ulimits by setting nofile limit instead
of nproc.

Signed-off-by: Vitaly Ostrosablin <vostrosablin@virtuozzo.com>
Upstream-commit: d4e132f84da72b5c2f2f63c95a8ca5cddabf8433
Component: engine
2017-04-03 10:43:43 +03:00
Josh Hawn 8939f52c95 Fix Flakiness in TestRmRestartingContainer
Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn)
Upstream-commit: e979cf74640213ffe4d883cb00adecb957056e9a
Component: engine
2017-04-02 17:45:30 -07:00
Harald Albers a3149edca7 Add bash completion for secret ls --format
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: f844e5731544e1d3910f993911b7c6cb6992a1ce
Component: engine
2017-04-02 15:32:33 -07:00
Sebastiaan van Stijn 9cde86d209 Merge pull request #32027 from sdurrheimer/zsh-completion-ps-format
Add zsh completion for 'docker {node,service,stack} ps --format'
Upstream-commit: 6311e9fc9d34bd874e1a6d197daef5c9c4d89791
Component: engine
2017-04-02 23:38:22 +02:00
Vincent Demeester 9230ef4691 Merge pull request #28723 from dattatrayakumbhar/filter-on-network-id
28722: List of containers with networkID filter is not working
Upstream-commit: 33aae7c5cc3b3689faaef39046cc6d2c6fcda4b6
Component: engine
2017-04-02 21:06:09 +02:00
Justin Cormack 6a9778f8bb Merge pull request #32279 from darrenstahlmsft/WindowsRestore
Windows: Wait to delete container when restoring
Upstream-commit: c526588c7906b00659c93195aae66accab07544d
Component: engine
2017-04-02 18:38:12 +01:00
Sebastiaan van Stijn 08931d138b Merge pull request #32265 from breuner/patch-1
Updated legacy_plugins.md to include BeeGFS plugin
(cherry picked from commit d0057bd12dae5276b83e931e9e9ea185c58486a2)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: 5df76be5086fe5fee747be85fc92a0bb3ae8dada
Component: engine
2017-04-02 12:27:54 +02:00
Vincent Demeester e14b82cb5f Merge pull request #32271 from krasi-georgiev/update-containerd-9048e5e50717ea4497b757314bad98ea3763c145
update containerd to 9048e5e50717ea4497b757314bad98ea3763c145
Upstream-commit: 16be0727930ef4b4683ab2d32ea60639a504d0e9
Component: engine
2017-04-02 11:02:08 +02:00
Victor Vieux 06b562ba1d add ehazlett and johnstep to random_assign
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
Upstream-commit: 4fe11d49ca464848ec5ab5550aa1f53260e410a7
Component: engine
2017-04-02 01:15:19 +02:00
Sebastiaan van Stijn 1156f2a813 Merge pull request #32282 from mstanleyjones/improve-attach-desc
Clarify meaning of docker attach
Upstream-commit: 571e4031685e730ba7cb0c49620e9f9580fdabc6
Component: engine
2017-04-01 20:52:26 +02:00
Sebastiaan van Stijn 5d994cf1a3 Merge pull request #32244 from Microsoft/jjh/panicfix
Windows - fix panic and stderr output when service
Upstream-commit: a96de091d644db1c31b699a7a22d9ef63b376560
Component: engine
2017-04-01 20:00:59 +02:00
徐俊杰 f82dd4d1b5 fix documentation error: volume-opt in service create
Signed-off-by: pacoxu<paco.xu@daocloud.io>
Signed-off-by: pacoxu <paco.xu@daocloud.io>
Upstream-commit: 775c66a58c620d9f1b469f9248a733b1d29f21c8
Component: engine
2017-04-01 11:54:09 +08:00
Victor Vieux e0362b90f0 Merge pull request #31022 from jmzwcn/issue30994
docker version output is not consistent when there are downgrades or incompatibilities #30994
Upstream-commit: 3dfce9fbb813511a0dbfea1fa3bc80a37e7072c4
Component: engine
2017-03-31 15:55:03 -07:00
Victor Vieux 1d7af76811 Merge pull request #31800 from ripcurld0/checkpoint_ls
Use formatter in docker checkpoint ls
Upstream-commit: e45483964fc26116afa754fc9defcf1ab1dbca26
Component: engine
2017-03-31 15:54:22 -07:00
Krasi Georgiev 6e6d76551e update criu to 2.12.1
Signed-off-by: Krasi Georgiev <krasi@vip-consult.solutions>
Upstream-commit: d1a0afacc25ad25600ea6851d3b002734725df7e
Component: engine
2017-04-01 00:54:28 +03:00
Misty Stanley-Jones aa11c20963 Clarify meaning of docker attach
Signed-off-by: Misty Stanley-Jones <misty@docker.com>
Upstream-commit: 1922eac4cc7190e1f3fa98796e7613c3e5b8b2bd
Component: engine
2017-03-31 13:22:21 -07:00
Kenfe-Mickaël Laventure 8ae037ac7f Merge pull request #31599 from ripcurld0/diff_cmd_format
Use formatter in docker diff
Upstream-commit: 3d31198cda7d1230415b37970172480b5190c1e3
Component: engine
2017-03-31 11:19:41 -07:00
Darren Stahl 8cd4fe0243 Wait to delete container when restoring on Windows
Signed-off-by: Darren Stahl <darst@microsoft.com>
Upstream-commit: dbdc8bbee4a26093e6342f93bb63a09fbe850f58
Component: engine
2017-03-31 10:59:00 -07:00
Vincent Demeester 43db0dfd5f Merge pull request #31183 from thaJeztah/log-upgrade-rollback-error
log error if restoring plugin fails
Upstream-commit: d57825cb1edaa5ef3833584ea09a87d282248685
Component: engine
2017-03-31 19:44:31 +02:00
Aaron Lehmann 60092c3889 Add support for UpToDate filter, for internal use
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
Upstream-commit: 91c86c7e26c40ff3e422adcdd88d1649dd9dbc9b
Component: engine
2017-03-31 10:01:32 -07:00
John Howard 75453ad8e7 Windows - fix panic and stderr
Signed-off-by: John Howard <jhoward@microsoft.com>
Upstream-commit: 141a83b820140fac130840b2a0ea9df75ab4e55d
Component: engine
2017-03-31 09:51:50 -07:00
Krasi Georgiev 6183c882a6 update containerd to 9048e5e50717ea4497b757314bad98ea3763c145
Signed-off-by: Krasi Georgiev <krasi@vip-consult.solutions>
Upstream-commit: a3c2ccacd08d4ff6717ea9bd1fb6ec3e0c1223c4
Component: engine
2017-03-31 19:47:05 +03:00
Vincent Demeester 2fe955c1d1 Merge pull request #31634 from AkihiroSuda/clarify-env-without-value
api: clarify that Env var without `=` is removed from the environment
Upstream-commit: 9f9cc221bdb0a919d6ed28bdfaffa9ae2fe3a5fd
Component: engine
2017-03-31 17:34:32 +02:00
Alfred Landrum 631fdf6cda Let graphdrivers declare diff stream fidelity
This allows graphdrivers to declare that they can reproduce the original
diff stream for a layer. If they do so, the layer store will not use
tar-split processing, but will still verify the digest on layer export.
This makes it easier to experiment with non-default diff formats.

Signed-off-by: Alfred Landrum <alfred.landrum@docker.com>
Upstream-commit: aa96c3176bf9dc6e14c6bbcf065ceb3a3870886a
Component: engine
2017-03-31 08:32:00 -07:00
Brian Goff 3f185ca5af Merge pull request #27565 from rothrock/env-by-regex
[splunk] Use a regex to match environment variables
Upstream-commit: 1325f667eeb42b717c2f9d369f2ee6d701a280e3
Component: engine
2017-03-31 10:46:48 -04:00
Sebastiaan van Stijn 78741ddf90 fix cleanup logic if restoring plugin fails
The "err" output variable was masked by the "if" statement,
so the error was never updated.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: 5d25195f29539b3f12fa8dbc802201f93805c1c4
Component: engine
2017-03-31 16:42:30 +02:00
dattatrayakumbhar04 b3bf6afbcc 28722: List of containers with networkID filter is not working
Signed-off-by: dattatrayakumbhar04 <dattatraya.kumbhar@gslab.com>
Upstream-commit: 59b70cdabe3b5f3592e40d241377c6a9f2127dfc
Component: engine
2017-03-31 08:57:09 +00:00
Vincent Demeester f66bd50c2b Merge pull request #28696 from jlhawn/deprecate_graph_flag
Deprecate --graph flag; Replace with --data-root
Upstream-commit: 1ecaed0a99331ff6140e0a714e1b50d466597775
Component: engine
2017-03-31 10:51:15 +02:00
Simon Ferquel a01023929b Fix behavior of absolute paths in .dockerignore
According to documentation (https://docs.docker.com/engine/reference/builder/#dockerignore-file), absolute paths like `/foo/bar` should have the same effect as `foo/bar`. This is not the case today.

This fix normalize paths when reading the .dockerignore file by removing
leading slashes.

Signed-off-by: Simon Ferquel <simon.ferquel@docker.com>
Upstream-commit: 1cde87c43abd100f4233e965e040e30a6bd34112
Component: engine
2017-03-31 10:43:59 +02:00
Vincent Demeester 6ede278af4 Merge pull request #32246 from aboch/vnd
Vendoring swarmkit @b74ec2b
Upstream-commit: 2a40b35629e23872ff516c2ab24f8f92b915393d
Component: engine
2017-03-31 10:33:57 +02:00
Sebastiaan van Stijn b0235f63ee Merge pull request #32236 from tonistiigi/fix-cmd-shell
builder: Fix setting command with custom shell
Upstream-commit: 05cd8bec321934797a3e3fb38b34cd4d3b89bddc
Component: engine
2017-03-31 03:26:28 +02:00
Alessandro Boch bff9e0001a Add ingress nw Test around consition which was panicing
Signed-off-by: Alessandro Boch <aboch@docker.com>
Upstream-commit: 4777fb6c6b1783de01d3dbeacc2d1af33f3fabc2
Component: engine
2017-03-30 16:12:48 -07:00
Alessandro Boch 214de28cc7 Vendoring swarmkit @b74ec2b
Signed-off-by: Alessandro Boch <aboch@docker.com>
Upstream-commit: 747f0b4ba52b25a4ede0d54cb1674f221ea3e2ed
Component: engine
2017-03-30 16:12:33 -07:00
Tonis Tiigi b4a1c08afc builder: Fix setting command with custom shell
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Upstream-commit: a1fa59ea123555a910c1de1f7b88b75000f2bec4
Component: engine
2017-03-30 13:29:21 -07:00
Sebastiaan van Stijn 69889bcffd Merge pull request #32222 from unclejack/small_cleanup
Small cleanup
Upstream-commit: 9c0473fa652307c842f0f16297c4a38d409dfb60
Component: engine
2017-03-30 21:09:39 +02:00
Steve Durrheimer 716dc85cd3 Add zsh completion for 'docker {node,service,stack} ps --format'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: 07908f456afcf97f237c47a8598937600bee3957
Component: engine
2017-03-30 21:07:03 +02:00
Sebastiaan van Stijn 27ec3a05d5 Merge pull request #32010 from dongluochen/swarmkit_vendor
vendor swarmkit 970b45afa1c9da9ed4b9c793669cedbb05ad3833
Upstream-commit: 2ce39de0c81a117a025a722f78da9cd61d7fdc1b
Component: engine
2017-03-30 17:24:33 +02:00
Evan Hazlett 890e256320 Merge pull request #32174 from KarthikNayak/32113
Dockerd: enable CORS when only `--api-cors-header` is used
Upstream-commit: 59aed5ab36b1b5b360aa230effbefd757e889329
Component: engine
2017-03-30 11:13:52 -04:00
Vincent Demeester 61743ec730 Merge pull request #32124 from vdemeester/system-inspect-secret
Add support for `--type=secret` in `docker inspect`
Upstream-commit: ee61f28cc37d78cd40943c37c24716e5a0a635d9
Component: engine
2017-03-30 17:01:57 +02:00
Brian Goff 0fef1812de Merge pull request #32225 from thaJeztah/remove-flag-constant
Remove constant for "config-file" flag
Upstream-commit: c94e0f5d02ce7b640360010e1877609da899e245
Component: engine
2017-03-30 10:05:07 -04:00
unclejack f23397c0c0 pkg/*: clean up a few issues
Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>
Upstream-commit: a23c456e5a136d65d02d66af398af1e3ce3a4081
Component: engine
2017-03-30 16:50:46 +03:00