compiler.package.DockerOptions
Create a Docker options object
Syntax
Description
Caution
This function is only supported on Linux® operating systems.
creates a opts = compiler.package.DockerOptions(results)DockerOptions object opts using the
compiler.build.Results object results. The
Results object is created by a compiler.build
function. The DockerOptions object is passed as an input to the
compiler.package.docker function to specify build options.
creates a opts = compiler.package.DockerOptions(results,Name,Value)DockerOptions object opts using the
compiler.build.Results object results and
additional options specified as one or more pairs of name-value arguments. Options include
the build folder, entry point command, and image name.
creates a default opts = compiler.package.DockerOptions('ImageName',imageName,Name,Value)DockerOptions object with the image name specified by
imageName and additional options specified as one or more pairs of
name-value arguments.
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Limitations
Only standalone applications can be packaged into Docker images as of R2020b.
Version History
Introduced in R2020b