自动部署脚本:
systemctl restart docker docker start acee docker exec -ti acee /bin/bash <<EOF sh abc.sh exit EOF
报错:the input device is not a TTY
命令中去掉t 错误解决
命令改为:
systemctl restart docker docker start acee docker exec -i acee /bin/bash <<EOF sh abc.sh exit EOF
所有评论(0)