Matlab Install fails during docker container creation

4 ビュー (過去 30 日間)
Sarah McGill
Sarah McGill 2020 年 12 月 18 日
回答済み: Jacob Mathew 2025 年 6 月 16 日
I have been attempting to construct a docker container with MATLAB for deployment of my data analysis pipeline using the Mathworks official guide included here: https://github.com/mathworks-ref-arch/matlab-dockerfile . After downloading the matlab installer to the appropriate subdirectory, copying and modifying matlab_installer_input file as directed with the correct key, selected products, and license agreement lines, and attempting to build the docker file with the correct license server port and address as an argument, Matlab fails to correctly install into the container.
If I select only the products I intend to install and their dependencies, I receive the following error in the terminal:
(DATETIME) Completed local product/component search
(DATETIME) Finished reading from/matlab-install/archives
(DATETIME) No products are selected. The product lines specified in the input file are invalid. Verify the product list and restart the application.
(DATETIME) Exiting with status -2
(DATETIME) End - Unsuccessful
If I instead allow matlab to automatically select the products to be installed, I receive this error:
(DATETIME) Completed local product/component search
(DATETIME) Finished reading from/matlab-install/archives
(DATETIME) To proceed, you must select a destination with the following products installed:
MATLAB
(DATETIME) Exiting with status -2
(DATETIME) End - Unsuccessful
For reference, I am running Ubuntu 20.10 and using the default Ubunti 18.04 image as the prebuilder.
Any Ideas?

回答 (1 件)

Jacob Mathew
Jacob Mathew 2025 年 6 月 16 日
Hey Sarah,
The error mentions "To proceed, you must select a destination with the following products installed: MATLAB"
Could you ensure that you are passing "MATLAB" as the first argument to MATLAB Package Manager? The sample dockerfile passes it as follows:
ARG MATLAB_PRODUCT_LIST="MATLAB"
You can refer to the dockerfile at the link below:

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by