Brian Bland
5df21570a7
Adds cross-repository blob mounting behavior
...
Extends blob upload POST endpoint to support mount and from query
parameters as described in #634
Signed-off-by: Brian Bland <brian.bland@docker.com>
2016-01-08 13:53:18 -08:00
Richard Scothern
cc0b6b86ea
Merge pull request #1276 from denverdino/oss-test
...
Support large layer for OSS driver
2016-01-08 13:26:09 -08:00
Richard Scothern
e5e0e2cc2a
Merge pull request #1276 from denverdino/oss-test
...
Support large layer for OSS driver
2016-01-08 13:26:09 -08:00
Stephen Day
c426367881
Merge pull request #1281 from aaronlehmann/new-manifest
...
Implement schema2 manifest formats
2016-01-07 17:19:56 -08:00
Stephen Day
a7ae88da45
Merge pull request #1281 from aaronlehmann/new-manifest
...
Implement schema2 manifest formats
2016-01-07 17:19:56 -08:00
Stephen Day
98fecde1c9
Merge pull request #911 from stevvooe/consistent-error-string
...
More consistent return from ErrorCode.Error()
2016-01-07 17:06:12 -08:00
Stephen Day
5ebf6391a7
Merge pull request #911 from stevvooe/consistent-error-string
...
More consistent return from ErrorCode.Error()
2016-01-07 17:06:12 -08:00
Aaron Lehmann
bbabb55ccb
Move MediaType into manifest.Versioned
...
This makes content type sniffing cleaner. The document just needs to be
decoded into a manifest.Versioned structure. It's no longer a two-step
process.
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2016-01-07 15:26:27 -08:00
Aaron Lehmann
6d17423a6d
Move MediaType into manifest.Versioned
...
This makes content type sniffing cleaner. The document just needs to be
decoded into a manifest.Versioned structure. It's no longer a two-step
process.
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2016-01-07 15:26:27 -08:00
Aaron Lehmann
fce65b72b3
Recognize clients that don't support manifest lists
...
Convert a default platform's manifest to schema1 on the fly.
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2016-01-07 15:26:27 -08:00
Aaron Lehmann
697af09566
Recognize clients that don't support manifest lists
...
Convert a default platform's manifest to schema1 on the fly.
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2016-01-07 15:26:27 -08:00
Aaron Lehmann
7ef71988a8
Add support for manifest list ("fat manifest")
...
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2016-01-07 15:26:27 -08:00
Aaron Lehmann
9c416f0e94
Add support for manifest list ("fat manifest")
...
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2016-01-07 15:26:27 -08:00
Aaron Lehmann
66a33baa36
Add API unit testing for schema2 manifest
...
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2016-01-07 15:26:26 -08:00
Aaron Lehmann
9284810356
Add API unit testing for schema2 manifest
...
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2016-01-07 15:26:26 -08:00
Aaron Lehmann
f14c6a4814
Recognize clients that don't support schema2, and convert manifests to schema1 on the fly
...
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2016-01-07 15:26:26 -08:00
Aaron Lehmann
3f746a8207
Recognize clients that don't support schema2, and convert manifests to schema1 on the fly
...
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2016-01-07 15:26:26 -08:00
Aaron Lehmann
9c13a8295f
Factor out schema-specific portions of manifestStore
...
Create signedManifestHandler and schema2ManifestHandler. Use these to
unmarshal and put the respective types of manifests from manifestStore.
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2016-01-07 15:26:26 -08:00
Aaron Lehmann
befd4d6e3c
Factor out schema-specific portions of manifestStore
...
Create signedManifestHandler and schema2ManifestHandler. Use these to
unmarshal and put the respective types of manifests from manifestStore.
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2016-01-07 15:26:26 -08:00
Aaron Lehmann
2ff77c00ba
Add schema2 manifest support
...
Add schema2 manifest implementation.
Add a schema2 builder that creates a schema2 manifest from descriptors
and a configuration. It will add the configuration to the blob store if
necessary.
Rename the original schema1 manifest builder to ReferenceBuilder, and
create a ConfigBuilder variant that can build a schema1 manifest from an
image configuration and set of descriptors. This will be used to
translate schema2 manifests to the schema1 format for backward
compatibliity, by adding the descriptors from the existing schema2
manifest to the schema1 builder. It will also be used by engine-side
push code to create schema1 manifests from the new-style image
configration, when necessary to push a schema1 manifest.
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2016-01-07 15:26:26 -08:00
Stephen Day
0be4b3f27d
Merge pull request #1283 from djenriquez/master
...
CloudFront-s3-middleware
2016-01-07 14:58:35 -08:00
Aaron Lehmann
83ccbd18c0
Merge pull request #1324 from stevvooe/digest-from-bytes
...
digest: add NewDigestFromBytes for completeness
2016-01-08 01:04:27 +07:00
Stephen J Day
9f5ebd0a94
digest: add NewDigestFromBytes for completeness
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2016-01-06 18:00:20 -08:00
David Calavera
981a573eaf
Modify import paths to point to the new engine-api package.
...
Signed-off-by: David Calavera <david.calavera@gmail.com>
2016-01-06 19:48:59 -05:00
Richard Scothern
6a248e115b
Merge pull request #1321 from aibaars/gcs-fix-retry
...
GCS storage driver: fix retry function
2016-01-06 12:00:12 -08:00
Richard Scothern
9f83bfc071
Merge pull request #1321 from aibaars/gcs-fix-retry
...
GCS storage driver: fix retry function
2016-01-06 12:00:12 -08:00
Richard Scothern
e28a924e0c
Merge pull request #1323 from aibaars/gcs-fix-list-empty
...
GCS Storagedriver: fix test failure caused by #1187
2016-01-06 11:18:34 -08:00
Richard Scothern
0acca63b93
Merge pull request #1323 from aibaars/gcs-fix-list-empty
...
GCS Storagedriver: fix test failure caused by #1187
2016-01-06 11:18:34 -08:00
Arthur Baars
5c6fdc710f
GCS Storagedriver: fix test failure caused by #1187
...
Signed-off-by: Arthur Baars <arthur@semmle.com>
2016-01-06 18:36:28 +00:00
Arthur Baars
bb1e9e0a82
GCS Storagedriver: fix test failure caused by #1187
...
Signed-off-by: Arthur Baars <arthur@semmle.com>
2016-01-06 18:36:28 +00:00
Arthur Baars
bf1e41a9f2
GCS driver: fix retry function
...
Signed-off-by: Arthur Baars <arthur@semmle.com>
2016-01-06 17:57:22 +00:00
Arthur Baars
d3d40a8807
GCS driver: fix retry function
...
Signed-off-by: Arthur Baars <arthur@semmle.com>
2016-01-06 17:57:22 +00:00
DJ Enriquez
b49c4fff95
Applying recommended changes
...
- Adding clarification to the “chunksize” definition
- Changing short-hand “/w” to “with”
Signed-off-by: DJ Enriquez <dj.enriquez@infospace.com>
2016-01-05 15:22:35 -08:00
Richard Scothern
94347c8611
Remove tags referencing deleted manifests.
...
When a manifest is deleted by digest, look up the referenced tags in the tag
store and remove all associations.
Signed-off-by: Richard Scothern <richard.scothern@gmail.com>
2016-01-05 13:47:52 -08:00
Richard Scothern
fea0a7ed49
Remove tags referencing deleted manifests.
...
When a manifest is deleted by digest, look up the referenced tags in the tag
store and remove all associations.
Signed-off-by: Richard Scothern <richard.scothern@gmail.com>
2016-01-05 13:47:52 -08:00
Phil Estes
062d6cd782
Merge pull request #18889 from aaronlehmann/v1-fallback-pull-all-tags
...
Allow v1 protocol fallback when pulling all tags from a repository unknown to v2 registry
2016-01-05 16:20:04 -05:00
Stephen Day
5529baa918
Merge pull request #1249 from k4leung4/print-error-msg
...
Print error for failed HTTP auth request.
2016-01-05 12:23:05 -08:00
Stephen Day
74d719d83f
Merge pull request #1249 from k4leung4/print-error-msg
...
Print error for failed HTTP auth request.
2016-01-05 12:23:05 -08:00
Stephen Day
f277c660ae
Merge pull request #1316 from dmcgowan/fix-janky-integration-tests
...
Fix broken daemon startup with master
2016-01-04 17:51:51 -08:00
Derek McGowan
8d1c44f148
Fix broken daemon startup with master
...
Since the daemon flag was deprecated and replaced by the daemon subcommand, the run engine should use the subcommand and only the flag for older versions
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2016-01-04 16:32:12 -08:00
Richard Scothern
72432a701a
Show the legacy registry flag only in the daemon arguments
...
Signed-off-by: Richard Scothern <richard.scothern@gmail.com>
2016-01-04 14:52:39 -08:00
Sven Dowideit
a580dae06f
Merge pull request #1310 from thaJeztah/fix-hugo-linting
...
docs: mark manifest as "draft"
2016-01-04 18:44:11 +10:00
Stephen Day
1c6c0c8a2d
Merge pull request #1097 from hopkings2008/master
...
use the scheme and host from x-forward-proto and x-forward-host if the…
2015-12-30 16:35:20 -08:00
Stephen Day
0e73b8a37f
Merge pull request #1097 from hopkings2008/master
...
use the scheme and host from x-forward-proto and x-forward-host if the…
2015-12-30 16:35:20 -08:00
Sebastiaan van Stijn
ef006ca1a1
docs: mark manifest as "draft"
...
Markdown linter produced an error on this page;
running markdownlint
ERROR (registry/spec/manifest-v2-2.md) frontmatter: Unexpected non-whitespace char: # Image Manifest Version 2, Schema 2
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2015-12-30 20:56:02 +01:00
Brian Goff
f2158e3920
Merge pull request #18981 from calavera/stop_using_sockets_package
...
Remove pkg sockets and tlsconfig.
2015-12-29 22:22:11 -05:00
Stephen Day
e4d08a35ca
Merge pull request #1304 from BrianBland/fsDriverRelaxedPermissions
...
Relaxes filesystem driver permissions to 0777 (dirs) and 0666 (files)
2015-12-29 19:06:45 -08:00
Stephen Day
00b983b837
Merge pull request #1304 from BrianBland/fsDriverRelaxedPermissions
...
Relaxes filesystem driver permissions to 0777 (dirs) and 0666 (files)
2015-12-29 19:06:45 -08:00
Stephen Day
e63ad1e3d6
Merge pull request #1306 from stevvooe/from-bytes-algorithm
...
digest: make FromBytes available on digest.Algorithm
2015-12-29 18:59:47 -08:00
Stephen Day
0404e5a622
Merge pull request #1307 from stevvooe/panic-on-unavailable
...
digest: panic on unavailable hash algorithm
2015-12-29 18:47:02 -08:00