How do I download a specific update level of MATLAB into a Docker container?

I'm trying to create a Docker container that has MATLAB installed in it. The images on Docker Hub seem to only download MATLAB at the latest update level. How can I put, for example, R2022b Update 3 into a container?

 Accepted Answer

To create a Docker container with MATLAB at a specific update level, please use our Dockerfile reference architecture located on GitHub:
This uses the MATLAB Package Manager (MPM) to install MATLAB into a container, which allows you to define your desired MATLAB update level. In the Dockerfile, modify the following line:
--release=${MATLAB_RELEASE} \
Change this line to have the release and update level desired, i.e.:
--release=R2022bU3 \
This will allow you to create a Docker image with a specific update level of MATLAB. 
Please refer to the MPM reference page for more information:

More Answers (0)

Categories

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!