Trying to run a docker in Matlab

조회 수: 19 (최근 30일)
William
William 2023년 11월 2일
댓글: William 2024년 1월 5일
So I am currently trying to use the PyRadiomics docker found in the link provided. But I am struggling as using Dockers in Matlab is new for me. Does anyone have experience in this or a sample code that they could provide for a reference? Thanks in advanced!
  댓글 수: 1
Prabhakar
Prabhakar 2023년 11월 3일
https://github.com/mathworks-ref-arch/matlab-dockerfile is a good place to start

댓글을 달려면 로그인하십시오.

답변 (1개)

Krishna
Krishna 2024년 1월 5일
Hello William,
From what I understand you want to use Docker with MATLAB. Using Docker from MATLAB is not a typical use case, but it can be done by calling system commands directly from MATLAB. Please go through the following documentation to learn how to use docker in MATLAB,
Briefly, the above repository will show you how to build and customize docker container for MATLAB and its toolboxes using matlab package manager(mpm). If you want to learn more about mpm you can through this documentation,
To build and customize the docker container image,
  1. Obtain the Docker file by either downloading the repository from GitHub or by cloning the repository to your local machine and then moving to the relevant directory.
  2. Create the container by assigning it a custom name and tag that you specify.
  3. Execute and evaluate the container's functionality. To verify the setup, execute a sample MATLAB command within the container, such as ver, which displays the version information for MATLAB and its toolboxes.
  4. Customize your Docker image by employing different configuration options such as MATLAB_RELEASE, MATLAB_PRODUCT_LIST, and MATLAB_INSTALL_LOCATION. Incorporate these parameters into the docker build command according to your requirements.
For more information and relevant code, please go through the information provided in the GitHub page.
Hope this helps.
  댓글 수: 1
William
William 2024년 1월 5일
Krishna,
Thank you very much for the response! That is helpful information. Will try to encorporate it into what I am working with.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by