How can I install toolbox in docker container?

25 ビュー (過去 30 日間)
Hyuntae Kim
Hyuntae Kim 2023 年 9 月 8 日
コメント済み: Hyuntae Kim 2023 年 9 月 15 日
Hi, I want to use Matlab and toolboxes in Docker container.
I have academy license (individual), and I pulled official release of Matlab Image from Dockerhub : 'mathworks/matlab'.
When I run container with this image, I'm asked to sign in with my Mathworks ID/PW, which implies that the image doesn't have any license information inside, but check license availability with user's account.
The problem is, this image only contains Matlab but no toolbox at all which is included in my license.
I want to install toolbox in the container, so I downloaded install file(*.iso) from Mathworks website (Linux ver), and filled in 'installer_input.txt'
I really don't think that I need installation key, because I'll be asked to sign in when I launch Matlab in the container.
And I tried to install with the following command :
./install -inputFile /installer_input.txt
But it failed, and the log file says that
"File Installation Key not detected. Generate a key in License Center on mathworks.com and uncomment the line."
I cannot understand why installation key is needed even though I activated the 'enableLNU' option to 'yes'.
Is there any other way to install toolbox to the container?

採用された回答

Philip
Philip 2023 年 9 月 11 日
Hello,
Thank you for your interest in our Docker offerings!
In our "alternates" folder in the MATLAB Dockerfile repository (link below), we have an example of a Dockerfile which can install toolboxes into the mathworks/matlab Docker Hub image. The README contains instructions on how to build the custom Docker image with the desired toolboxes.
This Dockerfile and README can be found here:
The image built by this Dockerfile has the same licensing options as the mathworks/matlab Docker Hub image.
I hope this helps, please let us know if you have any further questions.
Philip
  1 件のコメント
Hyuntae Kim
Hyuntae Kim 2023 年 9 月 15 日
Hello Philip, thank you for the clear instruction.
The dockerfile in the link perfectly works for my purpose!
Thank you so much!!

サインインしてコメントする。

その他の回答 (1 件)

Angelo Yeo
Angelo Yeo 2023 年 9 月 10 日
안녕하세요.
MATLAB 제품군 설치 중 발생한 이슈에 관해선 아래의 가이드를 따라 설치지원팀에 문의 부탁드립니다.
-----------------------------------------------
1. 웹으로 지원 요청
설치지원팀으로의 문의는 라이센스 번호와 함께, 1) 매스웍스 홈페이지에서 로그인 후, 2) http://www.mathworks.co.kr/support/contact_us/index.html 로 이동 3) 서비스 요청하기 > 4) 기술 지원: "설치,..." > 5) "설치, 라이선스 매니저, 시작 등" > 빨간색 별표 항목을 모두 채워주시고 해당 에러 문의하실 수 있습니다.
2. 전화로 지원 요청
대표번호 02-6006-5100 에서 안내 멘트에 따라 4번 그리고 1번을 선택하여 설치 지원팀으로 연결하실 수 있습니다.
-----------------------------------------------

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by