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
Ying Li
2c7e632925 Amend rotation tests to assert old keys are removed after rotation.
Signed-off-by: Ying Li <ying.li@docker.com>
2015-12-14 17:44:28 -08:00
David Lawrence
79b05d4c0a changelists for delegations
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-12-14 17:23:47 -08:00
Dong Chen
13c2b60ca8 Update documentation for swarm join --delay option.
Signed-off-by: Dong Chen <dongluo.chen@docker.com>
2015-12-14 17:21:15 -08:00
Ying Li
ca1623e17b Update CLI rotate key command to optionally rotate a single key.
This makes it possible to delegate snapshots key management to the
server, and to reclaim the responsibility.

Signed-off-by: Ying Li <ying.li@docker.com>
2015-12-14 17:17:23 -08:00
Ying Li
2ce0232972 Refactor notary CLI keys cmds to use less globally mutable state.
This way we can test the command functions more easily.

Signed-off-by: Ying Li <ying.li@docker.com>
2015-12-14 17:17:23 -08:00
Ying Li
8521ea5b6d Convert NotaryRepository.RotateKeys to RotateKey(role, serverManages bool)
This should make it possible to delegate snapshot key management
to the server for existing repos, or switching back to user managing
snapshot keys.

Signed-off-by: Ying Li <ying.li@docker.com>
2015-12-14 17:17:23 -08:00
Dong Chen
2c029f9795 Change '--joindelay' to '--delay' since it's a join option.
Signed-off-by: Dong Chen <dongluo.chen@docker.com>
2015-12-14 17:00:34 -08:00
Dong Chen
db5c8aba7c Add a command line option for swam join delay.
Signed-off-by: Dong Chen <dongluo.chen@docker.com>
2015-12-14 17:00:34 -08:00
Dong Chen
36ca8ff63f Add a random delay to avoid synchronized registration at swarm join.
Signed-off-by: Dong Chen <dongluo.chen@docker.com>
2015-12-14 17:00:34 -08:00
Derek McGowan
a7e0968321 Add metadata function to layer store
Add function to get metadata from layer store for a mutable layer

fixes #18614

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2015-12-14 16:52:15 -08:00
Qiang Huang
f408b4f463 Adapt container settings when start
`adaptContainerSettings` is growing up, new it's only called
when create. It'll be a problem that old containers will never
have chance to adapt the latest rule. `HostConfig` of these
containers will be obsoleted.

Add this calling to start to avoid problems like #18550 and
avoid such backward compatability in the future.

Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
2015-12-15 08:42:26 +08:00
Jeffrey Morgan
f3f35ba0da Fix docker-machine shell out for status command
Signed-off-by: Jeffrey Morgan <jmorganca@gmail.com>
2015-12-14 16:35:50 -08:00
Victoria Bialas
074e323bfa minor updates to add Digital Ocean example heading and more links to driver plugin topics
Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
2015-12-14 16:29:41 -08:00
Jeffrey Morgan
7e1e9bb84f Bump versions
Signed-off-by: Jeffrey Morgan <jmorganca@gmail.com>
2015-12-14 16:14:34 -08:00
moxiegirl
9dc6ce8d0f Merge pull request #1474 from abronan/fix_license_grant
Fix Swarm project License grant and scope
2015-12-14 15:45:17 -08:00
Aaron Lehmann
31047c8113 Simplify digest.FromBytes calling convention
The current implementation of digest.FromBytes returns an error. This
error can never be non-nil, but its presence in the function signature
means each call site needs error handling code for an error that is
always nil.

I verified that none of the hash.Hash implementations in the standard
library can return an error on Write. Nor can any of the hash.Hash
implementations vendored in distribution.

This commit changes digest.FromBytes not to return an error. If Write
returns an error, it will panic, but as discussed above, this should
never happen.

This commit also avoids using a bytes.Reader to feed data into the hash
function in FromBytes. This makes the hypothetical case that would panic
a bit more explicit, and should also be more performant.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2015-12-14 14:30:51 -08:00
Ying Li
aa81b91ab4 Merge pull request #359 from docker/diogo-volumes
Adding a volume to MySQL container to ensure data persistence
2015-12-14 14:28:04 -08:00
Sebastiaan van Stijn
8970337f60 Merge pull request #18649 from albers/completion-daemon--authz-plugin
bash completion for `docker daemon --authz-plugin`
2015-12-14 23:13:21 +01:00
Vincent Demeester
87740d001c Merge pull request #18644 from calavera/remove_timeout_func_dependency_from_api_lib
Remove timeout shared function.
2015-12-14 23:05:29 +01:00
Victor Vieux
ed987b8d85 Merge pull request #1542 from jimenez/slave_to_agent
Name changing slave to agent
2015-12-14 13:57:31 -08:00
Sebastiaan van Stijn
a7e30a4ffb Merge pull request #18643 from tianon/apt-get-clean
Remove mention of "apt-get clean" as it's performed automatically
2015-12-14 22:54:17 +01:00
David Calavera
83b5729f64 Remove httputils dependency from API client lib.
Signed-off-by: David Calavera <david.calavera@gmail.com>
2015-12-14 16:48:59 -05:00
Sebastiaan van Stijn
2fdda583ec Merge pull request #1473 from abronan/typo_networking_doc
Typos networking doc
2015-12-14 22:44:44 +01:00
Alexandre Beslic
c8dd8d8b66 carry #1409, improve networking docs, remove duplicate link in discovery.md
Signed-off-by: Alexandre Beslic <abronan@docker.com>
2015-12-14 13:35:59 -08:00
Alexander Morozov
260cbb19c9 Merge pull request #18486 from aboch/vnd
Vendoring libnetwork bbd6e6d8ca1e7c9b42f6f53277b0bde72847ff90
2015-12-14 13:32:01 -08:00
Harald Albers
069fe81fa6 bash completion for docker daemon --authz-plugin
Signed-off-by: Harald Albers <github@albersweb.de>
2015-12-14 13:25:45 -08:00
Isabel Jimenez
18cccc521c renaming files + change on tests
Signed-off-by: Isabel Jimenez <contact@isabeljimenez.com>
2015-12-14 16:20:38 -05:00
Victor Vieux
81bf5bc067 Merge pull request #1538 from vitan/patch-1
Typo
2015-12-14 13:18:26 -08:00
Jessica Frazelle
bdde4b32a1 fix install script for ubuntu trusty
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2015-12-14 13:13:39 -08:00
Alexander Morozov
ecc3717cb1 Merge pull request #18612 from mrunalp/update_runc
Update runc/libcontainer to v0.0.6
2015-12-14 13:05:53 -08:00
Nathan LeClaire
c14770f395 Merge pull request #2576 from jeanlaurent/harden-test
Make integration test a bit more resilient
2015-12-14 13:00:40 -08:00
Tianon Gravi
226329e540 Remove mention of "apt-get clean" as it's performed automatically
Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
2015-12-14 12:50:44 -08:00
David Calavera
6e85d30f1b Merge pull request #18645 from sdurrheimer/zsh-completion-daemon-authz-plugin
Zsh completion daemon authz plugin
2015-12-14 12:50:14 -08:00
Doug Davis
6287ec9095 Add a DOCKER_API_VERSION env var
Closes: #11486

Just for @ahmetalpbalkan  :-)

Fixed some comment formatting too while in there.

Signed-off-by: Doug Davis <dug@us.ibm.com>
2015-12-14 12:45:34 -08:00
Steve Durrheimer
4ba173630a Fix small missing equal sign for 'docker daemon --cluster-store-opt'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2015-12-14 21:20:49 +01:00
Stephen Day
23e4099973 Merge pull request #1245 from carsonoid/carsonoid-nginx-doc-patch-2
Fix incorrectly interpolated config setting
2015-12-14 12:19:43 -08:00
Steve Durrheimer
76844d786b Add zsh completion for 'docker daemon --authz-plugin'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2015-12-14 21:16:54 +01:00
David Calavera
75d69ce0da Merge pull request #18637 from dnephin/move_auth_config
Move more api types to api/types package
2015-12-14 11:53:30 -08:00
Isabel Jimenez
60c15834da changing slave to agent
Signed-off-by: Isabel Jimenez <contact@isabeljimenez.com>
2015-12-14 14:46:56 -05:00
Phil Whelan
e895136580 typos
Signed-off-by: Phil Whelan <phil123@gmail.com>
2015-12-14 11:43:33 -08:00
Jess Frazelle
0c2dd27581 Merge pull request #18642 from tophj-ibm/add-z-unshare-image
Add unshare image to s390x Dockerfile
2015-12-14 11:32:27 -08:00
Sebastiaan van Stijn
94c0593c0b Merge pull request #1537 from moxiegirl/fix-1483
Chaning User guide to overview close #1483
2015-12-14 20:30:26 +01:00
David Calavera
9dc7d07fc1 Remove timeout shared function.
Handle timeouts when it's necessary based on a Timeout interface.

Signed-off-by: David Calavera <david.calavera@gmail.com>
2015-12-14 14:24:21 -05:00
Victor Vieux
bbbcd0e510 Merge pull request #1384 from dhiltgen/token_auth
Add token pass-thru for Authconfig
2015-12-14 11:22:10 -08:00
David Calavera
984282e28c Merge pull request #18639 from calavera/force_api_version
Force API versioning in the client library.
2015-12-14 11:20:12 -08:00
Jess Frazelle
03e2923e42 Merge pull request #18570 from suihkulokki/control-fix
hack/make/.build-deb/control: add missing fields
2015-12-14 10:41:56 -08:00
Jess Frazelle
b13fd10109 Merge pull request #18372 from Microsoft/jjh/winci-ensurefrozen
Windows CI Fix: No subshell due to bash 3.x
2015-12-14 10:32:53 -08:00
Christopher Jones
52e53814ea Add unshare image to s390x Dockerfile
This adds unshare image to Dockerfile.s390x

Signed-off-by: Christopher Jones <tophj@linux.vnet.ibm.com>
2015-12-14 12:16:18 -06:00
David Lawrence
fb5c9b28a4 low level tuf delegation primitives with full test coverage
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-12-14 10:11:47 -08:00
Jess Frazelle
c38aa60180 Merge pull request #18393 from qzio/apparmor/ptrace-ubuntu14
Enable ptrace in a container on apparmor below 2.9
2015-12-14 10:07:01 -08:00