mirror of
https://github.com/distribution/distribution
synced 2024-11-12 05:45:51 +01:00
16 lines
415 B
Go
16 lines
415 B
Go
package main
|
|
|
|
import (
|
|
"github.com/Sirupsen/logrus"
|
|
"github.com/docker/docker-registry/storagedriver/inmemory"
|
|
"github.com/docker/docker-registry/storagedriver/ipc"
|
|
)
|
|
|
|
// An out-of-process inmemory driver, intended to be run by ipc.NewDriverClient
|
|
// This exists primarily for example and testing purposes
|
|
func main() {
|
|
if err := ipc.StorageDriverServer(inmemory.New()); err != nil {
|
|
logrus.Fatalln(err)
|
|
}
|
|
}
|