Imports github.com/Sirupsen/logrus github.com/docker/distribution/registry/api/errcode github.com/docker/docker/pkg/version golang.org/x/net/context github.com/docker/docker/api Standard library imports encoding/json fmt io net/http path/filepath strconv strings