This is an automated email from the ASF dual-hosted git repository. twice pushed a commit to branch PragmaTwice-patch-1 in repository https://gitbox.apache.org/repos/asf/kvrocks-controller.git
commit 3cdb8b3d08315c1e4d88e61c836c24e44860eee8 Author: Twice <[email protected]> AuthorDate: Wed Jan 29 21:16:17 2025 +0800 Add docker instructions to README --- README.md | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index bc33c69..502b43a 100644 --- a/README.md +++ b/README.md @@ -9,11 +9,7 @@ Apache Kvrocks Controller is a cluster management tool for [Apache Kvrocks](http * Manage many clusters in one controller cluster * Support multi metadata storages like etcd and so on -## Build and Running - -### Requirements - -* Go >= 1.19 +## Building and Running ### Build binaries @@ -22,16 +18,16 @@ $ git clone https://github.com/apache/kvrocks-controller $ cd kvrocks-controller $ make # You can find the binary file in the `_build` dir if all goes good ``` + ### Overview  For the storage, the ETCD is used as the default storage now. Welcome to contribute other storages like MySQL, Redis, Consul and so on. And what you need to do is to implement the [Engine interface](https://github.com/apache/kvrocks-controller/blob/unstable/store/engine/engine.go). ### Supported Storage Engine - -- [x] ETCD -- [x] Zookeeper -- [x] Consul by HashiCorp -- [x] Embedded Storage based on Raft (experimental) +- ETCD +- Zookeeper +- Consul by HashiCorp +- Embedded Raft storage (experimental) ### Run the controller server @@ -42,6 +38,12 @@ $ make setup $ ./_build/kvctl-server -c config/config.yaml ``` +### Run the controller server in Docker + +```shell +$ docker run -it -p 9379:9379 apache/kvrocks-controller:latest +``` +  ### Run server with the embedded Raft engine
