Docker-DCO-1.1-Signed-off-by: Jessica Frazelle <jess@docker.com> (github: jfrazelle)
| ... | ... |
@@ -428,10 +428,11 @@ func (s *TagStore) pullV2Tag(eng *engine.Engine, r *registry.Session, out io.Wri |
| 428 | 428 |
} |
| 429 | 429 |
|
| 430 | 430 |
if verified {
|
| 431 |
- out.Write(sf.FormatStatus(repoInfo.CanonicalName+":"+tag, "The image you are pulling has been verified")) |
|
| 431 |
+ log.Printf("Image manifest for %s:%s has been verified", repoInfo.CanonicalName, tag)
|
|
| 432 | 432 |
} else {
|
| 433 | 433 |
out.Write(sf.FormatStatus(tag, "Pulling from %s", repoInfo.CanonicalName)) |
| 434 | 434 |
} |
| 435 |
+ |
|
| 435 | 436 |
downloads := make([]downloadInfo, len(manifest.FSLayers)) |
| 436 | 437 |
|
| 437 | 438 |
for i := len(manifest.FSLayers) - 1; i >= 0; i-- {
|
| ... | ... |
@@ -553,6 +554,8 @@ func (s *TagStore) pullV2Tag(eng *engine.Engine, r *registry.Session, out io.Wri |
| 553 | 553 |
|
| 554 | 554 |
} |
| 555 | 555 |
|
| 556 |
+ out.Write(sf.FormatStatus(repoInfo.CanonicalName+":"+tag, "The image you are pulling has been verified - This is a tech preview, don't rely on it for security yet.")) |
|
| 557 |
+ |
|
| 556 | 558 |
if err = s.Set(repoInfo.LocalName, tag, downloads[0].img.ID, true); err != nil {
|
| 557 | 559 |
return false, err |
| 558 | 560 |
} |