Other Docker Image Commands
The mws-docker.sh script provides the following additional commands for working with Docker images for My webMethods Server.
saveImage
Saves an image from the local Docker registry to a zip file. This command accepts the following parameters:
-Dimage.name: Required. The name of the image to save.
-Dfile.path: Optional. The file path for the image. The default values are:
Software AG_directory /MWS/tools/docker/images/file.path if you specify only a file name, and
Software AG_directory /MWS/tools/docker/images/image.name.zip if not specified.
loadImage
Loads an image from an archive. This command accepts the following parameters:
-Dfile.path: Required. The file path for the image to load. Specify an absolute path or a file name only. If you specify only a file name, the image is loaded from
Software AG_directory /MWS/tools/docker/images/file.path. pushImage
Pushes a My webMethods Server image to a remote Docker registry. This command accepts the following parameters:
-Dimage.name: Required. The name of the
My webMethods Server image to push.
-Dimage.tag: Optional. tag name to use for the image when pushing it to the Docker registry. The default is
image.name.
-Dserver: Required. URL to the Docker registry.
-Drepository.name: Required. The name of the repository to which to push the image.
-Duser: Required. The user name of the user to authenticate to the Docker registry.
-Dpassword: Required. The password of the user to log on to the Docker registry. Specify a plain text password or the full path to a text file that contains the password, for example
-Dpassword=file://full_file_path.