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

16 次查看(过去 30 天)
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?

回答(1 个)

Jaswanth
Jaswanth 2024-5-9
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.

类别

Help CenterFile Exchange 中查找有关 Install Products 的更多信息

标签

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by