I need that a Container execute data in other shell

I have a container with a PHP Service. The PHP code tries to execute something but it fails because itś not a app from the containter. It is possible to run command from a container in another Shell? for example in the “parent” shell.

Thx

“docker run “id of running container” /bin/bash”

try to replace the /bin/bash above with the shell you want to execute

what shell do you want to use?