Skip to content

Commit

Permalink
Can't pull fsLayers with public GCR image #83
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Miroshkin committed Mar 12, 2018
1 parent 68bacf5 commit e03a985
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ func (i *Image) pullReq() (*http.Response, error) {
}

// Prefer manifest schema v2
req.Header.Set("Accept", "application/vnd.docker.distribution.manifest.v2+json")
req.Header.Set("Accept", "application/vnd.docker.distribution.manifest.v2+json, application/vnd.docker.distribution.manifest.v1+prettyjws")
utils.DumpRequest(req)
resp, err := i.client.Do(req)
if err != nil {
Expand Down

0 comments on commit e03a985

Please sign in to comment.