KeyDB Official Dockerfiles
This page contains the dockerfiles used to generate different images and tags used for our images. They are listed here for transparency so you can see what you are getting. It also allows you to customize to a custom image that might meet your needs better.
If you find some major improvements you think are beneficial we are open to feedback.
The images are all built from the official release branch. The tag will be versioned at the end, ie. v5.0.3
. You will also see the version number when you launch the server.
There is an image generated every morning at 4am Eastern time for the unstable branch for those who like to keep up with the development of this project.
Note that both KeyDB Community and KeyDB Professional binaries are included in this image.
#
ManifestThe main docker image, "latest", when pulling eqalpha/keydb is a manifest. This means there are 3 images associated, x86_64_vxxx, arm_vxxx, arm64_vxxx. Depending on your system the manifest file will pull the appropriate image. This main pull is based on the latest official release branch on github.
#
Building ImagesYou will note from the Dockerfiles that you should have an "app" directory located where your Dockerfile is. Dockerfile should be named "Dockerfile". In the "app" folder you should place the binaries you want copied over (keydb-server at a minimum). The keydb.conf file should also be located here. You can customize to your liking which can be beneficial. Our Dockerfile modifies our base config file within the Dockerfile instead of using a custom Dockerfile. So you might consider removing the part of the script that modifies it.
See the Dockerfiles for the 5 main images/tags we generate below as well as for the builder:
#
Standard Build#
ARM Build#
Unstable BuildsThis is the same as standard builds, except binaries are generated from the unstable branch on github.