acb222e554
Prune named but untagged images if danglingOnly=true
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com >
Upstream-commit: 044fa103095364b059dc60a7e589607a7af7ed45
Component: engine
2017-01-23 11:45:57 -08:00
bff0390b15
Merge pull request #30267 from WeiZhang555/fix-misspell
...
Fix some typos
Upstream-commit: a3dff7c3dbb949662be0037de0e51c00cfa68364
Component: engine
2017-01-19 15:06:08 +01:00
dbf5d89403
Merge pull request #30266 from albers/completion--init
...
Add bash completion for `dockerd --init` and `docker run|create --init`
Upstream-commit: ee54d8eb27037eb4232a144c7618f612f8a51cf6
Component: engine
2017-01-19 15:05:44 +01:00
2bccbd2e65
Merge pull request #30259 from nishanttotla/dynamically-update-hostname
...
Make Docker automatically update hostname for Swarm node
Upstream-commit: 5c808268801e90f95f1dd8bc4f70c3f0434d6cb4
Component: engine
2017-01-19 10:35:50 +00:00
377b3251ff
Fix some typos
...
Signed-off-by: Zhang Wei <zhangwei555@huawei.com >
Upstream-commit: 827bbe90a0fc53342a85d2653d96b8ba55658adf
Component: engine
2017-01-19 15:29:28 +08:00
56fef9c9c4
Add bash completion for dockerd --init and docker run|create --init
...
Fixes #30263
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 20762617572f2e02b8e397844343083506144e86
Component: engine
2017-01-19 08:22:14 +01:00
d6bce40c8a
Merge pull request #30218 from kevinetc123/patch-typo
...
fix a typo error
Upstream-commit: 7d0041f9e5dce58366a3ce09e75d82ce307cf28a
Component: engine
2017-01-19 14:34:19 +09:00
0bc7b63417
correct all the formate to formatter
...
Signed-off-by: kaiwentan <kaiwentan@harmonycloud.cn >
Upstream-commit: b8155bd5bead29bf116aeea9159563e1a6409c41
Component: engine
2017-01-19 11:26:49 +08:00
ce34ab60cd
Make Docker automatically update hostname for Swarm node
...
Signed-off-by: Nishant Totla <nishanttotla@gmail.com >
Upstream-commit: 8de8b1d520d4d60ccc813121f0c718b98efdc220
Component: engine
2017-01-18 15:55:53 -08:00
ae5b65a856
Merge pull request #30208 from justincormack/no-sqlite
...
Remove sqlite dependency
Upstream-commit: 0e8c7d72771847227df295471ac73180cbb3caa9
Component: engine
2017-01-18 13:15:38 -05:00
898356a3e3
Merge pull request #30185 from vdemeester/integration-build-cmd-cleanup-take2
...
[test-integration] Clean more build utils
Upstream-commit: e1c5e72902f1ec020fd7e179846d1faf06b281c6
Component: engine
2017-01-18 15:12:03 +01:00
140c56ac38
Merge pull request #28925 from daehyeok/ineffassign
...
Refactoring ineffectual assignments
Upstream-commit: 5eda0c59477a7364878351c3d311cd3a4c6dd28d
Component: engine
2017-01-18 15:01:57 +01:00
ecfeb35159
Remove sqlite
...
This drops support for migrations from pre-1.10 Docker versions, which
should be done via an external tool or an intermediate upgrade.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
Upstream-commit: f8119bb7a76b5c42defb6e0a2dc67bd77ad29a5e
Component: engine
2017-01-18 12:27:21 +00:00
52b418218f
Merge pull request #30041 from stevvooe/tips-for-successful-changes
...
CONTRIBUTING: add tips for succesful changes
Upstream-commit: 8bc7e193464b5b59a2019a4a429a48526f71bc40
Component: engine
2017-01-18 10:00:15 +01:00
9bc1ef59e1
Merge pull request #30230 from stupendous-man/fix-typos
...
Fixed a typo within pkg/authorization/api.go
Upstream-commit: 30ca9e3b0cfedddfe259c2d84a658b1eedc2cce1
Component: engine
2017-01-18 14:23:03 +09:00
9f4fb79889
Merge pull request #30215 from WeiZhang555/fix-go-vet
...
Fix escaped go vet error
Upstream-commit: d3245371176735763b0ef8a63609432586cdee3e
Component: engine
2017-01-18 12:48:22 +09:00
b1d58a6a62
Fixed a typo within pkg/authorization/api.go
...
Signed-off-by: Diego Romero <idiegoromero@gmail.com >
Upstream-commit: 48b8f54876ff3269db46443eb91adeab2ea8b74b
Component: engine
2017-01-17 21:51:16 -05:00
4173ac21ae
Merge pull request #30219 from tonistiigi/test-port-leak
...
Switch TestSwarmPublishDuplicatePorts to different ports
Upstream-commit: 56b951fbe526eeacaca434dbbabb59b07d3ba13e
Component: engine
2017-01-17 17:16:14 -08:00
67499ab5ac
Merge pull request #29076 from justincormack/seccomp-socket-to-them
...
Block obsolete and unusual socket families in the default seccomp profile
Upstream-commit: 48184351c938904236998b0f435f2dbc2a2c19f3
Component: engine
2017-01-18 01:53:17 +01:00
1a7bfab5ef
Merge pull request #30220 from ehazlett/fix-log-import
...
Remove cloudflare log import
Upstream-commit: 2169723538224563f998e002eef73377f007ad07
Component: engine
2017-01-17 14:21:36 -08:00
37ae130be7
Merge pull request #30212 from thaJeztah/here-come-the-captains
...
Welcome the captains :-)
Upstream-commit: 645bdc22ec120a6fb51bf74c8804536b0f7c7b55
Component: engine
2017-01-17 13:54:01 -08:00
dd7c3086b8
CONTRIBUTING: add tips for succesful changes
...
Expand the contributing doc to include tips for successful PRs and
guidance on commit messages. This should help contributers to have
better position PRs that are more likely to be merged.
Signed-off-by: Stephen J Day <stephen.day@docker.com >
Upstream-commit: 59e1d579e09b56cd909655fdefb405f0eb02b086
Component: engine
2017-01-17 13:15:26 -08:00
dad6f7464f
fix log import
...
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com >
Upstream-commit: e221b74bd192c83fe97c7581a135a7417cbc318c
Component: engine
2017-01-17 14:20:54 -05:00
85210563e9
Switch TestSwarmPublishDuplicatePorts to different ports
...
There is an issue with the ports leaking to other tests.
This is a workaround until the actual problem is addressed.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
Upstream-commit: 24cd5444f982fd295248006f44c6ec2f4ab7f1f8
Component: engine
2017-01-17 10:54:22 -08:00
c28bd5178d
Merge pull request #29965 from yongtang/29946-networks-api
...
Return `[]` instead of `null` in case `filterNetworks` returns empty
Upstream-commit: f19a293dd741583c66001799435f784f2af455e0
Component: engine
2017-01-17 18:58:35 +01:00
9c9701a340
Block obsolete socket families in the default seccomp profile
...
Linux supports many obsolete address families, which are usually available in
common distro kernels, but they are less likely to be properly audited and
may have security issues
This blocks all socket families in the socket (and socketcall where applicable) syscall
except
- AF_UNIX - Unix domain sockets
- AF_INET - IPv4
- AF_INET6 - IPv6
- AF_NETLINK - Netlink sockets for communicating with the ekrnel
- AF_PACKET - raw sockets, which are only allowed with CAP_NET_RAW
All other socket families are blocked, including Appletalk (native, not
over IP), IPX (remember that!), VSOCK and HVSOCK, which should not generally
be used in containers, etc.
Note that users can of course provide a profile per container or in the daemon
config if they have unusual use cases that require these.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
Upstream-commit: 7e3a596a63fd8d0ab958132901b6ded81f8b44c0
Component: engine
2017-01-17 17:50:44 +00:00
93133ecc78
Merge pull request #29930 from Microsoft/jjh/envdocs
...
Docs: Refresh run.md ENV paragraphs
Upstream-commit: 74bebcc1409e8bd5c37b2a116f4cecaea091d3ce
Component: engine
2017-01-17 18:03:08 +01:00
905b5b1fe9
Fix escaped go vet error
...
Find one escaped go vet error:
```
$ cd pkg/httputils/
$ go vet .
httputils_test.go:28: arg response for printf verb %q of wrong type:
*net/http.Response
```
You can also find it with
```
$ go vet github.com/docker/docker/pkg/httputils/
```
or
```
$ go vet ./...
```
Signed-off-by: Zhang Wei <zhangwei555@huawei.com >
Upstream-commit: 3551893f46316388add55ab7421e9614d85dc52e
Component: engine
2017-01-18 00:13:09 +08:00
103852ed51
Merge pull request #29759 from allencloud/purify-error-message-for-create-and-run
...
purify error message in cli for create and run command
Upstream-commit: 96815a7dc4a117d36ff3294c651b2384467c4024
Component: engine
2017-01-17 16:53:51 +01:00
24c705729b
Merge pull request #30209 from WeiZhang555/add-build-args-for-rpmbuild
...
Add missing ${DOCKER_BUILD_ARGS}
Upstream-commit: f63d1a6eec4771082bea86dfde013468dcca83f8
Component: engine
2017-01-17 15:52:10 +01:00
bdb483e4e4
Clean more build utils in integration cli
...
- Remove deprecated buildImage* functions
- Rename buildImageNew to buildImage
- Use *check.C in fakeContext* setup and in getIdByName
Signed-off-by: Vincent Demeester <vincent@sbr.pm >
Upstream-commit: c10f6ef43f884306eb3ef60b2d19fdc931cf34cc
Component: engine
2017-01-17 15:42:38 +01:00
051c1a4e96
daemon: remove graphdb usage
...
Signed-off-by: Alexander Morozov <lk4d4@docker.com >
Upstream-commit: b0f9958d932b52b94014eaf4148e6d103573cbfe
Component: engine
2017-01-17 13:52:48 +00:00
eec9aeaf16
Merge pull request #30094 from miaoyq/complete-opt-for-plugin-install
...
Complete the options for 'docker plugin install'
Upstream-commit: 8c7651998fcb41a73480f90aebe3ffadcb020d02
Component: engine
2017-01-17 14:40:31 +01:00
c052aabd0e
Merge pull request #30138 from vdemeester/integration-use-testenv
...
[test-integration] Use testEnv methods and remove most of the global variables
Upstream-commit: 4fdfcb36cd6ab3bdf78be522f43c0c2a2bd5c898
Component: engine
2017-01-17 14:31:49 +01:00
1e06c3581d
Merge pull request #29329 from thaJeztah/fix-fqdn-hostname
...
Add test for fqdn hostname not being set in container
Upstream-commit: 8518965d184ad82487e3513b57d8e6694b736d7f
Component: engine
2017-01-17 14:31:29 +01:00
21958a04e9
Add new curators to MAINTAINERS
...
The Docker Captains are going to assist in our
triage process! \o/ \o/
This change adds the captains to the maintainers
file as a curator.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
Upstream-commit: 57de634bf3d616cc7a4e89060a6e36105bfa5745
Component: engine
2017-01-17 14:31:24 +01:00
3b675a4101
Add missing ${DOCKER_BUILD_ARGS}
...
Add missing "${DOCKER_BUILD_ARGS}" for building rpm with `docker build`,
this is quite important when running `make rpm` behind http proxy.
Signed-off-by: Zhang Wei <zhangwei555@huawei.com >
Upstream-commit: 062ce13e9cc6a9eb8ea8ae6333ff1dcc915572c4
Component: engine
2017-01-17 20:10:48 +08:00
f7b8e381ec
Use testEnv methods and remove most of the global variables
...
Signed-off-by: Vincent Demeester <vincent@sbr.pm >
Upstream-commit: c8016e669f9507480745a441ba4cd735150ebb85
Component: engine
2017-01-17 12:39:08 +01:00
d22f6cdf4e
Merge pull request #30200 from albers/completion-build--squash
...
Add bash completion for `build --squash`
Upstream-commit: 9ebb90883e0ea981d6341537dc9f2b1451eda6cb
Component: engine
2017-01-17 12:07:00 +01:00
a6532984af
add integration test for FQDN hostname
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
Upstream-commit: 950792dc6d26b6ec6d62579ada57570acedcd0ee
Component: engine
2017-01-17 11:01:59 +01:00
2351cc0042
purify error message in cli for create and run command
...
Signed-off-by: allencloud <allen.sun@daocloud.io >
Upstream-commit: 3f1feaf4d66a7a8770a0eab4356106be2a18aacb
Component: engine
2017-01-17 17:21:17 +08:00
ebded88db1
fix the bare url and the Summary of http://semver.org
...
Signed-off-by: yupengzte <yupeng36@zte.com.cn >
Upstream-commit: 1f925d1d5cd4b6501ee67b04823f89625c664c29
Component: engine
2017-01-17 16:20:11 +08:00
a44db0ca35
Add bash completion for build --squash
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: e91dbba7ff62a92bd395bc419f522fa66618ae7b
Component: engine
2017-01-17 08:52:18 +01:00
ffb1102793
Merge pull request #30181 from albers/completion--filter-until
...
Add bash completion for `container|image|network prune --filter until`
Upstream-commit: a7c3389a8223449ed72d796b33a667e603811db8
Component: engine
2017-01-16 08:47:34 -08:00
a55818daf9
Merge pull request #30113 from thaJeztah/fix-autoremove-on-older-api
...
Don't use AutoRemove on older daemons
Upstream-commit: e74623d283111dc6492b1a97a8299a9377794b99
Component: engine
2017-01-16 08:40:00 -05:00
2292a0956f
Add bash completion for container|image|network prune --filter until
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 217786423cfab26b4d7370f5cc1f4da9f4ca3c1e
Component: engine
2017-01-16 10:47:52 +01:00
58253ac5ca
Merge pull request #30058 from vdemeester/integration-build-cmd-clean
...
[test-integration] clean docker_cli_build_test.go
Upstream-commit: dcf1264f1cbf4c5af7450357fad027c9a910808d
Component: engine
2017-01-16 18:16:49 +09:00
485690f98a
Merge pull request #30163 from albers/completion-fix-hide-legacy-commands
...
Fix treatment of DOCKER_HIDE_LEGACY_COMMANDS in bash completion
Upstream-commit: fd0ea7693143b1eecf3c6bba52e091f3f793af99
Component: engine
2017-01-16 10:01:44 +01:00
9f48176b5c
Merge pull request #30151 from tonistiigi/fix-defunct
...
Avoid defunct registry/notary processes during tests
Upstream-commit: ead8ce2431988170b8c89dbd8053d1824e9a919d
Component: engine
2017-01-16 08:55:16 +01:00
b41bc838ac
Merge pull request #30140 from mlaventure/remove-fifo-timeout
...
Remove timeout on fifos opening
Upstream-commit: 582c5b76529b8ae36be038df814ceaded697de14
Component: engine
2017-01-15 22:47:30 +01:00