mirror of
https://github.com/bingohuang/docker-labs.git
synced 2025-07-14 18:27:25 +08:00
parent
6c651abfae
commit
440ba09061
@ -166,7 +166,7 @@ func DeleteNetwork(id string) error {
|
||||
|
||||
func CreateAttachConnection(id string, ctx context.Context) (*types.HijackedResponse, error) {
|
||||
|
||||
conf := types.ContainerAttachOptions{true, true, true, true, "ctrl-x,ctrl-x", true}
|
||||
conf := types.ContainerAttachOptions{true, true, true, true, "ctrl-^,ctrl-^", true}
|
||||
conn, err := c.ContainerAttach(ctx, id, conf)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
Loading…
x
Reference in New Issue
Block a user