• Clayton Coleman's avatar
    Docker digest validation is too strict · 4a48bf83
    Clayton Coleman authored
    Docker 1.10 does not guarantee that the pulled digest matches the digest
    on disk when dealing with v1 schemas stored in a Docker registry. This
    is the case for images like
    centos/ruby-23-centos7@sha256:940584acbbfb0347272112d2eb95574625c0c60b4e2fdadb139de5859cf754bf
    which as a result of #30366 cannot be pulled by Kube from a Docker 1.10
    system.
    
    Instead, use RepoDigests field as the primary match, validating the
    digest, and then fall back to ID (also validating the match). Adds more
    restrictive matching.
    4a48bf83
Name
Last commit
Last update
..
fixtures/seccomp Loading commit data...
container_gc.go Loading commit data...
container_gc_test.go Loading commit data...
convert.go Loading commit data...
convert_test.go Loading commit data...
docker.go Loading commit data...
docker_manager.go Loading commit data...
docker_manager_test.go Loading commit data...
docker_test.go Loading commit data...
exec.go Loading commit data...
fake_docker_client.go Loading commit data...
fake_manager.go Loading commit data...
images.go Loading commit data...
images_test.go Loading commit data...
instrumented_docker.go Loading commit data...
kube_docker_client.go Loading commit data...
labels.go Loading commit data...
labels_test.go Loading commit data...