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

2 ビュー (過去 30 日間)
GUILLON Jeremy
GUILLON Jeremy 2016 年 11 月 29 日
回答済み: Swastik Sarkar 2024 年 9 月 20 日
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

回答 (1 件)

Swastik Sarkar
Swastik Sarkar 2024 年 9 月 20 日
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 !

カテゴリ

Help Center および File ExchangeInstall Products についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by