Correctly connect to running containers

This commit is contained in:
Dane Everitt
2019-06-29 17:52:55 -07:00
parent aa710ec9d6
commit 7c82c6445d
3 changed files with 6 additions and 4 deletions

View File

@@ -149,7 +149,6 @@ func (d *DockerEnvironment) Start() error {
return err
}
d.FollowConsoleOutput()
return d.Attach()
}
@@ -188,6 +187,10 @@ func (d *DockerEnvironment) Attach() error {
return nil
}
if err := d.FollowConsoleOutput(); err != nil {
return err
}
ctx := context.Background()
var err error