Compose: The command "docker-compose exec php ./composer.phar --no-suggest install" exited with 129.

Created on 6 Jun 2017  路  2Comments  路  Source: docker/compose

"php" is the name of my service, "./composer.phar --no-suggest install" is my command. Composer finishes with no complaints, but for some reason the exit code is non-zero. I could not find anything online, except that the parent's exit code is 128 + child exit code, so the exit code may be 1 or 129.

kinquestion

Most helpful comment

use -T to disable TTY allocation.

All 2 comments

I am able to work around the issue with the following (no -t option):
docker exec -i project_php_1 bash -c "./composer.phar --no-suggest install"

use -T to disable TTY allocation.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

29e7e280-0d1c-4bba-98fe-f7cd3ca7500a picture 29e7e280-0d1c-4bba-98fe-f7cd3ca7500a  路  3Comments

saulshanabrook picture saulshanabrook  路  3Comments

maltefiala picture maltefiala  路  3Comments

dazorni picture dazorni  路  3Comments

giggio picture giggio  路  3Comments