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
e35b169139 Merge pull request #2441 from jeanlaurent/support-load-driver-error
Display driver in error without crashing
2015-12-02 18:42:09 +01:00
Jean-Laurent de Morlhon
f9f886f529 Display driver in error without crashing
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2015-12-02 18:27:21 +01:00
Anil Belur
22cacbf152 Fixes #2451 ensure filters <key> and <value> work when case-insensitive
Added unit tests to verify filters

Signed-off-by: Anil Belur <askb23@gmail.com>
2015-12-02 22:15:03 +05:30
Srini Brahmaroutu
50814a2bc0 fix the Dockerfile.gccgo for new dependency
Signed-off-by: Srini Brahmaroutu <srbrahma@us.ibm.com>
2015-12-02 16:44:07 +00:00
David Gageot
d7d6ca205a Merge pull request #2450 from askb/1931_full_disk
Fixes #1931 - config.json integrity when disk is full
2015-12-02 17:22:32 +01:00
Sebastiaan van Stijn
0f2986cee5 fix minor markup issues
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2015-12-02 17:21:06 +01:00
Zuhayr Elahi
0fb1845e95 Modified ubuntulinux.md for instructions to configure DNS for Ubuntu 15.04 or greater
modified note to provide a link for installation instructions on Ubuntu 15.04 or above

cleaned up typos for ubuntulinux.md

Signed-off-by: Zuhayr Elahi <elahi.zuhayr@gmail.com>
2015-12-02 17:21:05 +01:00
Jess Frazelle
fcccf2dae4 Merge pull request #18350 from duglin/Issue9798a
Deprecate -f flag from docker tag
2015-12-02 08:16:09 -08:00
Jess Frazelle
d9163e088e Merge pull request #18365 from estesp/clarify-error-messages
Differentiate integration test error messages
2015-12-02 08:14:53 -08:00
Jess Frazelle
e07769bc5a Merge pull request #18351 from LK4D4/fix_rm_race
Fix race between two ContainerRm
2015-12-02 08:13:52 -08:00
David Calavera
93d1dd8036 Make filtering a linear operation.
Improves the current filtering implementation complixity.
Currently, the best case is O(N) and worst case O(N^2) for key-value filtering.
In the new implementation, the best case is O(1) and worst case O(N), again for key-value filtering.

Signed-off-by: David Calavera <david.calavera@gmail.com>
2015-12-02 11:12:42 -05:00
Anil Belur
1a3c3898c1 Fixes #1931
Now this change ensures `config.json` is first written into a temp-file and
rename into the original file, if no errors from the FS. If ENOSPC occurs on write,
when the machine is restarted, the previous `config.json` is still available on startup.

Extended `TestStoreSave()` to check for any residual config files in the
machine directory.

Signed-off-by: Anil Belur <askb23@gmail.com>
2015-12-02 21:42:01 +05:30
David Gageot
df20cc4713 Merge pull request #2476 from jeanlaurent/0.5.0-compatibility
Fix for #2474 - docker-machine 0.5.1+ is incompatible with 0.5.0 drivers
2015-12-02 16:45:50 +01:00
Sebastiaan van Stijn
920a261839 update order and address review notes
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2015-12-02 16:38:51 +01:00
gwx296173
42d4eabeb2 add examples in search.md
Signed-off-by: gwx296173 <gaojing3@huawei.com>
2015-12-02 16:38:51 +01:00
Nalin Dahyabhai
800505729b Use -z,muldefs on arm,x86
Assume that the linker can make sense of us passing in the -z,muldefs
option to tell it to ignore symbol-multiply-defined errors triggered by
https://github.com/golang/go/issues/9510.  We should be able to stop
doing this once we move to Go 1.6.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com> (github: nalind)
2015-12-02 10:30:13 -05:00
Nalin Dahyabhai
0ca6d77e6e Revert "prevent journald from being built on ARM"
This reverts commit 6f6f10a75f, so that we
can apply a different workaround.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com> (github: nalind)
2015-12-02 10:30:13 -05:00
Jean-Laurent de Morlhon
225abe05fe Move heartbeat code after getversion
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2015-12-02 16:29:08 +01:00
Jean-Laurent de Morlhon
88f6fce204 Fix for #2474
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2015-12-02 16:29:08 +01:00
Phil Estes
3241b564a5 Differentiate integration test error messages
Makes it easier to debug in the future given three different docker run
executions were all outputting the same error string.

Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com> (github: estesp)
2015-12-02 10:25:00 -05:00
Sebastiaan van Stijn
8a350c5c7b Merge pull request #17822 from WeiZhang555/docs-isolation
Add docs for option `--isolation`
2015-12-02 16:18:15 +01:00
Dan Walsh
b3e527dfd2 This patch adds --tmpfs as a option for mounting tmpfs on directories
It will Tar up contents of child directory onto tmpfs if mounted over

This patch will use the new PreMount and PostMount hooks to "tar"
up the contents of the base image on top of tmpfs mount points.

Signed-off-by: Dan Walsh <dwalsh@redhat.com>
2015-12-02 10:06:59 -05:00
Wen Cheng Ma
08328cb703 Add NETWORK_NAME_or_ID value for --net= option
Signed-off-by: Wen Cheng Ma <wenchma@cn.ibm.com>
2015-12-02 22:49:35 +08:00
Zhang Wei
9daca1222a Consolidate time format for API
Consolidate all the API to same time format: RFC3339, and it will be
client's responsibility to present it in more user friendly way.

Signed-off-by: Zhang Wei <zhangwei555@huawei.com>
2015-12-02 22:40:18 +08:00
Zhang Wei
38ec5d86a3 Add docs for option --isolation
Add docs for `run`/`create`/`build` command option `isolation`

Signed-off-by: Zhang Wei <zhangwei555@huawei.com>
2015-12-02 22:24:33 +08:00
Phil Estes
db6c4c99d8 Merge pull request #18340 from runcom/move-defshmsize-to-daemon
Move defaultSHMSize in daemon pkg
2015-12-02 09:18:21 -05:00
Jean-Laurent de Morlhon
a8b7f74b88 Merge pull request #2477 from zchee/rename_xhyve_driver
Rename xhyve driver
2015-12-02 15:06:23 +01:00
Sebastiaan van Stijn
01c7368fba remove link to dev.dockerproject.com
it wasn't actively used, so better to remove references to it.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2015-12-02 14:32:23 +01:00
mqliang
519236b478 rename req to resp
Signed-off-by: mqliang <mqliang.zju@gmail.com>
2015-12-02 20:38:54 +08:00
Koichi Shiraishi
b0e0a564c9 Rename xhyve driver
Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>
2015-12-02 21:38:38 +09:00
HuKeping
9ad415e0b5 Tiny refactor
It's no need to keep the `err` after asserting it should be `nil`, and
we can merge these two logs into one I suppose.

Signed-off-by: Hu Keping <hukeping@huawei.com>
2015-12-02 19:22:56 +08:00
Mika Andrianarijaona
18a5bfba9b Fix #702 : Cmd+0 reopen Kitematic window in Mac
Signed-off-by: Mika Andrianarijaona <mika@tag-ip.com>
2015-12-02 14:21:58 +03:00
David Gageot
5ccd7f57e7 Merge pull request #2475 from dgageot/remove-flag
Remove redundant flag in integration tests
2015-12-02 12:07:51 +01:00
David Gageot
b356a2249e Remove redundant flag in integration tests
Signed-off-by: David Gageot <david@gageot.net>
2015-12-02 11:51:29 +01:00
David Gageot
3d55545ba7 Merge pull request #2404 from askb/2349_rm_confirm
2349 rm should ask for confirmation before proceeding
2015-12-02 11:50:22 +01:00
Antonio Murdaca
2969abc6c5 Move defaultSHMSize in daemon pkg
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2015-12-02 10:28:10 +01:00
Victor Vieux
7ba5bc7ab0 Merge pull request #1476 from jimenez/zk_tests
Zk tests
2015-12-01 23:59:24 -08:00
Isabel Jimenez
a250ded715 Adding zk tests for swarm-mesos integration
Signed-off-by: Isabel Jimenez <contact@isabeljimenez.com>
2015-12-02 02:40:09 -05:00
Isabel Jimenez
c86de629a8 godep update
Signed-off-by: Isabel Jimenez <contact@isabeljimenez.com>
2015-12-02 02:39:09 -05:00
Alexander Morozov
4d1007d75c Fix race between two ContainerRm
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-12-01 20:13:18 -08:00
Doug Davis
8d4fe141c4 Deprecate -f flag from docker tag
Closes #9798

@maintainers please note that this is a change to the UX. We no longer
require the -f flag on `docker tag` to move a tag from an existing image.
However, this does make us more consistent across our commands,
see https://github.com/docker/docker/issues/9798 for the history.

Signed-off-by: Doug Davis <dug@us.ibm.com>
2015-12-01 19:53:49 -08:00
Anil Belur
77fba72d13 Fixes #2349 - rm get user confirmation before proceeding further
* adds new flag `-y` prompting for user confirmation before removal
* Modified existing integration tests to work with the fix #2349.
* Added tests for checking user confirmation, updated the test cases use sub-shell with `|`
* Updated the reference docs for rm sub-command

incorporated changes by @dgageot, @jeanlaurent and @nathanleclaire

Signed-off-by: Anil Belur <askb23@gmail.com>
2015-12-02 09:17:33 +05:30
Qiang Huang
4089b4e440 Set default MemorySwappiness when adapt
It makes the inspect result consistent between cli and REST api
when MemorySwappiness is not set.

Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
2015-12-02 10:53:52 +08:00
Nathan LeClaire
650bd3384d Merge pull request #2448 from grampajoe/virtualbox-natdns
Add the --virtualbox-host-dns-resolver flag
2015-12-01 18:18:26 -08:00
Victor Vieux
5fe196d61f Merge pull request #1445 from dnephin/doc_filter_includes_stopped
Update filter docs
2015-12-01 18:13:42 -08:00
Joe Friedl
b2c9366245 Add the --virtualbox-host-dns-resolver flag
Signed-off-by: Joe Friedl <joe@joefriedl.net>
2015-12-01 21:03:51 -05:00
Daniel Nephin
f432b63fe3 Updates to swarm filters documentation
Support reloading of docs.

Adjust the titles in docs/scheduler.filter to be more descriptive.

Also moves the meta sections about constraints out from the container affinity section.

Add a note about stopped containers being used by filters to the docs.

Signed-off-by: Daniel Nephin <dnephin@gmail.com>
2015-12-01 17:49:25 -08:00
Alexandre Beslic
4fdcd3f903 Merge pull request #1477 from vieux/update_compose_1.5.1
update compose to 1.5.1
2015-12-01 17:38:59 -08:00
Stephen J Day
8aa3ee6923 storage: add further tests for Walk implementation
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-12-01 16:55:10 -08:00
Qiang Huang
1415f55cc0 Move security opt adaption to adapt function
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
2015-12-02 08:26:11 +08:00