We use the containers suggested in the Orthanc documentation.
Create some directories in which to save the Orthanc config file and the persistent database:
mkdir ~/.orthanc-docker/
mkdir ~/.orthanc-docker/db/
Pull the container for Orthanc with plugins (plugins needed for DICOMWeb), and save the default config file:
docker run --rm --entrypoint=cat jodogne/orthanc-plugins:1.12.1 /etc/orthanc/orthanc.json > ~/.orthanc-docker/config.json
Now edit ~/.orthanc-docker/config.json
to turn off authentication by keeping RemoteAccessAllowed
as true
but explicitly setting AuthenticationEnabled
as false
.
This completes the first-time setup.
To start the server:
docker run -p 4242:4242 -p 8042:8042 --rm -v ~/.orthanc-docker/config.json:/etc/orthanc/orthanc.json:ro -v ~/.orthanc-docker/db/:/var/lib/orthanc/db/ jodogne/orthanc-plugins:1.12.1