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
As of 2d2a350, xnat/Dockerfile uses variables XNAT_UID / XNAT_GID to launch tomcat with arbitrary non-root user. If ./xnat-data/* folders don't already exist, docker-compose will create them with root ownership (designed docker behavior), making them inaccessible to xnat-web container.
A couple alternatives to simply requiring ./xnat-data/* folders exist ahead of time with appropriate ownership:
The text was updated successfully, but these errors were encountered:
westbywest
changed the title
Add xnat/docker-entrypoint.sh to handle tomcat container running as non-root uid
Add xnat/docker-entrypoint.sh to handle tomcat container running as non-root
Apr 23, 2020
As of 2d2a350, xnat/Dockerfile uses variables XNAT_UID / XNAT_GID to launch tomcat with arbitrary non-root user. If ./xnat-data/* folders don't already exist, docker-compose will create them with root ownership (designed docker behavior), making them inaccessible to xnat-web container.
A couple alternatives to simply requiring ./xnat-data/* folders exist ahead of time with appropriate ownership:
The text was updated successfully, but these errors were encountered: