RethinkDB是一个开源的文档数据库,便于构建和扩展实时应用程序。
Note: this is the "per-architecture" repository for the amd64 builds of https://hub.docker.com/_/rethinkdb -- for more information, see https://github.com/docker-library/official-images#architectures-other-than-amd64 and https://github.com/docker-library/faq#an-images-source-changed-in-git-now-what.
Quick reference
-
Maintained by:
https://github.com/rethinkdb/rethinkdb-dockerfiles -
Where to get help:
https://dockr.ly/comm-slack, Server Fault, https://unix.stackexchange.com/help/on-topic, or https://stackoverflow.com/help/on-topic
Supported tags and respective Dockerfile links
- https://github.com/rethinkdb/rethinkdb-dockerfiles/blob/48876a66c3be922c6b01c436bf78d662e53bceef/bookworm/2.4.4/Dockerfile
Quick reference (cont.)
-
Where to file issues:
https://github.com/rethinkdb/rethinkdb-dockerfiles/issues?q=is:issue+is:pr -
Supported architectures: (https://github.com/docker-library/official-images#architectures-other-than-amd64)
https://hub.docker.com/r/amd64/rethinkdb/, https://hub.docker.com/r/arm64v8/rethinkdb/, https://hub.docker.com/r/s390x/rethinkdb/ -
Published image artifact details:
https://github.com/docker-library/repo-info/blob/master/repos/rethinkdb (https://github.com/docker-library/repo-info/commits/master/repos/rethinkdb)
(image metadata, transfer size, etc) -
Image updates:
https://github.com/docker-library/official-images/issues?q=label%3Alibrary%2Frethinkdb
https://github.com/docker-library/official-images/blob/master/library/rethinkdb (https://github.com/docker-library/official-images/commits/master/library/rethinkdb) -
Source of this description:
https://github.com/docker-library/docs/tree/master/rethinkdb (https://github.com/docker-library/docs/commits/master/rethinkdb)
What is RethinkDB?
RethinkDB is an open-source, distributed database built to store JSON documents and effortlessly scale to multiple machines. It's easy to set up and learn and features a simple but powerful query language that supports table joins, groupings, aggregations, and functions.
How to use this image
Start an instance with data mounted in the working directory
The default CMD of the image is rethinkdb --bind all, so the RethinkDB daemon will bind to all network interfaces available to the container (by default, RethinkDB only accepts connections from localhost).
bashdocker run --name some-rethink -v "$PWD:/data" -d amd64/rethinkdb
Connect the instance to an application
bashdocker run --name some-app --link some-rethink:rdb -d application-that-uses-rdb
Connecting to the web admin interface on the same host
bash$BROWSER "http://$(docker inspect --format \ '{{ .NetworkSettings.IPAddress }}' some-rethink):8080"
Connecting to the web admin interface on a remote / virtual host via SSH
Where remote is an alias for the remote user@hostname:
bash# start port forwarding ssh -fNTL localhost:8080:$(ssh remote "docker inspect --format \ '{{ .NetworkSettings.IPAddress }}' some-rethink"):8080 remote # open interface in browser xdg-open http://localhost:8080 # stop port forwarding kill $(lsof -t -i @localhost:8080 -sTCP:listen)
Configuration
See the official docs for infomation on using and configuring a RethinkDB cluster.
Image Variants
The amd64/rethinkdb images come in many flavors, each designed for a specific use case.
amd64/rethinkdb:<version>
This is the defacto image. If you are unsure about what your needs are, you probably want to use this one. It is designed to be used both as a throw away container (mount your source code and start the container to start your app), as well as the base to build other images off of.
Some of these tags may have names like bookworm in them. These are the suite code names for releases of https://wiki.debian.org/DebianReleases and indicate which release the image is based on. If your image needs to install any additional packages beyond what comes with the image, you'll likely want to specify one of these explicitly to minimize breakage when there are new releases of Debian.
amd64/rethinkdb:<version>-slim
This image does not contain the common packages contained in the default tag and only contains the minimal packages needed to run amd64/rethinkdb. Unless you are working in an environment where only the amd64/rethinkdb image will be deployed and you have space constraints, we highly recommend using the default image of this repository.
License
View https://raw.githubusercontent.com/rethinkdb/rethinkdb/next/LICENSE for the software contained in this image.
As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).
Some additional license information which was able to be auto-detected might be found in https://github.com/docker-library/repo-info/tree/master/repos/rethinkdb.
As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.
amd64 命名空间的其他可用镜像:
镜像拉取方式
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
DockerHub 原生拉取命令
用户好评
来自真实用户的反馈,见证轩辕镜像的优质服务