Docker exit code 127 : failed install

I am trying to docker an application. When i strat docker-compose up.
exit with 127 code

 symfony-cmd
8.295 sh: 1: symfony-cmd: not found
8.295 Script symfony-cmd handling the auto-scripts event returned with error code 127
8.295 Script @auto-scripts was called via post-install-cmd
8.295 Plugins have been disabled automatically as you are running as root, this may be the cause of the script failure.
8.295 See also https://getcomposer.org/root

Have you any idea. this is my first work with docker