Does MathWorks support a Docker image for MATLAB? How do we create a Docker image with MATLAB installed?
14 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2019 年 10 月 25 日
編集済み: MathWorks Support Team
2023 年 8 月 11 日
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?
採用された回答
MathWorks Support Team
2023 年 7 月 20 日
編集済み: MathWorks Support Team
2023 年 8 月 11 日
Yes, instructions for creating a MATLAB Docker container image are available on Docker Hub:
This is a prebuilt image that just contains MATLAB. This image is compatible with network license and Individual licenses. In order to use an Individual license, you will be prompted to sign in to your MathWorks Account and you must have an internet connection.These containers can be interacted with via command-line, but also allow for graphical options like VNC, X11 forwarding, or a web browser.
If you'd like to install additional toolboxes into the Docker Hub MATLAB container, you can instead create a custom container using the Dockerfile on the following page:
This Dockerfile will allow additional toolboxes to be installed into the container as it is built. It is based from the Docker Hub image, and will work with the same license types.
If you're looking to create a Docker container for either non-interactive or Terminal-only usage (e.g. Continuous Integration or using batch), you can do so using our reference architecture on GitHub:
Note that this uses matlab-deps as a base image, which is a smaller image that contains the minimum dependencies for MATLAB to run, and is designed to run in a Terminal-only or batch setup. This image is intended to work with network licenses.
0 件のコメント
その他の回答 (1 件)
David Willingham
2021 年 4 月 7 日
In addition to GitHub, the MATLAB container is also now available in dockerhub!
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Containers についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!