Managing Containers
Starting a Container
To start a container:
Command:
gs.{sh/bat} container start <host>
Description:
This commands starts a container.
Input Example:
Parameters and Options:
Item | Name | Description |
---|---|---|
Parameter | host | Provide the name of the host where the container should be started. |
Option | —memory:<memory> | Define the maximum amount of JVM![]() |
Option | —zone=<zone name> | Define the zone where the new container should be started. |
Option | —property=<String=String> | Provide additional system properties. |
Terminating a Container
To terminate a container:
Command:
xgs.{sh/bat} container kill <container ID>
Description:
This command stops (terminates) the specified container.
Input Example:
Parameters and Options:
Item | Name | Description |
---|---|---|
Parameter | container ID | ID of the container to be terminated. |
Option | zones | Specify the zone(s) where the container should be terminated. |
Restarting a Container
To restart a container:
Creating a Container
This functionality is only available with the Command Line Interface.
To create a container:
Command:
gs.{sh/bat} container create <container ID>
Description:
This command creates the specified container.
Input Example:
Parameters and Options:
Item | Name | Description |
---|---|---|
Parameter | container ID | ID of the container to be created. |
Option | count | Number of containers to be created. |