How to determine the version of Orthanc Docker that is used?

Hello,

With Orthanc Docker, when I go into the docker container and do Orthanc --version, I get the following:

Orthanc mainline
Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics Department, University Hospital of Liege (Belgium)
Licensing GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html, with OpenSSL exception.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Is there some indication or some other commands I can use to determine what “particular” mainline I am using?
That is to say, if I am not on the latest mainline?

Additionally, how would I pull from mainline, but a “mainline” version that is from a particular point in time, and not the latest? Is this possible?

Thanks!
Srey

Hello,

With Orthanc Docker, when I go into the docker container and do Orthanc --version, I get the following:
Is there some indication or some other commands I can use to determine what “particular” mainline I am using?

Simply start Orthanc, the actual version of the mainline is reported at the top of the log:

$ sudo docker run -p 4242:4242 -p 8042:8042 --rm jodogne/orthanc
W1202 16:15:37.451228 main.cpp:1235] Orthanc version: mainline (20161118T163419)

In the example above, you see that this is the mainline version built on 2016-11-18.

Additionally, how would I pull from mainline, but a “mainline” version that is from a particular point in time, and not the latest? Is this possible?

You can access older official releases as follows (e.g. 1.1.0):

$ sudo docker run -p 4242:4242 -p 8042:8042 --rm jodogne/orthanc:1.1.0
W1202 16:18:03.840420 main.cpp:1222] Orthanc version: 1.1.0

Sébastien-

I never noticed that line at the top of the log file!

Thanks!!
Srey