Daniel Nephin
09cd96c5ad
Partial refactor of UID/GID usage to use a unified struct.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-06-07 11:44:33 -04:00
Sebastiaan van Stijn
d2a83863ed
Merge pull request #33536 from aaronlehmann/silly-sprintfs
...
client: Use string concatenation instead of Sprintf
2017-06-07 11:34:37 +02:00
Akihiro Suda
cd2255a296
Merge pull request #33330 from coolljt0725/fix_sock_is_dir
...
Don't create source directory while the daemon is being shutdown, fix #30348
2017-06-07 12:37:08 +09:00
Tibor Vass
64bb445463
Merge pull request #33463 from mavenugo/ln-vin-1706
...
Vendoring libnetwork 2e99f06621c23a5f4038968f1af1e28c84e4104e
2017-06-06 20:24:17 -07:00
Victor Vieux
18ce8ce33f
Merge pull request #33547 from vieux/report-2017-06-05
...
Moby Dev Report 2017 06 05
2017-06-06 18:56:15 -07:00
Victor Vieux
7a295b0333
Moby report 2017-06-05
...
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2017-06-06 18:53:09 -07:00
Yong Tang
54dacaf23e
Merge pull request #29427 from yongtang/29325-cleanup-btrfs-quota-groups
...
Remove btrfs quota groups after containers destroyed
2017-06-06 12:51:00 -07:00
Kenfe-Mickaël Laventure
f502499647
Merge pull request #33524 from dnephin/fix-onbuild-copy-cache
...
[Builder] Fix Cache with ONBUILD
2017-06-06 10:44:57 -07:00
Daniel Nephin
f1ade82d82
Fix Cache with ONBUILD
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-06-06 10:52:29 -04:00
Vincent Demeester
84149ac17d
Merge pull request #33516 from shishir-a412ed/remove_auth_config
...
Remove dead code: GetAuthConfig
2017-06-06 14:20:19 +02:00
Sebastiaan van Stijn
8b1adf55c2
Merge pull request #33471 from Snorch/sysconf-nrprocessors-onln-errno
...
Do not treat C.sysconf(C._SC_NPROCESSORS_ONLN) non-zero errno as error
2017-06-06 10:22:41 +02:00
Tonis Tiigi
0477bc4587
Add builder dev report for 2017-06-05
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-06-05 18:18:32 -07:00
Brian Goff
c8141a1fb1
Merge pull request #32293 from moypray/save_delete
...
Fix delete a image while saving it, delete successfully but failed to save it
2017-06-05 09:55:56 -04:00
Vincent Demeester
34f1cd26b6
Merge pull request #33500 from dnephin/fix-onbuild-copy
...
Fix ONBUILD COPY
2017-06-05 11:48:57 +02:00
root
02a759fa96
Remove dead code: GetAuthConfig
...
Signed-off-by: Shishir Mahajan <shishir.mahajan3@gmail.com>
2017-06-05 00:40:47 +00:00
Akihiro Suda
7cf17f95f8
Merge pull request #33511 from vdemeester/remove-more-opts-runconfig
...
Remove some more `opts` from runconfig (not used anymore)
2017-06-04 13:17:05 +09:00
Akihiro Suda
cc5ab6e6d4
Merge pull request #33512 from vdemeester/clean-cli-required
...
Remove unused functions
2017-06-04 13:15:55 +09:00
Vincent Demeester
236a125c3a
Remove unused functions
...
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2017-06-03 15:19:10 -07:00
Vincent Demeester
b0226a890f
Remove some more opts
from runconfig (not used anymore)
...
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2017-06-03 15:07:33 -07:00
Sebastiaan van Stijn
df423d5793
Merge pull request #33502 from crosbymichael/bsd-opost
...
Set OPOST on bsd
2017-06-03 02:30:58 +02:00
Victor Vieux
b28cbed66d
Merge pull request #33477 from dnephin/move-builder-pkgs
...
Split and remove pkg/gitutils and pkg/httputils
2017-06-02 17:07:45 -07:00
Sebastiaan van Stijn
56da020e6b
Merge pull request #33496 from Microsoft/jjh/removedummy
...
Windows: Correct comment
2017-06-03 01:07:26 +02:00
Daniel Nephin
3f26041577
Fix ONBUILD COPY
...
the source was missing from the second dispatch
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-06-02 17:47:03 -04:00
Kenfe-Mickaël Laventure
8420e7e7f5
Merge pull request #33483 from moypray/grpc_timeout
...
Limit max backoff delay to 2 seconds for GRPC connection
2017-06-02 14:22:10 -07:00
Daniel Nephin
b9d85ac58d
Move pkg/gitutils to remotecontext/git
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-06-02 16:54:50 -04:00
Daniel Nephin
4060d6ee0b
Remove the last of pkg/httputil
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-06-02 16:54:36 -04:00
Daniel Nephin
a6ac5495e1
Move an error helper to registry/session.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-06-02 16:10:40 -04:00
Daniel Nephin
65515af075
Move httputils/reasumablerequestreader to the single consumer.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-06-02 16:10:39 -04:00
Daniel Nephin
c91521be68
Move httputils/mimtype to the single consumser, and remove unused function.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-06-02 16:10:39 -04:00
Michael Crosby
17ec46a243
Set OPOST on bsd
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-06-02 12:53:49 -07:00
John Howard
6e33c4158c
Windows: Correct comment
...
Signed-off-by: John Howard <jhoward@microsoft.com>
2017-06-02 11:51:30 -07:00
Sebastiaan van Stijn
aebcdf21b1
Merge pull request #33438 from vdemeester/remove-cli-flags
...
Remove `cli/flags` package
2017-06-02 17:20:05 +02:00
Brian Goff
91e0141784
Merge pull request #33485 from tpot/33484-fix-file-perm-octal
...
Use octal values for file mode in filenotify poller and sysinfo_linux tests
2017-06-02 11:15:42 -04:00
Aaron Lehmann
44c9ccc069
client: Use string concatenation instead of Sprintf
...
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2017-06-02 14:01:57 +02:00
Wentao Zhang
d3d8c77d19
Limit max backoff delay to 2 seconds for GRPC connection
...
Docker use default GRPC backoff strategy to reconnect to containerd when
connection is lost. and the delay time grows exponentially, until reaches 120s.
So Change the max delay time to 2s to avoid docker and containerd
connection failure.
Signed-off-by: Wentao Zhang <zhangwentao234@huawei.com>
2017-06-02 18:19:09 +08:00
Aaron Lehmann
096eeb3e75
Merge pull request #33479 from vieux/move_multireader
...
move multireader out of /pkg
2017-06-02 12:04:57 +02:00
Aaron Lehmann
c0ed8f06d5
Merge pull request #33464 from cyli/mask-ca-key-formdata
...
Do not log the CA config CA signing key in debug mode.
2017-06-02 11:56:08 +02:00
Aaron Lehmann
7057f6fa0c
Merge pull request #33481 from tpot/33480-fix-assert-message
...
Fix incorrect assert message in TestReadProcBool
2017-06-02 11:52:29 +02:00
Sebastiaan van Stijn
9ff8068ca2
Merge pull request #33473 from thaJeztah/update-deprecated
...
Update deprecated.md for removal of --email flag
2017-06-02 08:57:21 +02:00
John Howard
57ca00240b
Merge pull request #33436 from Microsoft/jjh/parserdirective
...
Builder: Fix parser directive refactoring
2017-06-01 21:21:46 -07:00
Yong Tang
16328cc207
Persist the quota size for btrfs so that daemon restart keeps quota
...
This commit is an extension of fix for 29325 based on the review comment.
In this commit, the quota size for btrfs is kept in `/var/lib/docker/btrfs/quotas`
so that a daemon restart keeps quota.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2017-06-01 21:15:51 -07:00
Yong Tang
e907c6418a
Remove btrfs quota groups after containers destroyed
...
This fix tries to address the issue raised in 29325 where
btrfs quota groups are not clean up even after containers
have been destroyed.
The reason for the issue is that btrfs quota groups have
to be explicitly destroyed. This fix fixes this issue.
This fix is tested manually in Ubuntu 16.04,
with steps specified in 29325.
This fix fixes 29325.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2017-06-01 20:24:26 -07:00
Tim Potter
c35ea6b2cd
Use octal values for file mode in filenotify poller and sysinfo_linux tests
...
Closes #33484 .
Signed-off-by: Tim Potter <tpot@hpe.com>
2017-06-02 12:27:10 +10:00
Tim Potter
cd457e7885
Fix incorrect assert message in TestReadProcBool
...
Closes #33480 .
Signed-off-by: Tim Potter <tpot@hpe.com>
2017-06-02 10:15:58 +10:00
Victor Vieux
2445e6b99d
move multireader out of /pkg
...
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2017-06-01 16:22:00 -07:00
Vincent Demeester
986510951a
Merge pull request #33474 from mlaventure/test-with-actual-cli-version
...
Use actual cli version for TestConfigHTTPHeader
2017-06-01 16:18:04 -07:00
Sebastiaan van Stijn
872e28bb14
Merge pull request #33335 from cpuguy83/33334_check_unset_sig
...
Check signal is unset before using user stopsignal
2017-06-01 23:10:16 +02:00
Vincent Demeester
9ff9a91ab7
Remove cli/flags
package
...
- Moving the `common*.go` files in `cmd/dockerd` directly (it's the
only place it's getting used)
- Rename `cli/flags` to `cli/config` because it's the only thing left
in that package 👼
Now, `integration-cli` does *truly* not depend on `cobra` stuff.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2017-06-01 13:34:31 -07:00
Sebastiaan van Stijn
7ff205571f
Merge pull request #33446 from raja-sami-10p/pkg/platform
...
Increase the Coverage of pkg/platform
2017-06-01 19:14:15 +02:00
Tonis Tiigi
1e1ec2fbca
Add builder dev report for 2017-05-29
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-06-01 09:46:20 -07:00