1

I have used simple command to create nginx container with latest image.

docker run -d -p 8080:80 -v ~/myhtmlfoler:/usr/share/nginx/html nginx

Observations:

1) myhtmlfolder which is my source folder on linux (RHEL ATOMIC) host have index.html. confirmed.

2) when docker exec with cd command to /usr/share/nginx/html (or /bin/bash) i can not ls to this folder and it says permission denied. can not make any file or directory at this location. sudo not running too inside

3) at host i have root access and folder and file have 777 rights...

continuously getting 403 forbidden

André DS
  • 1,823
  • 1
  • 14
  • 24
ali
  • 11
  • 3

0 Answers0