2014-10-21 15:02:20 -07:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2014-12-01 18:25:10 -08:00
|
|
|
"github.com/Sirupsen/logrus"
|
2014-10-21 15:02:20 -07:00
|
|
|
"github.com/docker/docker-registry/storagedriver/inmemory"
|
|
|
|
"github.com/docker/docker-registry/storagedriver/ipc"
|
|
|
|
)
|
|
|
|
|
2014-10-28 18:15:40 -07:00
|
|
|
// An out-of-process inmemory driver, intended to be run by ipc.NewDriverClient
|
|
|
|
// This exists primarily for example and testing purposes
|
2014-10-21 15:02:20 -07:00
|
|
|
func main() {
|
2014-12-01 18:25:10 -08:00
|
|
|
if err := ipc.StorageDriverServer(inmemory.New()); err != nil {
|
|
|
|
logrus.Fatalln(err)
|
|
|
|
}
|
2014-10-21 15:02:20 -07:00
|
|
|
}
|