zh-translation:/docs/setup/platform-setup/docker/index.md (#5373)

* Add platform setup for docker desktop guide in Chinese.

* Fix Docker Desktop to English

* modify the description words for easy reading
This commit is contained in:
Tuo 2019-11-05 20:56:44 +08:00 committed by Istio Automation
parent b5d87dddbc
commit 50cd5bddf7
1 changed files with 12 additions and 13 deletions

View File

@ -1,6 +1,6 @@
---
title: Docker Desktop
description: Instructions to setup Docker Desktop for Istio.
description: 在 Docker Desktop 中运行 Istio 的设置说明。
weight: 12
skip_seealso: true
aliases:
@ -10,25 +10,24 @@ aliases:
keywords: [platform-setup,kubernetes,docker-desktop]
---
1. To run Istio with Docker Desktop, install a version which contains a supported Kubernetes version
({{< supported_kubernetes_versions >}}).
1. 如果你想在 Docker Desktop 下运行 Istio则需要安装受支持的 Kubernetes 版本
({{< supported_kubernetes_versions >}})
1. If you want to run Istio under Docker Desktop's built-in Kubernetes, you need to increase Docker's memory limit
under the *Advanced* pane of Docker Desktop's preferences. Set the resources to 8.0 `GB` of memory and 4 `CPUs`.
1. 如果你想在 Docker Desktop 内置的 Kubernetes 下运行Istio你可能需要在 Docker 首选项的 Advanced 面板下增加 Docker 的内存限制。设置可用的内存资源为 8.0 `GB` 以及 4 核心 `CPUs`.
{{< image width="60%" link="./dockerprefs.png" caption="Docker Preferences" >}}
{{< warning >}}
Minimum memory requirements vary. 8 `GB` is sufficent to run
Istio and Bookinfo. If you don't have enough memory allocated in Docker Desktop,
the following errors could occur:
最低内存的要求不尽相同。8 `GB` 足以运行
Istio 和 Bookinfo 实例。如果你没有足够的内存用于 Docker Desktop
则可能发生以下错误:
- image pull failures
- healthcheck timeout failures
- kubectl failures on the host
- general network instability of the hypervisor
- 镜像拉取失败
- 健康检查超时失败
- 宿主上 kubectl 运行失败
- 虚拟机管理程序的网络不稳定
Additional Docker Desktop resources may be freed up using:
为 Docker Desktop 释放出更多可用资源:
{{< text bash >}}
$ docker system prune