MathWorks Licensing Error 96 when running a Docker image of MATLAB in a GitLab Runner

1 次查看(过去 30 天)
I'm using the MATLAB Docker Image in a GitLab Runner and I get an error message when trying to run MATLAB in the Docker image. Specifically, I see the Runner using the Docker image try to run my MATLAB script:
$ matlab -batch "myScript.m" License checkout failed. MathWorks Licensing Error 96 A licensing error occurred while trying to use <PRODUCTNAME>. Unable to communicate with your organization's license server or the Network License Manager has not been started. Troubleshoot this issue by visiting: https://www.mathworks.com/matlabcentral/answers/95122
How can I fix this?

采纳的回答

MathWorks Support Team
编辑:MathWorks Support Team 2025-5-13
Check that the GitLab Runner isn't blocking the port to the license server. To do this, you can use nmap or similar utilities.
Also, check the following article: https://www.mathworks.com/matlabcentral/answers/95122

更多回答(0 个)

类别

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

标签

尚未输入任何标签。

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by