docker exec -it 容器id /bin/sh(或/bin/bash,/bin/zsh等)参数: -d :分离模式: 在后台运行 -i :即使没有附加也保持STDIN 打开 -t :分配一个伪终端 来源:https://www.cnblogs.com/arisnotargon/p/12302238.html 标签 容器