How to get the version of the application running in a container

Container is supposed to run 1 application at a time. It seems that application is expressed in the form of a command that can be found in the config section of inspecting a container.

Is there any way I can find the version of the application running. For example, if oracle is running in a ubuntu container. What is the way for me to find the version of Oracle running in Ubuntu.
I found the Labels field in the inspect container API:
“Labels”: {
“com.example.vendor”: “Acme”,
“com.example.license”: “GPL”,
“com.example.version”: “1.0”
}

Does the version here refer to the application version.

-Sid