mosadm build-matlab-image
Build MATLAB Docker image for use in MATLAB Online Server
Syntax
Description
mosadm build-matlab-image builds a MATLAB® image from the default MATLAB install location, /MATLAB.
mosadm build-matlab-image
builds a MATLAB image from the specified MATLAB installation location.matlabInstallLocation
mosadm build-matlab-image [
builds a MATLAB image using the specified configuration options and either of the previous
syntaxes.matlabInstallLocation] option1 ... optionN
Note
mosadm build-matlab-image interacts with Docker®. If you do not have sudo administration privileges for
Docker, then this command also requires sudo.
Examples
Input Arguments
Tips
To build this image, your machine must have a
TMPDIRenvironment variable that specifies a writable temporary directory mounted inexecmode. To mountTMPDIRinexecmode, run this command.mount -o remount,exec /tmpIf you are unable to make the
/tmpfolder writable or you cannot mount folders inexecmode, then set a custom temporary directory by setting the--tmp-diroption.mosadm build-matlab-image --tmp-dir <temp-dir-name><temp-dir-name>is the name of a directory that is writable and mounted inexecmode.If you are using a CIS hardened image, the
/tmpdirectory or directory specified by--tmp-dirmust be have executable permissions. For more details, see CIS Hardened Images.If you are using a snap install of Docker, the
/tmpdirectory or directory specified by--tmp-dirmust be under the$HOMEdirectory. For more details, see https://snapcraft.io/install/docker/ubuntu.
Version History
Introduced in R2020a