Does MathWorks support a Docker image for MATLAB? How do we create a Docker image with MATLAB installed?

73 views (last 30 days)

I want to create a Docker image with MATLAB installed. How do I do this?

Is there any official documentation to show me how to do this?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 25 Oct 2019
Yes, instructions for creating a MATLAB Docker container image are available on GitHub:
At this time, we only recommend using MATLAB in a Docker container with Network licenses, but we are working on expanding support to other license options.
From a licensing standpoint, the Software License Agreement (SLA) includes virtual machines in the definition of a "Computer" and therefore allows the use of products in a virtual environment, except in the case of Designated Computer. The Designated Computer License Option only allows use on a single, physical (not virtual) designated Computer. The only exception to this rule is if the Designated Computer License option is used on a Automation Server that is virtual. Please see our Program Offering guide (p.14) for more information.

More Answers (1)

David Willingham
David Willingham on 7 Apr 2021
In addition to GitHub, the MATLAB container is also now available in dockerhub!

Sign in to comment.


No tags entered yet.




Community Treasure Hunt

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

Start Hunting!

Translated by