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

8 views (last 30 days)
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?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 13 May 2025
Edited: MathWorks Support Team on 13 May 2025
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

More Answers (0)

Categories

Find more on Manage Products in Help Center and File Exchange

Tags

No tags entered yet.

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!