mosadm build-matlab-image
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
TMPDIR
environment variable that specifies a writable temporary directory mounted inexec
mode. To mountTMPDIR
inexec
mode, run this command.mount -o remount,exec /tmp
If you are unable to make the
/tmp
folder writable or you cannot mount folders inexec
mode, then set a custom temporary directory by setting the--tmp-dir
option.mosadm build-matlab-image --tmp-dir <temp-dir-name>
<temp-dir-name>
is the name of a directory that is writable and mounted inexec
mode.If you are using a CIS hardened image, the
/tmp
directory or directory specified by--tmp-dir
must be have executable permissions. For more details, see CIS Hardened Images.If you are using a snap install of Docker, the
/tmp
directory or directory specified by--tmp-dir
must be under the$HOME
directory. For more details, see https://snapcraft.io/install/docker/ubuntu.
Version History
Introduced in R2020a