Flag to workaround docker-compose issue
While calling lhcbpr2get.sh
from acron, there is an error:
Traceback (most recent call last):
File "<string>", line 3, in <module>
File "compose/cli/main.py", line 57, in main
File "compose/cli/main.py", line 108, in perform_command
File "compose/cli/main.py", line 353, in exec_command
File ".tox/py27/lib/python2.7/site-packages/dockerpty/pty.py", line 338, in start
File ".tox/py27/lib/python2.7/site-packages/dockerpty/io.py", line 32, in set_blocking
ValueError: file descriptor cannot be a negative integer (-1)
docker-compose returned -1
which seems to be related with an issue in docker-compose: https://github.com/docker/compose/issues/3352. The workaround is to use -T
option in docker-compose exec
call.