
eqalpha/keydb!Current Release  for which to modify the parameters for. Next specify the config parameter you would like to modify when starting the container with --parameter-name value.
You can see the full set of configuration options here
If you want to bind the container to the node/machine so it is accessible externally pass the parameter -p 6379:6379
$ docker run -v /path-to-config-file/keydb.conf:/etc/keydb/keydb.conf --name mykeydb -d eqalpha/keydb
If you are using your own config file remember to comment out "bind 127.0.0.1", change "protected-mode" from yes to no.
you can grab a copy of the default config file off our github page and modify as you see fit.
As requested by users for Redis compatibility, we have included symbolic links for both redis-cli and redis.conf so they are linked to keydb-cli and keydb.conf respectively.
$ docker run --name some-keydb -d eqalpha/keydb keydb-server /etc/keydb/keydb.conf --appendonly yes
This enables data to be saved every second. Read up more about AOF configuration options here to modify persistence options further.
If persistence is enabled, data is stored in the VOLUME /data, which can be used with --volumes-from some-volume-container or -v /docker/host/dir:/data (see docs.docker volumes).
$ docker run --name some-app --link some-keydb:eqalpha/keydb -d application-that-uses-keydb
you can grab the ip of the container with docker inspect --format '{{ .NetworkSettings.IPAddress }}' mycontainername then run the following:
docker run -it --rm eqalpha/keydb keydb-cli -h <ipaddress-from-above> -p 6379
alternatively you can link to it
$ docker run -it --link some-keydb:eqalpha/keydb --rm eqalpha/keydb keydb-cli -h keydb -p 6379
server-threads N server-thread-affinity [true/false] scratch-file-path /tmp/ multi-master yes active-replica yes
If you keep up to date with KeyDB and want to check out features in the making prior to an official release, you can pull with the unstable tags. This will grab the latest version (automatically updated daily at 4am Eastern). These tags are for x86-64 (amd-64) only.
Pull the latest image with docker pull eqalpha/keydb:unstable
To keep up to date with KeyDB including product, feature & release updates, be sure to follow us on one of our channels below:
manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务