Imports github.com/docker/docker/dockerversion github.com/docker/docker/pkg/stringid github.com/docker/distribution/registry/api/errcode github.com/docker/docker/pkg/archive Standard library imports encoding/hex fmt io io/ioutil os crypto/sha1 os/exec path/filepath regexp runtime strings