Docker
Run Only the Collector
Start the Container
docker run --privileged --cgroupns=host --network=host -v /sys:/sys -v /proc:/proc -v /run:/run huatuo/huatuo-bamai:latest
⚠️ This uses the default configuration file inside the container. The internal default configuration does not connect to Elasticsearch. For a complete setup, mount your own
huatuo-bamai.confusing-v, and update the config according to your environment (kubelet access, Elasticsearch settings, local log storage path, etc.).
Deploy All Components (Docker Compose)
For local development and validation, using Docker Compose is the most convenient approach.
You can quickly launch a full environment containing the collector, Elasticsearch, Prometheus, Grafana, and other components.
docker compose --project-directory ./build/docker up
It is recommended to install Docker Compose using the plugin method: https://docs.docker.com/compose/install/linux/
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.