Base docker image for GigaSpaces InsightEdge Platform (Enterprise)
50K+

The InsightEdge platform, a combination of the XAP in-memory data grid and an open-source analytics ecosystem, is an in-memory insight platform that supports fast-data analytics, artificial intelligence and real-time applications. Customers can use this platform to develop their own systems that provide instant data-driven insights with time-to-analytics at a sub-second scale. InsightEdge also enables hyperscaling analytics from SQL, and streaming to machine learning via Apache Spark.
Insightedge Enterprise provides the following advantages:
To learn more about GigaSpaces products, visit the website.
To test the InsightEdge Enterprise Docker image, run the following in your command line to display a help screen with all the available commands:
docker run gigaspaces/insightedge-enterprise --help
For example, the version command prints version information:
docker run gigaspaces/insightedge-enterprise version
The InsightEdge Enterprise Docker image utilizes GigaSpaces' command line interface (CLI). To learn more about the command line interface, see CLI documentation, or use the --help option.
The InsightEdge Enterprise image requires a license key to run, which can be provided using the GS_LICENSE environment variable. You can use the tryme license, which enables you to use the full InsightEdge product for 24 hours (and then terminates the image), or you can get a longer evaluation license.
The simplest and fastest way to start working with InsightEdge Enterprise is to get a single instance up and running on your local machine. After the instance is initiated, you can start to explore the various features and capabilities.
To run a single host on your machine:
docker run --name test -it -e GS_LICENSE=tryme gigaspaces/insightedge-enterprise
When running the InsightEdge Enterprise Docker image without arguments, a host is automatically started with the following components:
8090) Learn more8099) Learn more8080)8081)9090)Note: These ports are mapped to your host, so you can access them.
Docker runs containers in a bridge network by default. You can use any of the options described below to enable a client to connect to the Space.
By default, the client uses the host network interface. You can configure the client to use the Docker bridge network interface (the IP address is usually 172.17.0.x). Use the GS_NIC_ADDRESS environment variable to enable the client to contact and interact with the Space.
NOTE: This only works for clients that reside on the same host as the Space. The Docker bridge network is inaccessible to other hosts.
Docker containers that reside on the same host use the same bridge network. If the client is in a Processing Unit, you can run it via another Docker container with the pu run command.
NOTE: This only works for clients that reside on the same host as the Space. Docker containers on other hosts will use a different bridge network.
Docker can run containers on the host network using the --net=host option with the docker run command. In this case, the client can connect and interact with the Space without additional configuration.
NOTE: Docker only supports the --net=host option on Linux hosts.
By default, the data grid's core communication protocol (LRMI) uses the same network interface for both binding and publishing. You can modify this, using the GS_PUBLIC_HOST enviromnent variable, to instruct InsightEdge Enterprise to publish itself using a different network address, for example the host's network address. In this case, you'll have to expose the ports listed in the Ports section from the Docker container to the host. For example:
docker run --name test -it -e GS_LICENSE=tryme -e GS_PUBLIC_HOST=<your-host-ip-or-name> -p 4174:4174 -p 8200-8300:8200-8300 gigaspaces/insightedge-enterprise
When running InsightEdge Enterprise in Docker containers on multiple hosts, you need to either configure GS_PUBLIC_HOST or use the --net=host option as described above, so that containers on different hosts can interact with each other.
The GS_PUBLIC_HOST environment variable complies with common practices of Docker usage, and maintains image isolation. However, as per the Docker documentation, to get optimal performance it is recommended to use the --net=host option, which uses the host network and removes the extra network hop. The InsightEdge Enterprise Docker image supports both options, so choose the one that best suits your needs.
GS_MANAGER_SERVER IP AddressWhen running InsightEdge Enterprise on multiple hosts, you can configure the IP address for the Platform Manager in your network in the GS_MANAGER_SERVERS environment variable. GS_MANAGER_SERVERS=host1,host2,host3 by default is the local manager.
The InsightEdge Enterprise Docker image uses the ports described in the table below. You can change each port using the respective environment variable, or map it to a different port using the -p option in docker run. For example, -p 5174:4174 maps the lookup discovery port to a different port, but maintains the same port within the container.
| Environment Variable | Default Value | Description |
|---|---|---|
| GS_MULTICAST_LOOKUP_PORT | 4174 | Lookup discovery port. (learn more) |
| GS_LRMI_PORT | 8200-8300 | Network protocol port range. (learn more) |
| GS_MANAGER_REST_PORT | 8090 | REST Manager API port. (learn more) |
| GS_WEBUI_PORT | 8099 | Web Management Console port (learn more) |
| GS_WEBSTER_HTTP_PORT | 8199 | Internal web service used as part of the application deployment process. |
| GS_RMI_REGISTRY_PORT | 10098-10108 | Used to communicate with client application. |
| GS_ZOOKEEPER_CLIENT_PORT | 2181 | Used for the Zookeeper client. |
| GS_MANAGER_ZOOKEEPER_DISCOVERY_PORT | 2888 | Used for the Zookeeper discovery ports. |
| GS_MANAGER_ZOOKEEPER_LEADER_ELECTION_PORT | 3888 | Used for the Zookeeper leader election port. |
| SPARK_MASTER_PORT | 7077 | Spark Master port. (learn more) |
| SPARK_MASTER_WEBUI_PORT | 8080 | Spark Master Web UI port. (learn more) |
| SPARK_MASTER_REST_PORT | 6066 | Spark Master REST port. (learn more) |
| ZEPPELIN_PORT | 9090 | Insightedge Apache Zeppelin port. (learn more) |
The Insightedge Enterprise Docker image utilizes GigaSpaces' command line interface (CLI). Any arguments following the image name are passed to the command line.
If no arguments are specified after the image, the default host run-agent --auto command will be run.
To learn more about the command line interface, refer to the CLI documentation, or use the --help option.
This InsightEdge Enterprise Docker image is based on the official openjdk image, and uses Java version 8. To use a different Java version, you have to build a new image using the JAVA_TAG build argument. For example:
docker build --build-arg JAVA_TAG=9 -t gigaspaces/insightedge-enterprise:openjdk-9 .
If you're not sure which versions are available, refer to the supported tags page.
You can also build from a different base image, or even create your own, using the JAVA_IMAGE build argument (e.g. --build-arg JAVA_IMAGE=...)
All logs are stored in opt/gigaspaces/logs within the container. To access the logs, you can do one of the following:
-v option in your docker run command to map this to a folder on your host.docker cp command to copy the files from a Docker instance to a location on your host.To mount the directory to get the logs, use the following command:
-v c:/gigaspaces/test/logs:/opt/gigaspaces/logs
To copy logs from a running instance, use the following command:
docker cp containerId:/opt/gigaspaces/logs .
Content type
Image
Digest
sha256:254674a3f…
Size
1.7 GB
Last updated
about 3 years ago
docker pull gigaspaces/insightedge-enterprise:16.3.0-patch-t-1