Error “The input device is not a TTY”

后端 未结 11 1219
野的像风
野的像风 2020-11-27 09:20

I am running the following command from my Jenkinsfile. However, I get the error \"The input device is not a TTY\".

docker run -v $PWD:         


        
11条回答
  •  Happy的楠姐
    2020-11-27 09:42

    Using docker-compose exec -T fixed the problem for me via Jenkins

    docker-compose exec -T containerName php script.php

提交回复
热议问题