Matlab/Simulink on Docker via Web Browser
This creates a docker image that can serve Matlab over rdp to a user's browser.
- Download Matlab install files and copy them to "root/matlab_install/".
- Insert any extra files that you need in the "root" folder following the correct path. (It will overwrite any existing file with the same name.)
- Modify the "installer_input.txt.template" file with your license code and which software you want to install and then rename it to installer_input.txt overwriting the old one.
- NOTE: If all components are commented out, then it will install everything your license works for.
- Add your "license.lic" file to "root/usr/local/MATLAB/<matlab_version>/licenses/".
- Build the image. This takes a long time because Matlab can be a BIG install. Base Matlab is a ~5GB image and adding Simulink and a couple toolboxes brought mine up to ~11GB
- Be aware that while building the image can be up to twice the finished size of the image. This is because the installation files and the installed program are temporarily in the same image effectively doubling it. This means that you will need about triple the space needed available on your hard drive while building so that the image builds fully and can then remove the install files from the image.