tty: teletype, teletypewriter

pseudo-tty 伪终端

-t assigns a pseudo-tty or terminal inside our new container
-i make an interactive connection

--rm
在Docker设计中, 当离开container时, 默认会保存当下container的file system状态. 如果只是想你可以使用 automatically clean up the container and remove the file system when the container exits --rm. 此参数与 -d 不兼容. 适用于如果短暂的使用具交互性的容器下, 例如docker run -i -t

相关文章:

  • 2021-06-21
  • 2022-12-23
  • 2021-05-20
  • 2021-05-29
  • 2022-03-03
  • 2022-02-17
  • 2021-07-07
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-10-13
  • 2022-12-23
  • 2022-01-01
  • 2022-12-23
  • 2022-12-23
  • 2021-10-12
相关资源
相似解决方案