Skip to content

Commit cc86207

Browse files
authored
Merge pull request #33358 from kinzhi/kinzhi70
[zh]Update content/zh/blog/_posts/2022-02-17-updated-dockershim-faq.md
2 parents f96d4b3 + eaf047e commit cc86207

File tree

1 file changed

+31
-4
lines changed

1 file changed

+31
-4
lines changed

content/zh/blog/_posts/2022-02-17-updated-dockershim-faq.md

Lines changed: 31 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
---
22
layout: blog
33
title: "更新:弃用 Dockershim 的常见问题"
4+
linkTitle: "弃用 Dockershim 的常见问题"
45
date: 2022-02-17
56
slug: dockershim-faq
67
---
78
<!--
89
layout: blog
910
title: "Updated: Dockershim Removal FAQ"
11+
linkTitle: "Dockershim Removal FAQ"
1012
date: 2022-02-17
1113
slug: dockershim-faq
1214
aliases: [ '/dockershim' ]
@@ -312,13 +314,13 @@ runtime where possible.
312314
<!--
313315
Another thing to look out for is anything expecting to run for system maintenance
314316
or nested inside a container when building images will no longer work. For the
315-
former, you can use the [`crictl`][cr] tool as a drop-in replacement (see [mapping from docker cli to crictl](https://kubernetes.io/docs/tasks/debug-application-cluster/crictl/#mapping-from-docker-cli-to-crictl)) and for the
317+
former, you can use the [`crictl`][cr] tool as a drop-in replacement (see [mapping from docker cli to crictl](https://kubernetes.io/docs/tasks/debug/debug-cluster/crictl/#mapping-from-docker-cli-to-crictl)) and for the
316318
latter you can use newer container build options like [img], [buildah],
317319
[kaniko], or [buildkit-cli-for-kubectl] that don’t require Docker.
318320
-->
319321
另外还有一个需要关注的点,那就是当创建镜像时,系统维护或嵌入容器方面的任务将无法工作。
320322
对于前者,可以用 [`crictl`](https://github.com/kubernetes-sigs/cri-tools) 工具作为临时替代方案
321-
(参阅[从 docker cli 到 crictl 的映射](/zh/docs/tasks/debug-application-cluster/crictl/#mapping-from-docker-cli-to-crictl))。
323+
(参阅[从 docker cli 到 crictl 的映射](/zh/docs/tasks/debug/debug-cluster/crictl/#mapping-from-docker-cli-to-crictl))。
322324
对于后者,可以用新的容器创建选项,例如
323325
[img](https://github.com/genuinetools/img)
324326
[buildah](https://github.com/containers/buildah)
@@ -335,10 +337,10 @@ options are available as you migrate things over.
335337

336338
<!--
337339
For instructions on how to use containerd and CRI-O with Kubernetes, see the
338-
Kubernetes documentation on [Container Runtimes]
340+
Kubernetes documentation on [Container Runtimes].
339341
-->
340342
有关如何在 Kubernetes 中使用 containerd 和 CRI-O 的说明,
341-
请参阅 [Kubernetes 相关文档](/docs/setup/production-environment/container-runtimes/)
343+
请参阅 [Kubernetes 相关文档](/docs/setup/production-environment/container-runtimes/)
342344

343345
<!--
344346
### What if I have more questions?
@@ -353,6 +355,13 @@ to our end user community forum: https://discuss.kubernetes.io/.
353355
如果你使用了供应商支持的 Kubernetes 发行版,你可以咨询供应商他们产品的升级计划。
354356
对于最终用户的问题,请把问题发到我们的最终用户社区的论坛:https://discuss.kubernetes.io/。
355357

358+
<!--
359+
You can discuss the decision to remove dockershim via a dedicated
360+
[GitHub issue](https://github.com/kubernetes/kubernetes/issues/106917).
361+
-->
362+
你可以通过专用 [GitHub 问题](https://github.com/kubernetes/kubernetes/issues/106917)
363+
讨论删除 dockershim 的决定。
364+
356365
<!--
357366
You can also check out the excellent blog post
358367
[Wait, Docker is deprecated in Kubernetes now?][dep] a more in-depth technical
@@ -361,6 +370,24 @@ discussion of the changes.
361370
你也可以看看这篇优秀的博客文章:[等等,Docker 被 Kubernetes 弃用了?](https://dev.to/inductor/wait-docker-is-deprecated-in-kubernetes-now-what-do-i-do-e4m)
362371
对这些变化进行更深入的技术讨论。
363372

373+
<!--
374+
### Is there any tooling that can help me find dockershim in use
375+
-->
376+
### 是否有任何工具可以帮助我找到正在使用的 dockershim
377+
378+
<!--
379+
Yes! The [Detector for Docker Socket (DDS)][dds] is a kubectl plugin that you can
380+
install and then use to check your cluster. DDS can detect if active Kubernetes workloads
381+
are mounting the Docker Engine socket (`docker.sock`) as a volume.
382+
Find more details and usage patterns in the DDS project's [README][dds].
383+
-->
384+
是的! [Docker Socket 检测器 (DDS)][dds] 是一个 kubectl 插件,
385+
你可以安装它用于检查你的集群。 DDS 可以检测运行中的 Kubernetes
386+
工作负载是否将 Docker 引擎套接字 (`docker.sock`) 作为卷挂载。
387+
在 DDS 项目的 [README][dds] 中查找更多详细信息和使用方法。
388+
389+
[dds]: https://github.com/aws-containers/kubectl-detector-for-docker-socket
390+
364391
<!--
365392
### Can I have a hug?
366393
-->

0 commit comments

Comments
 (0)