Docker Community Forums

Share and learn in the Docker community.

Centos8 image directory pemissions

I am building a very basic cento8 image and when the image builds all the directory’s are not executable, is this normal?

For example bash in /bin/bash is not executable

docker --rm -it centos:8 bash

opens up as root with all the directories showing up as just names not executable entries.

ls -a /bin/bash returns only that the path is there but no permissions are assigned. Is there a step I am missing? Thanks.