13 lines
		
	
	
		
			336 B
		
	
	
	
		
			Go
		
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			336 B
		
	
	
	
		
			Go
		
	
	
package main
 | 
						|
 | 
						|
import (
 | 
						|
	"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() {
 | 
						|
	ipc.StorageDriverServer(inmemory.New())
 | 
						|
}
 |