Execution fails due to `not found`

Hey follow hackers,

I am confronted with strange error. I do have a reverse shell to a web app that runs within a docker container. I uploaded a binary to execute next. But somehow execution fails:

/app/mkind # ls -l
ls -l
total 404
-rwxrwxrwx 1 root root 411656 Sep 4 09:21 socat
/app/mkind # ^[[30;14R./socat
./socat
/bin/sh: ./socat: not found

What am I doing wrong? Seems that my shell is broken.

thx in advance

You can analyse the error with the strace tool if it is installed (strace ./socat).

Have you checked that the binary is compiled for the correct environment? 32-bit, 64-bit, CPU?

With ldd socat you gets a list of all dynamical loaded files (shared object dependencies) by socat.