Matlab Install fails during docker container creation
4 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
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:
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!