Comments (29)
I'm wearing my Bitnami hat 🎩
We are closely following this project with the idea of adding a Valkey container and Helm chart to the Bitnami catalog so they're available for users. By default, images and charts are released into DockerHub (without rate limit restrictions) and other registries such as AWS Public Gallery.
Once the first release is cut in this project, we will evaluate the addition.
from valkey.
Hi, I was looking into it and implementing a few workflows for automation and GHCR looks like a good option.
from valkey.
Eagerly awaiting this for an independent project so I can replace Redis with Valkey in my Docker Compose file!
from valkey.
I've added support for linux/amd64, linux/arm64 and this would be here https://hub.docker.com/r/valkey/valkey
The github repo for Dockerfile source can be found https://github.com/valkey-io/valkey-container
from valkey.
I would also recommend publishing to dockerhub (for discoverability) but applying for DSOS status to get rate limiting and retentions lifted - https://www.docker.com/community/open-source/application/
from valkey.
@roshkhatri Any love for GHCR? It should be pretty straight forward to add that now
from valkey.
Please consider podman/buildah as default (and true cloud first, addressing kubernetes/Openshift) and addressing rootless containers with a reasonable capability set (LinuxSE). quay.io would be nice for a.deployment as well.
from valkey.
GHCR would be best, Dockerhub's rate limits and retentions are bad. Plus remember when they tried to pull one over on us by forcing Docker Teams to pay up or apply for their OSS program (which people had problems with applying to in the past) and if they didn't they would be deleted. Pepperidge Farm Remembers
from valkey.
I am testing the new workflow to publish to docker and once we have a release we will have a workflow to publish on docker and ghcr. This is the image from unstable I was able to publish: https://hub.docker.com/r/roshkhatri/valkey. Once we know the platforms, operating systems we want a docket image for, we can add rest of the implementations.
Let us know if need help. Remember to make the images multi-platform (amd64 and arm64 at least), to make easier for everybody.
from valkey.
And why use Debian "by default", when other distributions are clearly suitable?
My 2c (as large-scale consumers of images ourselves and a re-packager of upstream images for our downstream consumers) is that adhering to the established practice is generally a smoother and more consistent experience for downstream users, who rely on timely upstream security updates, consistent platforms to extend, and stable inclusions. Debian and Alpine security best practices, disclosures, and transparency are A++ (in my opinion) and make my life far easier.
A quick (albeit rudimentary) search of the official docker-library images shows over 100 based on Debian, ~90 on Alpine, 10 on Ubuntu, and none on Fedora, which would certainly lean towards them should adoption as an official image be sought (which it probably should 😉!).
The projects whose images we support that have moved away from Debian/Alpine ((we've crossed paths with AL2, Oracle Linux, and UBI), are the ones that cause us the most lost time, usually require refactoring, and may have unpredictable security releases or unclear remediation pathways.
from valkey.
We do have a new
7.2.4-rc1
version out and I did also push images on docker-hub https://hub.docker.com/r/valkey/valkey
I have opened some new issues to discuss topics from this one. Please add more if you think of something.
Thanks! I've tested it and it seems to work fine as a drop-in replacement for Redis in Docker Compose.
from valkey.
Bitnami just released the container images, see the images in DockerHub
and the source code in GitHub
- https://github.com/bitnami/containers/tree/main/bitnami/valkey
- https://github.com/bitnami/containers/tree/main/bitnami/valkey-sentinel
Any feedback is more than welcome, you can report any issue or suggestion at https://github.com/bitnami/containers/issues/new/choose
Now it's time for the Helm chart! 🚀
from valkey.
I'm excited to share that we've just released the Bitnami Valkey Helm chart, now available on Docker Hub at https://hub.docker.com/r/bitnamicharts/valkey, simplifying the deployment of Valkey in Kubernetes.
Built upon the same principles as our other Bitnami charts, Valkey follows the latest best practices and security industry standards. Learn more about our commitment to security here.
We welcome your feedback and contributions on GitHub. Whether it's reporting issues, suggesting improvements, or contributing code, your input is invaluable so we can, together, continue to enhance the product.
from valkey.
I am testing the new workflow to publish to docker and once we have a release we will have a workflow to publish on docker and ghcr.
This is the image from unstable I was able to publish: https://hub.docker.com/r/roshkhatri/valkey.
Once we know the platforms, operating systems we want a docket image for, we can add rest of the implementations.
from valkey.
I think we can close this now. I see that there are now followup issues for other distribution containers. Help is definitely appreciated to get all of those setup. Please 👍 the other issues if you would like to see them but don't know how to implement it.
from valkey.
Vote to publish to ghcr and docker.io (with OSS program rate limit) with an official image from valkey. Bitnami and others can release Redis paring containers for easy switch, and still be supported by the community.
from valkey.
An important point: Fedora is much less prone to security problems: http://www.diva-portal.se/smash/get/diva2:1212525/FULLTEXT01.pdf (p. 17)
I had to carry out security and adaptability (and performance) studies on images based on Debian, then recompiled under the same terms on RH and Fedora.
Debian is widespread, but I guarantee it's not as reliable as people want to make out.
Still, I think, and I'm far from being the only one, that offering images outside ".deb based" is a good idea. For reasons of flexibility and respect for good practice (particularly with regard to the labeling of mounted volumes), it's potentially worth looking into the matter. In short, I repeat, I'm capable of following valkey's startup principles from the others images and adapting the image accordingly, but I'll only do so if it's "visible" to the community.
Doing it in my corner, on an independent repository, has no scope. (And I'm not looking for fame, I'm looking to help).
from valkey.
The document says "most in 5 days", "average in 90 days" for both Debian and Fedora. It also says that Debian has a lower median (49 vs 56). All that makes little sense for a base image which only includes essential packages.
The result showed that the most common number of days for
a CVE to be fixed was approximately 5 days on Debian.
The result also showed that all CVE fixes for Debian has an average number of days from
the published date to when the fix was found in the changelog of 90.63 days. The median of
all CVE fixes for Debian was 49 and the standard deviation was 131.05.
The result showed that the most common number of days for
a CVE to be fixed was approximately 5 days on Fedora.
The result also showed that all CVE fixes for Fedora has an average number of days from
the published date to when the fix was found in the changelog of 90.59 days. The median of
all CVE fixes for Fedora was 56 and the standard deviation was 116.53.
from valkey.
Hi, How about we support all? If so, how much overhead will we have to maintain these distributions?
If you one want to contribute to make something better, you are very much welcome. We do need more expertise on docker and containers, as I am also learning new things and might need help. I would be glad to work with you all personally.
Please feel free to open new issues on https://github.com/valkey-io/valkey-container/issues so we can discuss more topics in the community about improvements and new stuff.
We do have a new 7.2.4-rc1
version out and I did also push images on docker-hub https://hub.docker.com/r/valkey/valkey
I have opened some new issues to discuss topics from this one. Please add more if you think of something.
Publishing images on GHCR: valkey-io/valkey-container#9
Adding Support for Fedora-based images: valkey-io/valkey-container#10
I think this issue was related to adding Valkey docker images, and we can close this issue, unless we get any response.
from valkey.
@carrodher thank you! Will there be also the equivalent of the
redis-cluster
image in the future?
In the short term, our focus is to develop and then improve the regular Valkey Helm chart, then we'll listen to the feedback from the community and users and based on that will define the following actions; but yes, it is a possibility at some point.
from valkey.
At bitnami/charts#25643 you can see the PR implementing the Valkey Helm chart
from valkey.
I have forked from https://github.com/docker-library/redis to https://github.com/roshkhatri/valkey-container.
Building the Images for officially supported architectures is one thing this project is missing, Which is picked up by the the official images build infrastructure. I am currently trying to add multi-arch support
The Images can be found here: https://hub.docker.com/r/roshkhatri/valkey
from valkey.
Here's my contribution. In my humble opinion, for reasons of versioning and distribution cleanliness, I'm leaning towards Fedora (minimal version).
My Dockerfile looks like this one and I'm using podman instead of Docker (but it's of course compatible)
FROM registry.fedoraproject.org/fedora-minimal:39 as builder
ARG VALKEY_VERSION=redis-7.2.4
RUN microdnf install -y make gcc glibc-devel git curl tar python3; \
microdnf clean all;
RUN set -xe; \
curl -L https://github.com/valkey-io/valkey/archive/refs/tags/$VALKEY_VERSION.tar.gz -o /tmp/valkey.tar.gz; \
tar -xzf /tmp/valkey.tar.gz -C /tmp; \
cd /tmp/valkey-$VALKEY_VERSION; \
make;
make install;
FROM registry.fedoraproject.org/fedora-minimal:39 as cli
COPY --from=builder /usr/local/bin/redis-cli /usr/local/bin/valkey-cli
FROM registry.fedoraproject.org/fedora-minimal:39 as server
COPY --from=builder /usr/local/bin/redis-server /usr/local/bin/valkey-server
I haven't yet planned to copy the configuration file and docker-entry.
I'm really wondering why the Dockerfile (which you retrieved, I'm not castigating you) is so heavy. And why use Debian "by default", when other distributions are clearly suitable.
My dockerfile uses multistage and seems much simpler... So yes, a couple of things are certainly missing, but wouldn't it be wiser to start from scratch, adapt, and do things right?
from valkey.
Ho and for the unstable branch:
(Edited)
FROM registry.fedoraproject.org/fedora-minimal:39 as builder
ARG VALKEY_VERSION=unstable
RUN microdnf install -y make gcc glibc-devel git curl tar python3 which; \
microdnf clean all;
RUN set -xe; \
curl -L https://github.com/valkey-io/valkey/archive/refs/heads/unstable.tar.gz -o /tmp/valkey.tar.gz; \
tar -xzf /tmp/valkey.tar.gz -C /tmp; \
mv /tmp/valkey-$VALKEY_VERSION /tmp/valkey; \
cd /tmp/valkey; \
cd deps; \
make jemalloc lua hdr_histogram fpconv; \
cd ../src; \
make; \
make install;
FROM registry.fedoraproject.org/fedora-minimal:39 as cli
COPY --from=builder /usr/local/bin/valkey-cli /usr/local/bin/valkey-cli
FROM registry.fedoraproject.org/fedora-minimal:39 as server
COPY --from=builder /usr/local/bin/valkey-server /usr/local/bin/valkey-server
COPY --from=builder /usr/local/bin/valkey-check-aof /usr/local/bin/valkey-check-aof
COPY --from=builder /usr/local/bin/valkey-check-rdb /usr/local/bin/valkey-check-rdb
COPY --from=builder /tmp/valkey/valkey.conf /etc/valkey.conf
CMD ["/usr/local/bin/valkey-server", "/etc/valkey.conf"]
from valkey.
On the whole, I'm against this view. Debian poses many problems that require constant tinkering with images. The "httpd" image, for example, requires configuration files to be moved from a standard path (/etc/httpd/conf.f
) to a path that makes no sense (/etc/apache2
+ "site-available" etc...).
Alpine is problematic because of its "libmuscl", which often forces you to find very complex compilation routes.
I don't force anyone to use Fedora, or Red Hat (but that's the distribution our customers ask us for, and we get turned down if the image is based on Ubuntu or Debian).
Just because the majority of images have been going down a sorry path for years, doesn't mean we have to constantly follow in their footsteps. I'm proposing that we have a Fedora-based image to fill a need. I'm willing to maintain this image if need be, but in an official way.
from valkey.
from valkey.
The document explains that this is not the number of CVE which is the problem but the number of days to react that is smaller.
One more time, I only explain that it is important and useful for many consumers to have several possibilities.
I'm not here to fight against distributions, I'm here to defend other distributions. I only reacted to a statement about security.
And to conclude, it's obvious that a distribution with fewer (often useless) packages makes it less prone to security flaws. Which supports my point...
I disagree. I'm not attacking anyone.
(I edited my comment because I badly understood the answer you made. Sorry)
from valkey.
@carrodher you mentioned potentially providing a helm chart
might i ask you to follow up here? https://github.com/orgs/valkey-io/discussions/340
from valkey.
@carrodher thank you! Will there be also the equivalent to the redis-cluster
image in the future?
from valkey.
Related Issues (20)
- [NEW] Handle spamming of custom LUA error messages in the INFO ERRORSTATS section with continued tracking of non LUA errors stats HOT 9
- Introduce PR templates HOT 3
- Hoping for Valkey "Cluster" architecture option HOT 3
- [NEW] add a management-port HOT 13
- [BUG] - Coverage target fails to build because of failing test HOT 4
- [NEW] Add eol data to endoflife.date HOT 2
- [NEW] Add keyspace_hit_ratio metric in info stats
- [Feature-Request]: Cross-Slot Command Execution in ValKey Cluster HOT 2
- [NEW] Support for Active/Active replication HOT 6
- [NEW] Compacting the output of topology commands for for fragmented clusters HOT 1
- Revert mmap_rnd bits back to default value
- [NEW] Support different bind addresses for plain TCP and TLS port
- Deprecate MacOS 11 build target
- New MPUBLISH command to publish multiple messages. HOT 5
- Replace CentOS 7 image with CentOS Stream 9 HOT 1
- Handling edge cases on connSet(Read/Write)Handler
- Validate format of YAML files HOT 2
- [Improvement][Cluster Mode] Remove Unowned Keys After Loading Persistence Files At Server Startup HOT 2
- [NEW] Limit maximum size on disk of AOF files. Avoid disk full, long load times.
- [BUG] Inaccurate total_active_defrag_time calculation?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from valkey.