on-internet
← Community

ls -l in Docker shows question marks in place of file permissions and stats

Stack Overflow ·

Before I begin, there are other questions that mention that ls -l produces questions marks but those are due to permissions issue. This question is different. Hopefully! I have a decommissioned Docker host: Kernel 3.10 docker 18.06 glibc 2.17 libseccomp 2.3.1 coreutils 8.22 I have a SLES 15 docker image glibc 2.31 coreutils 8.32 I start the container using docker run -it --rm -u root <docker-image> bash The home directory I land in has a bin directory which I can see using ls but if I use ls -l I get a lot of question marks. $ ls bin $ ls -l ls: cannot access 'bin': Operation not permitted tot

Comments

Sign in or sign up to comment and upvote.

No comments yet.