Closed shockwavebot closed 6 years ago
I use only docker, and used docker-compose to start up the containers.
When I connect to scrapybook_dev_1 container, I get this message: ls: cannot open directory /root/book/: Permission denied
ls: cannot open directory /root/book/: Permission denied
Could be something related to SELinux contexts:
root@3eb13a1bf6aa:/# ls -laZ /root|grep book drwxrwxr-x. 13 1000 1000 unconfined_u:object_r:user_home_t:s0 4096 Apr 19 15:01 book
This was due to the SELinux at the host (CentOS 7). Disabling SELinux in the host solve the issue.
I use only docker, and used docker-compose to start up the containers.
When I connect to scrapybook_dev_1 container, I get this message:
ls: cannot open directory /root/book/: Permission denied
Could be something related to SELinux contexts: