Created
April 5, 2020 13:59
-
-
Save Toasterson/62b19dd85e4151561081391fa9987f51 to your computer and use it in GitHub Desktop.
registry custom main file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"github.com/docker/distribution/registry" | |
_ "github.com/docker/distribution/registry/auth/htpasswd" | |
_ "github.com/docker/distribution/registry/auth/token" | |
_ "github.com/docker/distribution/registry/proxy" | |
_ "github.com/docker/distribution/registry/storage/driver/azure" | |
_ "github.com/docker/distribution/registry/storage/driver/filesystem" | |
_ "github.com/docker/distribution/registry/storage/driver/gcs" | |
_ "github.com/docker/distribution/registry/storage/driver/inmemory" | |
_ "github.com/docker/distribution/registry/storage/driver/middleware/alicdn" | |
_ "github.com/docker/distribution/registry/storage/driver/middleware/cloudfront" | |
_ "github.com/docker/distribution/registry/storage/driver/middleware/redirect" | |
_ "github.com/docker/distribution/registry/storage/driver/oss" | |
_ "github.com/docker/distribution/registry/storage/driver/s3-aws" | |
_ "github.com/docker/distribution/registry/storage/driver/swift" | |
) | |
func main() { | |
registry.RootCmd.Execute() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment