Orthanc with docker


I prepared Orthanc server on my docker container.
I dont configure any configuration file, just run container and eveyrthing work fine but I have couple things which I want to change.

  1. I want to have my orthanc server on localhost:8042 without signing in using default username and password (orthanc: orthanc)
  2. I want to use Orthanc REST API on my java spring app but I am not sure how to do it? When I use e.g. localhost:8042/patients/someId on my brower I have response with json file but when I try to do the same on postman it doesnt work.
  3. From where my container get configuration file? I delete my first orthanc.json file which I have because firstly I installed Orthanc server on Linux not docker container. But I have to have Orthanc on docker because my app backend there are on docker container.


  1. You can unsecure the access to Orthanc by setting AuthenticatioEnabled to false. But then you’ll have an “Insecure setup…” message. You can check how to securely remove this message in following thread:

  2. If it’s working with your web brower but not postman, it’s probably just because you’re not authenticating properly with postman. Please read the following Orthanc Book page https://book.orthanc-server.com/faq/authentication.html and all sub-links there.

  3. Your container is getting the file from within the Docker image. Seeing your questions, it seems you are quite new to all this, so it might be easier for you to use the osimis/orthanc docker images and to set environment variables in your yml file instead of trying to overwrite the Orthanc .json configuration files. See more info here: https://book.orthanc-server.com/users/docker-osimis.html

I hope this helps.

Kind regards,