Skip to content

Instantly share code, notes, and snippets.

@edigaryev
Created October 18, 2022 09:08
Show Gist options
  • Select an option

  • Save edigaryev/e91aaace0e51e89cd933413d7a1492c5 to your computer and use it in GitHub Desktop.

Select an option

Save edigaryev/e91aaace0e51e89cd933413d7a1492c5 to your computer and use it in GitHub Desktop.
Docker Registry without Docker
git clone https://github.com/distribution/distribution.git
cd distribution
go run cmd/registry/main.go serve config.yml
version: 0.1
log:
fields:
service: registry
storage:
cache:
blobdescriptor: inmemory
filesystem:
rootdirectory: /tmp/registry
http:
addr: :8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment