1
0
mirror of https://github.com/rancher/os.git synced 2025-09-02 15:24:32 +00:00

Run user docker with a configurable storage context

This commit is contained in:
Darren Shepherd
2015-08-27 01:58:45 -07:00
parent d46e9530b9
commit ab6eb58167
8 changed files with 337 additions and 23 deletions

View File

@@ -49,6 +49,10 @@ func RunServices(cfg *config.CloudConfig) error {
return p.Up()
}
func GetProject(cfg *config.CloudConfig) (*project.Project, error) {
return newCoreServiceProject(cfg)
}
func newProject(name string, cfg *config.CloudConfig) (*project.Project, error) {
clientFactory, err := rosDocker.NewClientFactory(docker.ClientOpts{})
if err != nil {