mosadm push-docker-images
Push Docker images loaded from MATLAB Online Server to image registry
Description
mosadm push-docker-images retags and pushes Docker® images loaded from the MATLAB®
Online Server™ local Docker cache to the configured image registry. The mosadm command
uses the Docker registry and Docker repository information from the install.config file.
mosadm push-docker-images
pushes Docker images using the specified configuration options.option1 ... optionN
Note
mosadm push-docker-images interacts with Docker. If you do not have sudo administration privileges for
Docker, then this command also requires sudo.
Examples
Update the following lines in the install.config file with your
Docker registry and repository information.
DOCKER_REGISTRY=<docker-registry-here> DOCKER_REPOSITORY=<repo-here> |
Push the Docker images.
./mosadm push-docker-imagesAlternatively, you can pass the command as a configuration option.
./mosadm push-docker-images --deployment-image-registry registry.yourcompany.com --deployment-image-repository mathworksInput Arguments
One or more configuration options, specified as strings corresponding to valid configuration options from these tables.
Specific to mosadm push-docker-images
| Option | Description |
|---|---|
--deployment-image-registry | Image registry to use for the deployment. Example: |
--deployment-image-repository | Image repository to use for the deployment images. Example:
|
--image-flavor | Container image flavor, specified as Default: |
Common to All mosadm Commands
| Option | Description |
|---|---|
| Name of the MATLAB
Online Server
Specify
Example:
Default:
|
| Name of the MATLAB
Online Server
Specify
Example:
Default:
|
| Print out the commands that would have run without this option specified but do not run the operation. Specify this option to test that the operation produces the expected results before actually executing it. |
| Output help for mosadm push-docker-images to
the command line. |
| Path to the Kubernetes® cluster configuration file. Specify
Example:
By
default,
|
| MATLAB
Online Server root folder, specified as an
absolute path or a path relative to the current
folder, that is, the folder in which you can run
Default: |
| Name of the MATLAB
Online Server
Specify
Example:
Default:
|
| Print only the most useful or relevant output
from the |
--skip-log-file | Skip creating the
|
--skip-prompt, -y | Force acceptance of the terms of use for the
|
--tmp-dir
| Name of MATLAB Online Server temporary folder to use. Specify
By default,
|
--verbose | Output extra details about the
|
Version History
Introduced in R2020a
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Website auswählen
Wählen Sie eine Website aus, um übersetzte Inhalte (sofern verfügbar) sowie lokale Veranstaltungen und Angebote anzuzeigen. Auf der Grundlage Ihres Standorts empfehlen wir Ihnen die folgende Auswahl: .
Sie können auch eine Website aus der folgenden Liste auswählen:
So erhalten Sie die bestmögliche Leistung auf der Website
Wählen Sie für die bestmögliche Website-Leistung die Website für China (auf Chinesisch oder Englisch). Andere landesspezifische Websites von MathWorks sind für Besuche von Ihrem Standort aus nicht optimiert.
Amerika
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)