You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+23-2Lines changed: 23 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,27 @@ use conanfile py script todo ci with makefile release.
43
43
1. use `redis/src/redis-benchmark` add test data, test 1m data mgrt, see [doc/test.md](./docs/test.md).
44
44
2. need use redis tcl script `test_helper.tcl` to run test case;run `bash -x tests/run_test.sh`, so easy~
45
45
3. ci loadmodule use test case to Redis test suite and run all test case. if new feat, add some test case in [tests/redisxslot.tcl](./tests/redisxslot.tcl)
46
+
# Docker
47
+
1. run in local docker
48
+
```shell
49
+
# build redisxslot with latest redis stable version
50
+
make docker_img
51
+
# run redisxslot with latest redis stable version
52
+
make docker_run
53
+
# then run redis-cli in container with bridge docker network for mgrt between container
54
+
```
55
+
2. if docker img is ok, u can push build's img to inner/cloud img hub or docker hub for ci/cd, like this:
56
+
```shell
57
+
# login
58
+
docker login
59
+
# tag a docker hub name
60
+
#docker image tag {taghash} weedge/redisxslot:latest_0.1.0
61
+
docker image tag redisxslot:latest_0.1.0 weedge/redisxslot:latest_0.1.0
62
+
# push your docker hub
63
+
docker push weedge/redisxslot:latest_0.1.0
64
+
# then pull this remote img to run, u can use it~ :)
65
+
docker run -itd --name weedge-redisxslot -p 16379:17000 weedge/redisxslot:latest_0.1.0
0 commit comments