这是indexloc提供的服务,不要输入任何密码
Skip to content

mesutcelik/hazelcast-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hazelcast Docker Image

This repo contains docker image for Hazelcast open-source in-memory data-grid.

Hazelcast OSS

You need to pull hazelcast docker image from Docker registry via command below :

docker pull hazelcast/hazelcast

After that you should be able to run Hazelcast docker image by :

docker run -ti hazelcast/hazelcast

Hazelcast Enterprise

You need to pull hazelcast enterpise docker image from Docker registry via command below :

docker pull hazelcast/hazelcast-enterprise:latest

After that you should be able to run Hazelcast docker image by :

docker run -ti -e HZ_LICENSE_KEY=YOUR_LICENSE_KEY hazelcast/hazelcast-enterprise:latest

Then a Hazelcast Node will be started..

Hazelcast Management Center

You need to pull hazelcast enterpise docker image from Docker registry via command below :

docker pull hazelcast/management-center:latest

After that you should be able to run Hazelcast docker image by :

docker run -ti -p 8080:8080 hazelcast/management-center:latest

then open from browser MACHINE_IP:8080/mancenter

Extending the image

You need to create a new Dockerfile and build it in order to be able to use it. In the Dockerfile example below we are creating a new image based on Hazelcast image and adding our own configuration file, from our host to the container, which is going to be used with Hazelcast when the container runs.

FROM hazelcast:latest
# Add your custom hazelcast.xml
ADD hazelcast.xml $HZ_HOME
# Run hazelcast
CMD java -cp $HZ_HOME/hazelcast-$HZ_VERSION.jar com.hazelcast.core.server.StartServer

After creating the Dockerfile you need to build it. You can build your Dockerfile with the command below :

docker build .

After that you need to be able to run your own container with id or tag (if you provided -t option while building the image) with docker run command.

Issues

Please report issues regarding to Hazelcast docker image by creating github issues on this repository.

Enhancements

If you'd like to make contribution to Hazelcast docker image please feel free to create a pull request.

About

This repository contains docker image for Hazelcast open-source in-memory data-grid.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 100.0%