If I do
$ sudo docker cp c7033ac0fdd2:/home/mydir/myfile.txt .
file is copied. But if I do
$ sudo docker ls c7033ac0fdd2:/home/mydir/
docker: 'ls' is not a docker command.
See 'docker --help'
How to list directory content then and why it doesn't made with with ls
?