You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into an issue where SELinux was blocking access to the /opt/xml mount. The Django app was displaying a debug page because it couldn't open the /opt/xml path.
To get around this problem, you can add the :z flag to the docker run command:
I ran into an issue where SELinux was blocking access to the /opt/xml mount. The Django app was displaying a debug page because it couldn't open the /opt/xml path.
To get around this problem, you can add the :z flag to the docker run command:
docker run -d --name webmap -h webmap -p 8000:8000 -v /tmp/webmap:/opt/xml:z reborntc/webmap
Details on this flag:
https://docs.docker.com/storage/bind-mounts/#configure-the-selinux-label
The text was updated successfully, but these errors were encountered: