Is it possible to use an individual standard startup license for a docker container?

3 vues (au cours des 30 derniers jours)
I am trying to run matlab from inside a docker container based on the official mathworks/matlab:r2022b. I am getting the following error:
License Manager Error -9
The hostid of your computer (0242ac110002) does not match the hostid of the license file (38fc1d2d).
To run on this computer, you must run the Activation client to reactivate your license.
Troubleshoot this issue by visiting:
https://www.mathworks.com/support/lme/R2022b/9
Diagnostic Information:
Feature: MATLAB
License path: /usr/local/MATLAB/license.lic:/home/matlab/.matlab/R2022b_licenses:/opt/matlab/R2022b/licenses/license.dat:/opt/matlab/R2022b/licenses
Licensing error: -9,57.
Reactivating the license everytime the image is ran on a new host doesn't seem reasonable for a docker container. So I wanted to ask if the standard individual license is indented for this use case? the documentation for the official matlab image (https://hub.docker.com/r/mathworks/matlab) under "Configure your license" mentions "To run this container your license must be configured for cloud use. Individual and Campus-Wide licenses are already configured for cloud use." Did I missunderstand something here?

Réponses (1)

Jaswanth
Jaswanth le 9 Mai 2024
Hi Abdullah,
For Individual and Designated Computer licenses, the Host ID used to activate MATLAB must not change over time or the Host ID will not match the Host ID in the license file, and MATLAB issues License Manager Error -9.
Possible solution is to configure your system to have a static Host ID and then reactivate MATLAB.
I hope the information provided above is helpful.

Catégories

En savoir plus sur Containers dans Help Center et File Exchange

Produits


Version

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by