Create a docker options object
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 name-value pairs. 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 name-value
pairs.
Only standalone applications can be packaged into Docker images as of R2020b.