1
0
mirror of https://github.com/rancher/os.git synced 2025-09-05 16:52:20 +00:00

General cleanup

This commit is contained in:
Darren Shepherd
2015-02-19 11:27:23 -07:00
parent 6e87ea3981
commit 045130a830
4 changed files with 73 additions and 58 deletions

View File

@@ -83,7 +83,7 @@ func loadImages(cfg *config.Config) error {
return err
}
client, err := docker.NewDefaultClient()
client, err := docker.NewSystemClient()
if err != nil {
return err
}
@@ -122,7 +122,7 @@ func runContainers(cfg *config.Config) error {
}
for _, containerConfig := range containerConfigs {
container := docker.NewContainer(config.DOCKER_HOST, &containerConfig)
container := docker.NewContainer(config.DOCKER_SYSTEM_HOST, &containerConfig)
container.Parse()
if util.Contains(cfg.Disable, containerConfig.Id) {