log
This commit is contained in:
parent
3af19abc74
commit
214013d445
@ -547,6 +547,7 @@ func (con Connection) AttachServer(ctx *gin.Context) {
|
|||||||
time.Sleep(500)
|
time.Sleep(500)
|
||||||
hijacked, err = con.dockerClient.ContainerAttach(context.TODO(), containers[0].ID, container.AttachOptions{Stream: true, Stdin: true, Stdout: true, Stderr: true, Logs: false})
|
hijacked, err = con.dockerClient.ContainerAttach(context.TODO(), containers[0].ID, container.AttachOptions{Stream: true, Stdin: true, Stdout: true, Stderr: true, Logs: false})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
log.Printf("Failed to re-attach container %s", err)
|
||||||
stop = true
|
stop = true
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user