Can we distribute a Docker image with an activable MATLAB distribution ?

2 views (last 30 days)
Hello,
What if I want to distribute a Docker image in which a full MATLAB installation is embedded ?
I actually managed to package a MATLAB installation (that I had on my Ubuntu machine) to add it inside a Ubuntu-based Docker image. This installation is activated a posteriori by a license file provided by the Docker image's user.
So my question is: Can I distribute this [ Dockerfile + MATLAB installation archive]? Since the embedded MATLAB can only be used if the user activate it with a valid license file.
PS: Any better solution than this MATLAB archive embedding (like an on-build MATLAB downloading) will be welcome!
Thank you for your help.
GJ

Answers (1)

Swastik Sarkar
Swastik Sarkar on 20 Sep 2024
Distributing MATLAB in a Docker image with all or specified toolboxes is indeed possible. The recommended approach is to use the Dockerfile available in the MathWorks GitHub repository. This resource provides detailed information on deploying MATLAB to a Docker container. For more details, visit:
To manage the licensing of products used in the container, consider utilizing batch token licensing. Additional information on this can be found at:
Hope this helps !

Categories

Find more on Install Products in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!