cli experimental is deprecated on 20.10

Signed-off-by: Kang Huaishuai <khs1994@khs1994.com>
pull/494/head
Kang Huaishuai 2021-04-18 18:58:58 +08:00
parent da614e8441
commit 6cfc12eece
No known key found for this signature in database
GPG Key ID: 5E515022F565DA09
7 changed files with 22 additions and 50 deletions

View File

@ -126,8 +126,8 @@ module.exports = config({
// link: '' // link: ''
// }, // },
{ {
text: '2021', text: '',
link: 'https://cloud.tencent.com/act/cps/redirect?redirect=10488&cps_key=3a5255852d5db99dcd5da4c72f05df61&from=activity' link: 'https://cloud.tencent.com/act/cps/redirect?redirect=1062&cps_key=3a5255852d5db99dcd5da4c72f05df61&from=console'
}, },
// { // {
// text: '语言', // text: '语言',
@ -151,7 +151,7 @@ module.exports = config({
'design', 'design',
{ {
title: "部署 Kubernetes", title: "部署 Kubernetes",
collapsable: false, collapsable: true,
children: [ children: [
"setup/", "setup/",
"setup/kubeadm", "setup/kubeadm",
@ -162,7 +162,7 @@ module.exports = config({
}, },
{ {
title: "Kubernetes 命令行 kubectl", title: "Kubernetes 命令行 kubectl",
collapsable: false, collapsable: true,
children: [ children: [
'kubectl/' 'kubectl/'
] ]
@ -185,7 +185,7 @@ module.exports = config({
'fedora', 'fedora',
'centos', 'centos',
'raspberry-pi', 'raspberry-pi',
'offline', // 'offline',
'mac', 'mac',
'windows', 'windows',
'mirror', 'mirror',
@ -216,7 +216,7 @@ module.exports = config({
'actions/', 'actions/',
{ {
title: "Drone", title: "Drone",
collapsable: false, collapsable: true,
children: [ children: [
'drone/', 'drone/',
'drone/install' 'drone/install'
@ -327,7 +327,7 @@ module.exports = config({
}, },
{ {
title: "高级网络配置", title: "高级网络配置",
collapsable: false, collapsable: true,
children: [ children: [
'advanced_network/', 'advanced_network/',
'advanced_network/quick_guide', 'advanced_network/quick_guide',
@ -341,7 +341,7 @@ module.exports = config({
}, },
{ {
title: "Swarm mode", title: "Swarm mode",
collapsable: false, collapsable: true,
children: [ children: [
'swarm_mode/', 'swarm_mode/',
'swarm_mode/overview', 'swarm_mode/overview',
@ -355,7 +355,7 @@ module.exports = config({
}, },
{ {
title: "安全", title: "安全",
collapsable: false, collapsable: true,
children: [ children: [
'security/', 'security/',
'security/kernel_ns', 'security/kernel_ns',
@ -368,7 +368,7 @@ module.exports = config({
}, },
{ {
title: "底层实现", title: "底层实现",
collapsable: false, collapsable: true,
children: [ children: [
'underly/', 'underly/',
'underly/arch', 'underly/arch',
@ -391,7 +391,7 @@ module.exports = config({
}, },
{ {
title: "Etcd", title: "Etcd",
collapsable: false, collapsable: true,
children: [ children: [
'etcd/', 'etcd/',
'etcd/intro', 'etcd/intro',
@ -402,7 +402,7 @@ module.exports = config({
}, },
{ {
title: "Fedora CoreOS", title: "Fedora CoreOS",
collapsable: false, collapsable: true,
children: [ children: [
'coreos/', 'coreos/',
'coreos/intro', 'coreos/intro',
@ -413,7 +413,7 @@ module.exports = config({
'appendix/faq/', 'appendix/faq/',
{ {
title: "热门镜像介绍", title: "热门镜像介绍",
collapsable: false, collapsable: true,
children: [ children: [
'appendix/repo/', 'appendix/repo/',
'appendix/repo/ubuntu', 'appendix/repo/ubuntu',
@ -430,7 +430,7 @@ module.exports = config({
}, },
{ {
title: "Docker 命令", title: "Docker 命令",
collapsable: false, collapsable: true,
children: [ children: [
'appendix/command/', 'appendix/command/',
'appendix/command/docker', 'appendix/command/docker',

View File

@ -51,7 +51,7 @@ Docker 自身仍在快速发展中,生态环境也在蓬勃成长。建议初
* QQ IX 571502246 * QQ IX 571502246
* QQ X 145983035 * QQ X 145983035
> [Issues](https://github.com/yeasy/docker_practice/issues/new/choose) 来提出。 > [Issues](https://github.com/yeasy/docker_practice/issues/new/choose) 来提出。
## ##

View File

@ -1,9 +1,5 @@
# 使 Buildx # 使 Buildx
## Buildx
`buildx` [](../install/experimental.md) Docker CLI
## 使 ## 使
使 `docker buildx build` 使 `docker buildx build`

View File

@ -34,8 +34,6 @@ $ docker run -it --rm username/test
使 `$ docker manifest inspect golang:alpine` `manifest` 使 `$ docker manifest inspect golang:alpine` `manifest`
> [](../install/experimental)
```bash ```bash
$ docker manifest inspect golang:alpine $ docker manifest inspect golang:alpine
``` ```

View File

@ -2,35 +2,11 @@
docker **** 使 docker **** 使
## Docker CLI ## Docker CLI
`~/.docker/config.json` `v20.10` Docker CLI
```json ## dockerd
{
"experimental": "enabled"
}
```
**Linux/macOS**
```bash
$ export DOCKER_CLI_EXPERIMENTAL=enabled
```
**Windows**
```powershell
#
$ set $env:DOCKER_CLI_EXPERIMENTAL="enabled"
#
$ [environment]::SetEnvironmentvariable("DOCKER_CLI_EXPERIMENTAL","enabled","User")
```
## Dockerd
`/etc/docker/daemon.json` `/etc/docker/daemon.json`

View File

@ -16,7 +16,9 @@ $ brew install --cask docker
### ###
[](https://desktop.docker.com/mac/stable/Docker.dmg) 下载 Docker Desktop for Mac。 [](https://desktop.docker.com/mac/stable/amd64/Docker.dmg) 下载 Docker Desktop for Mac。
> M1 `arm64` [](https://desktop.docker.com/mac/stable/arm64/Docker.dmg) 下载 Docker Desktop for Mac。你可以在 [官方文档](https://docs.docker.com/docker-for-mac/apple-silicon/) 查阅已知的问题。
macOS `.dmg` [Moby](https://www.docker.com/blog/call-me-moby-dock/) 的鲸鱼图标拖拽到 `Application` 文件夹即可(其间需要输入用户密码)。 macOS `.dmg` [Moby](https://www.docker.com/blog/call-me-moby-dock/) 的鲸鱼图标拖拽到 `Application` 文件夹即可(其间需要输入用户密码)。

View File

@ -8,7 +8,7 @@
**** ****
[](https://desktop.docker.com/win/stable/Docker%20Desktop%20Installer.exe) 下载 Docker Desktop for Windows。 [](https://desktop.docker.com/win/stable/amd64/Docker%20Desktop%20Installer.exe) 下载 Docker Desktop for Windows。
`Docker Desktop Installer.exe` `Docker Desktop Installer.exe`