Skip to content

Installing Behind a Proxy

dbeasley1 edited this page Jun 8, 2026 · 7 revisions

Before being able to build XNAT behind a proxy, you will need the base docker images already downloaded. Normally, these would be pulled from the docker hub website during the build process, however due to the proxy this is not possible.

As there are multiple containers in the docker service, a universal proxy setting in docker cannot be used. However you can set the universal proxy then pull the images:

docker pull tomcat:9.0.115-jdk21-temurin-noble

docker pull nginx:stable-alpine

docker pull postgres:16

then you must unset the universal proxy in order to build XNAT.

Add this section to xnat.cfg:

#proxy
use_proxy=true
proxy_url=http://
proxy_port=xxxx

Next step: Configure Post-Install

Clone this wiki locally