Borrar filtros
Borrar filtros

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

16 visualizaciones (últimos 30 días)
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?

Respuestas (1)

Jaswanth
Jaswanth el 9 de Mayo de 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.

Categorías

Más información sobre Install Products en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by