Hi,
I have trouble with localizing the Orthanc database in Synology docker installation.
The container manager of Synology reports the filesystem of the image is in /var/lib/orthanc/db , but it really isn’t. There is no such folder.
What I want is to have the DB with the DICOMs securely written on the NAS and want to know where is it.
The Orthanc documentation states that:
The filesystem of Docker containers is volatile (its content is deleted once the container stops). You can make the Orthanc database persistent by mapping the
/var/lib/orthanc/db
folder of the container to some path in the filesystem of your Linux host, e.g.:$ mkdir /tmp/orthanc-db
$ docker run -p 4242:4242 -p 8042:8042 --rm -v /tmp/orthanc-db/:/var/lib/orthanc/db/ jodogne/orthanc:1.12.1
I find that the DB is NOT volatile - when a DICOM is uploaded in orthanc and I stop and restart the container, it stays in. The DICOM is not lost.
If I follow the above instructions and map the supposed db to a folder like:
docker run -p 4242:4242 -p 8042:8042 --rm -v /tmp/orthanc-db/:/var/lib/orthanc/db/ jodogne/orthanc:latest
I get an index in /tmp/orthanc-db which doesn’t change in size if additional DICOM’s are uploaded and the DICOMs do not dissapear if the /tmp/orthanc-db folder is deleted.