19 Star 214 Fork 44

GVPRudis/Rudis

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Rudis Docker Image

This is the Dockerfile of the Docker image for Rudis.

Image Variants

ghcr.io/sleeprite/rudis:latest

This is the latest released rusdis Docker image.

ghcr.io/sleeprite/rudis:<version>

Rudis Docker image will be builded on each release, view the package page.

How to use this image

Base

docker run -p 6379:6379 ghcr.io/sleeprite/rudis:latest

With Args

You can add all supported args at the end, like

docker run -p 6379:8848 ghcr.io/sleeprite/rudis:latest --port 8848

Handle Data

Rudis Docker image's default WORKDIR is /rudis, but you can change it with arg --dir /some/other/path

So bind /rudis to handle data

docker run -p 6379:6379 -v /some/path/to/save/data:/rudis ghcr.io/sleeprite/rudis:latest --save 60/1

You can use a config file like this

touch ./config.properties
docker run -p 6379:6379 -v ./:/rudis ghcr.io/sleeprite/rudis:latest --config config.properties
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Rust
1
https://gitee.com/rudis/rudis.git
git@gitee.com:rudis/rudis.git
rudis
rudis
Rudis
master

搜索帮助