1
0
mirror of https://github.com/docker/docs.git synced 2026-11-05 00:14:17 +03:00
Commit Graph

47845 Commits

Author SHA1 Message Date
David Gageot
181a1d47b4 The generic driver shouldn't support kill since stop is not supported
Signed-off-by: David Gageot <david@gageot.net>
2015-12-22 11:46:59 +01:00
David Gageot
4bfd8ab4c1 Remove dead code in generic driver
Signed-off-by: David Gageot <david@gageot.net>
2015-12-22 11:46:14 +01:00
David Gageot
e7e72c37d6 FIX #2655 Add quotes to the eval cmdline if there are spaces in the path
Signed-off-by: David Gageot <david@gageot.net>
2015-12-22 11:34:33 +01:00
David Gageot
1c6ceed28e Fix Restart() for some drivers
Signed-off-by: David Gageot <david@gageot.net>
2015-12-22 10:32:57 +01:00
Neil Wilson
c045ceec1e Change host restart to use the driver implementation
Fixes #2140

Signed-off-by: Neil Wilson <neil@aldur.co.uk>
2015-12-22 10:31:34 +01:00
Jean-Laurent de Morlhon
acf2d1da4c Merge pull request #2652 from kaustavha/kaustavha/fix/Makefile
fix(Makefile): Prevent makefile from using containers when $USE_CONTAINERS=false
2015-12-22 09:57:17 +01:00
Jean-Laurent de Morlhon
5ee9dfdc94 Merge pull request #2649 from dgageot/2540-honor-engine-install-url
FIX #2540 provisioners honor engine-install-url
2015-12-22 09:53:40 +01:00
Jean-Laurent de Morlhon
f2ca6b8bd0 Merge pull request #2651 from synhaptein/patch-1
Update aws.md
2015-12-22 09:49:24 +01:00
Ying Li
66384edfc3 Add some more publishing tests.
Signed-off-by: Ying Li <ying.li@docker.com>
2015-12-22 00:44:50 -08:00
Ying Li
dcef24996e Add more delegation writing/publishing tests.
Signed-off-by: Ying Li <ying.li@docker.com>
2015-12-22 00:23:32 -08:00
Victor Vieux
a2380a6c71 update godeps
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-12-22 00:20:04 -08:00
Victor Vieux
be0fce961f update code
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-12-22 00:20:04 -08:00
Qiang Huang
8498ed73f7 Move OomKillDisable to resource
1. It's a cgroup api, fit the general defination that we take
cgroup options as kind of resource options.
2. It's common usage and very helpful as explained here:
https://github.com/docker/docker/pull/18270#issuecomment-160561316
3. It's already in `Resource` struct in
daemon/execdriver/driver_unix.go

Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
2015-12-22 16:08:04 +08:00
Victor Vieux
c11d4fe82c fix stable tests
Signed-off-by: Victor Vieux <vieux@docker.com>
2015-12-22 00:03:59 -08:00
Ma Shimiao
673f2b8697 upate TestRunWithBlkioInvalidWeightDevice with clearly invalid device name
Signed-off-by: Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
2015-12-22 12:43:42 +08:00
Aaron Lehmann
9d6acbee92 When a manifest is not found, allow fallback to v1
PR #18590 caused compatibility issues with registries such as gcr.io
which support both the v1 and v2 protocols, but do not provide the same
set of images over both protocols. After #18590, pulls from these
registries would never use the v1 protocol, because of the
Docker-Distribution-Api-Version header indicating that v2 was supported.

Fix the problem by making an exception for the case where a manifest is
not found. This should allow fallback to v1 in case that image is
exposed over the v1 protocol but not the v2 protocol.

This avoids the overly aggressive fallback behavior before #18590 which
would allow protocol fallback after almost any error, but restores
interoperability with mixed v1/v2 registry setups.

Fixes #18832

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2015-12-21 18:19:38 -08:00
Olivier Gambier
9604f0843d Merge pull request #1290 from BrianBland/crossPackageCoverage
Enables cross-package code coverage reporting
2015-12-21 17:49:45 -08:00
kaustav haldar
302044858b fix(Makefile): Prevent makefile from defaulting to using containers if use_containers=false
Signed-off-by: kaustav haldar <hi@kaustav.me>
2015-12-21 17:30:30 -08:00
Brian Bland
aaab336edc Enables cross-package code coverage reporting
Signed-off-by: Brian Bland <brian.bland@docker.com>
2015-12-21 17:09:38 -08:00
Sebastiaan van Stijn
814ce44d5a Don't build Darwin 32-bit binaries
The last 32-bit OS X computers were built in 2006,
so we probably don't need these anymore.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2015-12-22 00:08:18 +01:00
Sebastiaan van Stijn
312c82677b Merge pull request #15879 from Mashimiao/add-support-blkio_throtte_iops
Add support for blkio read/write iops device
2015-12-21 23:45:18 +01:00
Vincent Demeester
eff810aed6 Merge pull request #18809 from thaJeztah/EOL-ubuntu-15.04-vivid
Remove Ubuntu 15.04 (Vivid) from DEB build for 1.10 as it will be EOL
2015-12-21 22:02:18 +01:00
Philippe L'Heureux
f6a67ef9c2 Update aws.md
--amazonec2-use-private-address wasn't documented

Signed-off-by: Philippe L'Heureux <philippe@ejenio.com>
2015-12-21 15:08:29 -05:00
James Carey
1b010516d0 Use of checkers in docker_cli_pull_test.go
Signed-off-by: James Carey <jecarey@us.ibm.com>
2015-12-21 14:04:38 -06:00
Olivier Gambier
c56d49b111 Merge pull request #1289 from BrianBland/codecov
Adds codecov coverage reporting to circle.yml
2015-12-21 11:41:12 -08:00
Brian Bland
dd0d28d541 Adds codecov coverage reporting to circle.yml
Signed-off-by: Brian Bland <brian.bland@docker.com>
2015-12-21 10:55:49 -08:00
Brian Goff
8537501ebd Merge pull request #18811 from runcom/fix-volume-debug
volume: store: store.go: fix debug message
2015-12-21 13:18:39 -05:00
Antonio Murdaca
23a18b5f93 volume: store: store.go: remove debug message
When driver is `local` an empty string is given to the debug message.
This patch removes the debug statement.

```
Dec 20 19:07:01 localhost.localdomain docker[19734]:
time="2015-12-20T19:07:01.872021857+01:00" level=debug msg="Registering
new volume reference: driver , name
c2291b964b4d7b1b51ec51d2ccfe2544f83fd23404709225a43743c5faadad55"
```

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2015-12-21 19:14:27 +01:00
Alexander Morozov
1a8e8f2967 Merge pull request #18830 from calavera/tls_verify_godoc
Add godoc comment about client tls verification.
2015-12-21 10:02:32 -08:00
David Calavera
88c4d4a943 Merge pull request #18828 from albers/completion-plugins
Use computed plugin lists in bash completion
2015-12-21 09:57:48 -08:00
Alexander Morozov
42460b6772 Merge pull request #17692 from vdemeester/images-format
Add --format support to images command
2015-12-21 09:57:29 -08:00
David Calavera
4e2c0f385c Add godoc comment about client tls verification.
Signed-off-by: David Calavera <david.calavera@gmail.com>
2015-12-21 12:55:37 -05:00
David Calavera
af94f941df Remove IsPaused from backend interface.
Move connection hijacking logic to the daemon.

Signed-off-by: David Calavera <david.calavera@gmail.com>
2015-12-21 12:34:21 -05:00
Harald Albers
2033c09705 Use computed plugin lists in bash completion
Signed-off-by: Harald Albers <github@albersweb.de>
2015-12-21 18:30:23 +01:00
Sebastiaan van Stijn
f4ea3b2cb1 Merge pull request #17428 from ripcurld00d/cli_ninja_build
Change the quiet flag behavior in the build command [closes #17623]
2015-12-21 17:59:16 +01:00
Arnaud Porterie
b4cb02bf89 Merge pull request #42 from thaJeztah/add-maintainer-rules
Update rules for adding/removing maintainers and holidays
2015-12-21 08:41:52 -08:00
Vincent Demeester
34a3c3cacf Add --format support to images command
- rename `api/client/ps` to `api/client/formatter`
- add a a image formatter

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2015-12-21 17:38:07 +01:00
Daniel Nephin
ea8cc1c3dc Merge pull request #2562 from thaJeztah/update-links
Update links
2015-12-21 08:31:39 -08:00
Jean-Laurent de Morlhon
01873fe22d Merge pull request #2638 from schlosna/bugfix/bash-wrapper
Fix bash docker-machine wrapper
2015-12-21 17:24:29 +01:00
Jean-Laurent de Morlhon
ed12b42ca0 Merge pull request #2646 from dgageot/2643-scp-without-ssh-key
FIX #2643 Ignore empty ssh key
2015-12-21 17:16:22 +01:00
Jean-Laurent de Morlhon
6e8aaa0d56 Merge pull request #2645 from dgageot/2370-add-feedback
FIX #2370 add feedback to the user
2015-12-21 17:08:07 +01:00
Jean-Laurent de Morlhon
cd6690ccd5 Merge pull request #2647 from dgageot/windows-version
Try multiple commands to find windows version
2015-12-21 17:06:00 +01:00
Jean-Laurent de Morlhon
1815d0bb16 Merge pull request #2648 from dgageot/2641-do-custom-ssh-port
FIX #2641 Digital Ocean Custom SSH port
2015-12-21 17:01:24 +01:00
David Gageot
7b638738cc Try multiple commands to find windows version
Signed-off-by: David Gageot <david@gageot.net>
2015-12-21 16:19:01 +01:00
David Gageot
6f8a6dd272 FIX #2641 Digital Ocean Custom SSH port
Signed-off-by: David Gageot <david@gageot.net>
2015-12-21 16:16:33 +01:00
Boaz Shuster
60b4db7eb1 Change the quiet flag behavior in the build command
Right now, the quiet (-q, --quiet) flag ignores the output
generated from within the container.

However, it ought to be quiet in a way that all kind
of diagnostic output should be ignored, unless the build
process fails.

This patch makes the quiet flag behave in the following way:
 1. If the build process succeeds, stdout contains the image ID
    and stderr is empty.
 2. If the build process fails, stdout is empty and stderr
    has the error message and the diagnostic output of that process.

If the quiet flag is not set, then everything goes to stdout
and error messages, if there are any, go to stderr.

Signed-off-by: Boaz Shuster <ripcurld.github@gmail.com>
2015-12-21 16:38:50 +02:00
Aanand Prasad
a2d2915a64 Merge pull request #2547 from seguins/1125-docker-compose-create
Add docker-compose create command.
2015-12-21 14:20:56 +00:00
David Gageot
280f9c6cc6 FIX #2540 provisioners honor engine-install-url
Signed-off-by: David Gageot <david@gageot.net>
2015-12-21 15:07:43 +01:00
Sebastiaan van Stijn
67620bc028 Merge pull request #18820 from vdemeester/oups-fix-api-ps-unit-tests
Fix the api/client/ps unit tests.
2015-12-21 14:01:27 +01:00
David Gageot
d977ec73af FIX #2643 Ignore empty ssh key
Signed-off-by: David Gageot <david@gageot.net>
2015-12-21 12:55:29 +01:00