What does it mean to attach a tty/std-in-out to dockers or lxc?

后端 未结 4 553
无人及你
无人及你 2020-12-23 09:09

I read some docker docs and I do not understand what it might mean to

  • attach a tty
  • attach std-in and std-out

for these purposes, I see

4条回答
  •  不知归路
    2020-12-23 09:31

    Simply put it allows us to attach and detach from the containers terminal. To attach we use the docker attach command and to detach we use the CTRL+P & CTRL+Q command.

提交回复
热议问题