A newer version of Management Center is available.

View latest

Get Started with Management Center in Docker

In this tutorial, you’ll learn how to start Management Center, using Docker.

You’ll complete the following steps:

  • Start Management Center in dev mode on your local device.

  • Connect Management Center to an existing Hazelcast cluster.

  • Create a map using the SQL browser.

  • Monitor the map.

Before You Begin

To complete this tutorial, you need the following:

Prerequisites Useful resources

Requirements and Compatibilities


A running Hazelcast cluster

Docker image for the Management Center distribution

Step 1. Start Management Center

  1. Start Management Center.

    docker run --rm -p 8080:8080 hazelcast/management-center:5.0.4

    You should see the following terminal log:

    Hazelcast Management Center successfully started at http://localhost:8080

  2. In a web browser, go to localhost:8080 and enable Dev Mode.

    Enable Dev Mode

This mode is a special security provider that allows you to evaluate Management Center, without needing login credentials or authentication tokens for the REST API. For details about security providers, see Security Providers.

Step 2. Connect to the Cluster

  1. Click Connect.

    Connecting to the Hello World Cluster

  2. Enter the name of your cluster, and at least two members' IP addresses and ports.

    We recommend entering more than one member address for fault tolerance.

    You should see the established connection between Management Center and the cluster.

    Connecting to the Hello World Cluster

  3. Click View Cluster to see the cluster’s dashboard.

    Cluster dashboard

Step 3. Create a Map

Management Center comes with a variety of tools for communicating with clusters. In this step, you’ll use the SQL browser to create a map in the cluster and put some data in it.

  1. Click SQL Browser in the toolbar.

    After each of the following SQL queries, click Execute Query.

  2. Create a map called my_distributed_map.

    CREATE MAPPING my_distributed_map TYPE IMap OPTIONS ('keyFormat'='varchar','valueFormat'='varchar');
  3. Put some data into the map.

    SINK INTO my_distributed_map VALUES
       ('1', 'John'),
       ('2', 'Mary'),
       ('3', 'Jane');

Step 4. Monitor the Map

Go to Storage > Maps in Management Center, and select my_distributed_map from the list of maps. You can now see the statistics of your map:

Map Statistics

Next Steps

If you have an Enterprise license or you want to learn about Enterprise features, see Enterprise Licenses.

To serve Management Center over HTTPS instead of HTTP, see Serve Management Center over HTTPS.

For the options you can provide when starting Management Center, see System Properties and Environment Variables.