compiler.package.microserviceDockerImage
Create a microservice Docker image using files generated by MATLAB Compiler SDK
Since R2022a
Syntax
Description
compiler.package.microserviceDockerImage(
creates a Docker® image for files generated by the MATLAB®
Compiler SDK™ using the results
)compiler.build.Results
object
results
. The results object is created by the compiler.build.productionServerArchive
function.
compiler.package.microserviceDockerImage(
creates a Docker image using the results
,Name,Value
)compiler.build.Results
object
results
and additional options specified as one or more name-value
arguments. Options include the build folder, entry point command, and image name.
compiler.package.microserviceDockerImage(
creates a Docker image using the results
,'Options',opts
)compiler.build.Results
object
results
and additional options specified by a
MicroserviceDockerImageOptions
object opts
. If you
use a MicroserviceDockerImageOptions
object, you cannot specify any other
options using name-value arguments.
compiler.package.microserviceDockerImage(
creates a Docker image using files
,filepath
,'ImageName',imageName
,Name,Value
)files
that are generated by MATLAB
Compiler SDK. Additional options are specified as one or more name-value arguments.
compiler.package.microserviceDockerImage(
creates a Docker image using files
,filepath
,'Options',opts
)files
that are generated by MATLAB
Compiler SDK and additional options specified by a
MicroserviceDockerImageOptions
object opts
. If you
use a MicroserviceDockerImageOptions
object, you cannot specify any other
options using name-value arguments.
Examples
Input Arguments
Limitations
In R2022a, this function is only supported on Linux operating systems.
Version History
Introduced in R2022a