diff options
| author | n1c00o <34602094+n1c00o@users.noreply.github.com> | 2021-08-05 22:12:52 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-05 22:12:52 +0200 |
| commit | 02d2a98aef43dd8b8725edc678f077de82a8b7f0 (patch) | |
| tree | 889d46785b5bc9a46aa680e21b0089e0ebd07f86 | |
| parent | 914e91a679f721daa794c2a8925a1f5a456caba5 (diff) | |
Add docker hub image
| -rw-r--r-- | README.md | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -14,18 +14,14 @@ An ID number is composed of: > You need to use the nightly toolchain! -Build the container - -```sh -docker build --tag clawflake:1.0 . -``` - Run the container ```sh -docker run -e CLAWFLAKE_EPOCH=<epoch> -e CLAWFLAKE_WORKER_ID=<worker_id> -e CLAWFLAKE_DATACENTER_ID=<datacenter_id> -p <host port>:50051 clawflake:1.0 +docker run -e CLAWFLAKE_EPOCH=<epoch> -e CLAWFLAKE_WORKER_ID=<worker_id> -e CLAWFLAKE_DATACENTER_ID=<datacenter_id> -p <host port>:50051 docker pull n1c00o/clawflake ``` +(or you can build from source) + You can then create your client using [clawflake.rs](clawflake.rs) and start communicate with the service. An example client can be found [here](src/client.rs)! |
