Meaglith Ma
0e7650f958
Fix decode tags value error when call get /v2/<name>/tags/list in registry api v2.
...
Signed-off-by: Meaglith Ma <genedna@gmail.com>
2015-03-23 14:33:52 -07:00
Derek McGowan
9f5184c111
Add check for 404 on get repository data
...
No longer add the body to the error when a 404 is received on get repository data.
closes #11510
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2015-03-22 18:15:18 -07:00
Ahmet Alp Balkan
878a39fef2
Import Azure driver for factory registration
...
Importing Azure storage driver to make it register itself as
a storage driver.
Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
2015-03-20 17:44:25 -07:00
Stephen Day
50393dbe22
Merge pull request #270 from stevvooe/roadmap
...
Add ROADMAP.md to the project and cleanup existing items
2015-03-20 17:16:31 -07:00
Stephen Day
15a7926288
Merge pull request #230 from diogomonica/adding-healthcheck
...
registry/health: adding healthcheck package
2015-03-20 17:15:37 -07:00
Stephen Day
57a6854ae0
Merge pull request #281 from tcnghia/patch-1
...
Update api.md
2015-03-20 16:51:09 -07:00
Michael Crosby
50b10850bb
Merge pull request #11528 from jlhawn/separate_init_blob_upload
...
Separate init blob upload
2015-03-20 16:39:31 -07:00
Diogo Mónica
5370f2c0be
Adding first version of HealthCheck
...
Added a expvar style handler for the debug http server to allow health checks (/debug/health).
Signed-off-by: Diogo Monica <diogo@docker.com>
2015-03-20 14:38:40 -07:00
Josh Hawn
bcccf35bb2
Separate init blob upload
...
Pushing a v2 image layer has two steps:
- POST to get a new upload URL
- PUT to that upload URL
We were previously not checking the response code of
the POST request and the PUT would fail in weird ways.
Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn)
2015-03-20 13:11:05 -07:00
Josh Hawn
11d08c3065
Add verification of image manifest digests
...
Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn)
2015-03-20 09:34:39 -07:00
Nghia Tran
5e06d6500c
Update api.md
...
It seems a few places "download" instead of "upload".
Signed-off-by: Nghia Tran <tcnghia@gmail.com>
2015-03-20 07:56:30 -07:00
Arnaud Porterie
4377a9a3bc
Merge pull request #11477 from dmcgowan/fix-auth-http-client
...
Update auth client configuration to use proper tls config
2015-03-19 14:17:47 -07:00
Stephen Day
06fcf053e7
Merge pull request #275 from docker/stevvooe-patch-2
...
digest: remove unnecessary error pointer formats in test
2015-03-18 19:25:35 -07:00
Stephen Day
b1232a92e7
Merge pull request #1 from amylindburg/patch-1
...
recast text of the page
2015-03-18 19:12:47 -07:00
Amy Lindburg
028fece85c
more formatting...
2015-03-18 19:02:37 -07:00
Stephen Day
2ced84f31d
Remove unnecessary error pointer formats in test
...
The linter was complaining about these and they are quite unnecessary.
2015-03-18 19:02:32 -07:00
Amy Lindburg
121c4a2f80
recast text of the page
2015-03-18 18:57:20 -07:00
Olivier Gambier
d957768537
Merge pull request #274 from stevvooe/tarsum-verification-deadlock
...
digest: correctly close pipe after error in tarsum verification
2015-03-18 18:38:31 -07:00
Stephen J Day
8c254edb9a
Correctly close pipe after error in tarsum verification
...
This addresses a subtle deadlock where an error during a copy prevented pipe
closure to propagate correctly. By closing down the read end of the pipe rather
than the write end, the waiting writer is properly signaled. A nice side-effect
of this change is that errors encountered by io.Copy are no propagated to the
verifier's Write method.
A test to ensure validation errors for unsupported digest types has been added,
as well.
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-03-18 18:26:09 -07:00
Stephen J Day
574c9c821b
Add ROADMAP.md to the project and cleanup existing items
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-03-18 16:15:34 -07:00
Derek McGowan
4bf6791328
Update auth client configuration to use proper tls config
...
Currently the http clients used by auth use the default tls config. The config needs to be updated to only support TLS1.0 and newer as well as respect registry insecure configuration.
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2015-03-18 14:52:49 -07:00
Doug Davis
59a1d4721d
Merge pull request #11314 from HammerOfThor/pull_err_print
...
print detailed error info for docker pull
2015-03-18 08:08:01 -04:00
Olivier Gambier
53e1b27a76
Merge pull request #268 from docker/stevvooe-patch-2
...
Update Sprint label link from Ready
2015-03-17 21:29:12 -07:00
Stephen Day
7e7b6109dc
Merge pull request #236 from endophage/config
...
Adding docs for full suite of configuration options
2015-03-17 21:12:19 -07:00
Zhang Wei
7d4c1d1e97
print detailed error info for docker pull
...
When docker push get response with unknown HTTP status, docker daemon
print:
"Error: Status XXX trying to push repository XXX: XXX"
But when docker pull meets response with unknown status code, it gives:
"HTTP code: XXX"
This commit helps docker pull print more detailed error info like push
does, so push and pull can behave consistently when error happens.
Signed-off-by: Zhang Wei <zhangwei555@huawei.com>
2015-03-18 11:35:44 +08:00
Stephen Day
1f229923d3
Update Sprint label link from Ready
2015-03-17 18:56:56 -07:00
Arnaud Porterie
606d538448
Merge pull request #11118 from shishir-a412ed/restriction_username_length
...
Docker Tag command: Relax the restriction on namespace (username) length from 30 to 255 characters.
2015-03-17 09:41:12 -07:00
Arnaud Porterie
00889e1519
Merge pull request #11109 from ncdc/pull-by-digest
...
Add support for referring to images by digest
2015-03-17 08:15:45 -07:00
Andy Goldstein
4b813b3847
Add ability to refer to image by name + digest
...
Add ability to refer to an image by repository name and digest using the
format repository@digest. Works for pull, push, run, build, and rmi.
Signed-off-by: Andy Goldstein <agoldste@redhat.com>
2015-03-17 10:10:42 +00:00
Derek McGowan
1d6ccc1b72
Quote registry error strings
...
Currently when registry error strings contain new line characters only the last line is displayed to the client. Quote the string to ensure the client can see the entire body value.
fixes #11346
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2015-03-16 15:32:47 -07:00
Derek McGowan
9879aefa81
Use request factory for registry ping
...
Currently when the registry ping is sent, it creates the request directly from http.NewRequest instead of from the http request factory. The request factory adds useful header information such as user agent which is needed by the registry.
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2015-03-16 14:21:00 -07:00
Stephen Day
ac550484be
Merge pull request #226 from stevvooe/json-canonicalization
...
doc/spec: canonicalized JSON format for distribution APIs
2015-03-16 13:21:39 -07:00
Stephen J Day
e891939ebc
spec: Canonicalized JSON Format for Distribution APIs
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-03-16 13:03:02 -07:00
Shishir Mahajan
dc4e9c6e90
Docker Tag command: Relax the restriction on namespace (username) length from 30 to 255 characters.
...
Signed-off-by: Shishir Mahajan <shishir.mahajan@redhat.com>
2015-03-14 16:45:44 -04:00
Stephen Day
af4f5aa7d2
Merge pull request #261 from jlhawn/url_for_method
...
Refactor Layer interface to return a Handler
2015-03-13 17:27:42 -07:00
Stephen Day
47cf298bd0
Merge pull request #261 from jlhawn/url_for_method
...
Refactor Layer interface to return a Handler
2015-03-13 17:27:42 -07:00
Olivier Gambier
40ec1222a9
Merge pull request #259 from stevvooe/validate-var-prefixes
...
context: validate prefix lookups for WithRequest/WithResponse contexts
2015-03-13 16:54:40 -07:00
Josh Hawn
6d14019368
Refactor Layer interface to return a Handler
...
... Rather than ServeHTTP directly.
Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn)
2015-03-12 21:59:07 -07:00
Josh Hawn
db5689aa86
Refactor Layer interface to return a Handler
...
... Rather than ServeHTTP directly.
Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn)
2015-03-12 21:59:07 -07:00
Stephen J Day
77dc35fbd6
Validate prefix lookups for WithRequest/WithResponse contexts
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-03-12 19:09:26 -07:00
Stephen Day
b8cbceb179
Merge pull request #258 from jlhawn/url_for_method
...
Insert request method option storage driver URLFor
2015-03-12 17:16:54 -07:00
Stephen Day
37447b3abd
Merge pull request #258 from jlhawn/url_for_method
...
Insert request method option storage driver URLFor
2015-03-12 17:16:54 -07:00
Josh Hawn
fdd6314776
Insert request method option storage driver URLFor
...
Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn)
2015-03-12 17:06:40 -07:00
Josh Hawn
e062e66ee1
Insert request method option storage driver URLFor
...
Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn)
2015-03-12 17:06:40 -07:00
Stephen Day
efb24490c7
Merge pull request #256 from ncdc/master
...
Send WWW-Authenticate header for silly auth
2015-03-11 19:01:23 -07:00
Stephen Day
70560cceaf
Merge pull request #256 from ncdc/master
...
Send WWW-Authenticate header for silly auth
2015-03-11 19:01:23 -07:00
Andy Goldstein
4b5af16fdc
Send WWW-Authenticate header for silly auth
...
Signed-off-by: Andy Goldstein <agoldste@redhat.com>
2015-03-11 15:20:15 -04:00
Andy Goldstein
4491e755b8
Send WWW-Authenticate header for silly auth
...
Signed-off-by: Andy Goldstein <agoldste@redhat.com>
2015-03-11 15:20:15 -04:00
Stephen Day
8aacddd095
Merge pull request #244 from endophage/cloudfront_refactor
...
registry/middleware, registry/storage, configuration: refactoring cloudfront + generic middlewares
2015-03-11 12:10:49 -07:00
Stephen Day
10881152ac
Merge pull request #244 from endophage/cloudfront_refactor
...
registry/middleware, registry/storage, configuration: refactoring cloudfront + generic middlewares
2015-03-11 12:10:49 -07:00