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
Nathan LeClaire
e143ef730c Log SSH client used
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-12-18 17:26:26 -08:00
French Ben
a8b5b4f2de bump to 0.9.5
Signed-off-by: French Ben <me+git@frenchben.com>
2015-12-18 17:13:56 -08:00
Ying Li
340a337c31 Merge pull request #378 from cyli/publish-delegations
Publishing delegation changes, and targets to delegations
2015-12-18 17:08:34 -08:00
Nathan LeClaire
204af9fe5e Merge pull request #2618 from dgageot/2189-update-b2d-cache-in-precreatecheck
Update b2d cache in PreCreateCheck
2015-12-18 16:51:56 -08:00
Ying Li
34055f8cf7 Code cleanups as per review, and after rebasing.
Signed-off-by: Ying Li <ying.li@docker.com>
2015-12-18 16:51:48 -08:00
Carol Fager-Higgins
b87361fc1a changed date on RN to reflect delayed shipping
Signed-off-by: Carol Fager-Higgins <carol.fager-higgins@docker.com>
2015-12-18 16:38:31 -08:00
Ying Li
0892ebb13f Add checks to TUFRepo to fail on updating a target if there are no signing keys.
So UpdateDelegation, DeleteDelegation, AddTargets, RemoveTargets now
all check for the role existence, not metadata existence.  And they
also check the role's signing keys - there's no point in adding if
we can't sign.

Signed-off-by: Ying Li <ying.li@docker.com>
2015-12-18 16:37:24 -08:00
Ying Li
a1cbe5d43c Add test for, and fix bug with, publishing a bare repo not sending the targets file.
It should always be published the first time, like the root.json.

Signed-off-by: Ying Li <ying.li@docker.com>
2015-12-18 16:37:24 -08:00
Ying Li
c12958af36 Do not sign the actual targets metadata unless it's dirty.
Previously we were always signing it, but we can't do that anymore
because then delegated users won't be able to publish ever (they
probably don't have the target key).

Some other related changes: when role keys are rotated, that role
needs to be marked as dirty now in order to be re-signed and
published.

Signed-off-by: Ying Li <ying.li@docker.com>
2015-12-18 16:37:24 -08:00
Ying Li
7592a029ef Do not create the delegation metadata when the delegation is created.
Only create it when a target is added to it, or other delegations
are added to it, or when getting a child delegation.

Signed-off-by: Ying Li <ying.li@docker.com>
2015-12-18 16:37:24 -08:00
Ying Li
f1761afc25 Fallback on the parent role if the role to add a target to doesn't exist.
Signed-off-by: Ying Li <ying.li@docker.com>
2015-12-18 16:37:24 -08:00
Ying Li
3ecba24410 When publishing, also publish all the dirty targets roles.
This is in addition to the canonical targets role, which always gets
re-signed and publish (we may want to revisit this later).

This makes some tests pass - still need to do fallback of roles
and publishing a created delegation role without necessarily
having the signing key for that role.

Signed-off-by: Ying Li <ying.li@docker.com>
2015-12-18 16:37:24 -08:00
Ying Li
9f04ca66f7 Add tests for publishing targets to delegations, and delegations themselves.
This involved a refactor test helper function assertPublishSucceeds to
take roles and expected published-to-roles.

Signed-off-by: Ying Li <ying.li@docker.com>
2015-12-18 16:37:24 -08:00
David Lawrence
28128c28af Merge pull request #379 from endophage/delegated_paths
the empty string should be used in delegation Paths to indicate a role can sign everything
2015-12-18 16:29:07 -08:00
Stephen Day
ed3346eeb0 Merge pull request #1068 from aaronlehmann/manifest-proposal
docs/spec: Proposal for new manifest format
2015-12-18 16:25:14 -08:00
Nathan LeClaire
ecfe9a18bf Merge pull request #2627 from dgageot/2626-windows-version-non-english
FIX #2626 Retrieve windows version on non-english OS
2015-12-18 16:16:41 -08:00
Nathan LeClaire
932c4a2d27 Merge pull request #2629 from dgageot/2617-check-hostonlyif-after-its-creation
FIX #2617 Check hostonlyif after its creation
2015-12-18 16:15:26 -08:00
David Lawrence
d3a54cab25 the empty string should be used in delegation Paths to indicate a role can sign anything
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-12-18 16:10:43 -08:00
Alexander Morozov
58ebc71272 Merge pull request #18763 from calavera/fix_raw_inspect
Print the raw inspected elements when there is no template for `docker inspect`.
2015-12-18 15:25:38 -08:00
David Calavera
54f945994a Merge pull request #18651 from vbatts/dm-cleanup
loopback (and devicemapper) cleanup
2015-12-18 15:13:28 -08:00
Nathan LeClaire
df8faf56cb Merge pull request #2609 from jeanlaurent/vbox.log
Add vbox.log to crashreport
2015-12-18 14:09:18 -08:00
Sebastiaan van Stijn
9eabcaef99 Update rules for adding/removing maintainers and holidays
This adds new rules to the maintainers file to clarify
the way maintainers are added and removed from the list.

Also removed the "holidays" rule, which is not used
in practice.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2015-12-18 21:48:41 +01:00
DJ Enriquez
8108539037 Relocating documentation to s3 storage-driver doc
Since the CloudFront middleware does not work without an S3 backend, it
became obvious that this documentation should exist within the S3
storage-driver documentation.

Signed-off-by: DJ Enriquez <dj.enriquez@infospace.com>
2015-12-18 12:48:13 -08:00
David Lawrence
547a17c96b Merge pull request #368 from endophage/download_everything
download all delegated roles when doing downloadTargets
2015-12-18 12:35:17 -08:00
Aditi Rajagopal
278e75800c pkg/version.Version: use the new String() method
Resolves #18750

Signed-off-by: Aditi Rajagopal <arajagopal@us.ibm.com>
2015-12-18 15:29:32 -05:00
Aaron Lehmann
2e3f4934a7 docs/spec: Proposal for new manifest format
This is a follow-on to PR #62, and it borrows much of the format
from #993, but uses specific formats for the image manifest and manifest
list (fat manifest) instead of a combined generic format.

The intent of this proposed manifest format is to allow multi-arch, and
allow for full content-addressability of images in the Docker engine.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2015-12-18 12:26:02 -08:00
Antonio Murdaca
92605b823d Merge pull request #18761 from anusha-ragunathan/add-build-routes
Create build router separate from image router.
2015-12-18 21:09:43 +01:00
DJ Enriquez
4a9f6c7975 Applying recommended changes
- Corrected headings
- Added blank line after headings
- Changed example snippet to use `...`

Signed-off-by: DJ Enriquez <dj.enriquez@infospace.com>
2015-12-18 11:56:48 -08:00
David Lawrence
d49228ad70 fixing copy paste bad var name
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-12-18 11:54:01 -08:00
Carol Fager-Higgins
22ed6876c2 first draft of RNs, swift documentation to config doc, moved stuff to prior rn
edited cron fixes in RN
edited cron jobs to reflect updates
typo in RN
mentioned users can use 3 parameters to GC
added links to FQDM and upgrade docs
small fixes in GC doc. want to add 2 graphics on line 28
reordered numbering and removed DTR refs
fixed typos
fixed link
removed broken link per https://docker.atlassian.net/browse/DTR-1595
removed another broken link
added two more RN issues for RC2
tweaks to GC
tweaking code in gc doc
added another issue to RNs
minor changes, and adding daemon parameters but need review
added daemon parameters to limit dupe logs

Signed-off-by: Carol Fager-Higgins <carol.fager-higgins@docker.com>
2015-12-18 11:47:15 -08:00
David Lawrence
882df3d429 downloadTargets should continue on ErrMissingMeta, not ErrMetaNotFound. ErrMetaNotFoudn will ocurr when we expect to find the data and don't. ErrMissingMeta indicates it's not in the snapshot and that's OK for targets delegations (technically it's OK for the targets role too, indicating simply an empty repository with lazy targets file creation).
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-12-18 11:33:50 -08:00
David Lawrence
a2a4870512 adding comment about priority ordering and updating test for ListTargets with delegates to hit default no roles passed case
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-12-18 11:21:12 -08:00
David Calavera
6ee7c94263 Merge pull request #18727 from tonistiigi/partial-load
Add support for partial load
2015-12-18 11:10:55 -08:00
Isabel Jimenez
de0e67f571 Merge pull request #1554 from ezrasilvera/mesosFixLock
Change the scheduler lock in Mesos cluster
2015-12-18 10:20:29 -08:00
Vincent Demeester
b714e03fdd Merge pull request #18771 from runcom/authz-fixes-1
authZ: more fixes
2015-12-18 17:58:02 +01:00
Tibor Vass
7f62d311bd Merge pull request #18773 from runcom/rej-gitignore
.gitignore: do not ignore *.rej
2015-12-18 17:48:36 +01:00
David Gageot
dd379d33c8 FIX #2617 Check hostonlyif after its creation
Signed-off-by: David Gageot <david@gageot.net>
2015-12-18 17:44:52 +01:00
Aanand Prasad
12a08255b5 Merge pull request #2554 from aanand/clarify-rm-behaviour
Clarify behaviour of 'rm'
2015-12-18 16:42:05 +00:00
Vincent Demeester
64d70de0a2 Merge pull request #18721 from tiborvass/remove-dependencies-from-builder
Remove image and daemon dependencies from builder
2015-12-18 17:19:55 +01:00
Antonio Murdaca
fa7d676891 .gitignore: do not ignore *.rej
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2015-12-18 17:12:54 +01:00
Phil Estes
1ca6690b4f Merge pull request #18561 from hqhq/hq_adapt_at_start
Adapt container settings when start
2015-12-18 11:07:43 -05:00
Vincent Batts
af59752712 loopback: separate loop logic from devicemapper
The loopback logic is not technically exclusive to the devicemapper
driver. This reorganizes the code such that the loopback code is usable
outside of the devicemapper package and driver.

Signed-off-by: Vincent Batts <vbatts@redhat.com>
2015-12-18 10:57:43 -05:00
Vincent Batts
a292c04c01 devicemapper: remove unused type mapping
Signed-off-by: Vincent Batts <vbatts@redhat.com>
2015-12-18 10:44:06 -05:00
Brian Goff
b708a2249b Merge pull request #18730 from calavera/remove_sockets_dependency
Remove api client lib dependency on tlsconfig and sockets packages.
2015-12-18 10:35:51 -05:00
Antonio Murdaca
5a64c8027e authZ: more fixes
- fix naming and formatting
- provide more context when erroring auth
- do not capitalize errors
- fix wrong documentation
- remove ugly remoteError{}

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2015-12-18 16:29:01 +01:00
David Gageot
39694f1ab4 FIX #2626 Retrieve windows version on non-english OS
Signed-off-by: David Gageot <david@gageot.net>
2015-12-18 16:28:46 +01:00
Antonio Murdaca
47060efdb7 Merge pull request #18741 from WeiZhang555/debug-info
Better debug message for post form data
2015-12-18 16:06:07 +01:00
David Gageot
ac45f88ce3 Don't create the VM if no hardware virtualization
Signed-off-by: David Gageot <david@gageot.net>
2015-12-18 12:27:04 +01:00
Jean-Laurent de Morlhon
fbf97b7c73 Merge pull request #2610 from jeanlaurent/detect-shell
Enhance shell detection in `env` command
2015-12-18 12:19:46 +01:00
Jean-Laurent de Morlhon
fd25762c05 Add vbox.log to crashreport
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2015-12-18 12:17:32 +01:00