hi
this is my first post
When I use this command
“docker run --name xx --rm container-name ls”
I get the same answer " invalid command: “ls” "
If when I use this command
“docker exec -ti container-name bash” and then in bash i enter “ls” the command works.
(This issue is not just for ls command and this is the case for all simple commands)