Quick Start for Control Center with Docker
You can use this quick start to bring up Confluent Platform and Control Center locally with Docker for development and testing. For production, see Multi-Node Installation for Production.
Note
Prometheus and Alertmanager, which Control Center requires for monitoring and
alerting, are included as services in the cp-all-in-one Docker Compose
stack and start automatically with docker compose up -d. You do not
need to install them separately. This differs from the
archive-based single-node installation,
where you must install Prometheus and Alertmanager manually.
Follow these steps to install Confluent Platform and Control Center. For example, the following steps use Confluent Platform 8.2 and Control Center 2.5.
To install Control Center with Docker:
Clone the
cp-all-in-onerepository.git clone --branch control-center https://github.com/confluentinc/cp-all-in-one.git
Change directory into: cp-all-in-one
cd cp-all-in-one/cp-all-in-one
Checkout branch:
8.2.0-postgit checkout 8.2.0-post
Run the docker compose command.
docker compose up -d
Verify Control Center is running
After the installation completes, go to http://localhost:9021/ and wait for
the metrics to appear in Control Center. This can take a couple of minutes.
To confirm Control Center is running, use the following steps:
Open the network tab in Control Center.
Reload Control Center.
Locate the following API call:
/2.0/feature/flagsVerify the following key is present in the response:
confluent.controlcenter.prometheus.enable: true