问题描述
我正在使用Kubernetes的官方稳定的ZooKeeper Helm图表可从Google Container Registry上的Google示例图像中提取ZooKeeper Docker图像.
I'm using the official stable ZooKeeper Helm chart for Kubernetes which pulls a ZooKeeper Docker image from Google's sample images on Google Container Registry.
该ZooKeeper图像可用在此,但是,我似乎找不到关于Dockerfile的任何引用,以了解其构建方式或它的Dockerfile是由其他表示形式生成的(例如,通过Bazel ).我想知道诸如映像上还安装了什么,映像所基于的操作系统等信息.
That ZooKeeper image is available here, however, I can't seem to find any reference to the Dockerfile for how it is built or if its Dockerfile is generated from some other representation (e.g., via Bazel). I'd like to know info like what else is installed on the image, what OS it's based on, etc.
一般来说,在GCR上公开托管的Google示例图像的Dockerfile是否可用?
In general are Dockerfiles for the Google sample images publicly hosted on GCR available?
对于ZooKeeper图像,我想确定其与相比的方式. Confluent的ZooKeeper图片:相似吗?它是否在Kubernetes上捆绑了一些额外的东西来运行ZooKeeper?等等
For the ZooKeeper image specifically, I'd like to determine how it compares to Confluent's ZooKeeper image: is it similar? Does it bundle something extra for running ZooKeeper on top of Kubernetes? etc
到目前为止,我已经做了大量的Google搜索,请仔细阅读 Google容器注册表文档, GitHub上的Google org 和,但找不到该信息.
So far I've done quite a bit of Googling, read through the Google Container Registry docs, poked around the Google org on GitHub, and searched Stack Overflow but haven't been able to locate this info.
推荐答案
请不要将gcr.io/google-samples
中的图像用于生产.
Please do not use images from gcr.io/google-samples
for production use.
这些图像仅用于cloud.google.com上的GKE教程,因此不会得到积极维护,因为我们不会针对图像等组件的安全漏洞对其进行重建.
These images are used solely for GKE tutorials on cloud.google.com and they are not actively maintained, in the sense that we don't rebuild them for security vulnerabilities for the components on the images etc.
其中一些图像的源代码位于> https://github.com/GoogleCloudPlatform /kubernetes-engine-samples/.
Source codes for some of the images are at https://github.com/GoogleCloudPlatform/kubernetes-engine-samples/.
这篇关于Dockerfile是否可用于Google Container Registry上的Google示例图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!