Correctly connect to running containers
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user