From 83619ad6e307537ef0d9ca3bec2a887ebd35e18e Mon Sep 17 00:00:00 2001 From: Kang HuaiShuai Date: Fri, 29 Nov 2019 23:16:18 +0800 Subject: [PATCH] [Public] coding.net domain is *.mirror.docker-practice.com Signed-off-by: Kang HuaiShuai --- .github/workflows/ci.yaml | 3 +++ .vuepress/config.js | 2 +- SUMMARY.md | 4 ++-- install/experimental.md | 6 +++++- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4cfaece..96f5b83 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -33,6 +33,9 @@ jobs: PCIT_MESSAGE: Sync from yeasy/docker_practice@${{github.sha}} by PCIT PCIT_TARGET_BRANCH: master PCIT_USERNAME: khs1994 + - name: Set coding.net CNAME + run: | + echo "vuepress.mirror.docker-practice.com" > .vuepress/dist/CNAME - name: Upload Vuepress dist to coding.net uses: docker://pcit/pages if: github.repository == 'docker-practice/docker_practice' diff --git a/.vuepress/config.js b/.vuepress/config.js index 287ce33..233b875 100644 --- a/.vuepress/config.js +++ b/.vuepress/config.js @@ -3,7 +3,7 @@ module.exports = { base: '/', themeConfig: { docsRepo: 'yeasy/docker_practice', - docsDir: '/vuepress', + docsDir: '/', editLinks: true, nav: [{ text: '安装 Docker', diff --git a/SUMMARY.md b/SUMMARY.md index 5229ed5..b9e83ba 100644 --- a/SUMMARY.md +++ b/SUMMARY.md @@ -129,13 +129,13 @@ * [腾讯云](cloud/tencentCloud.md) * [阿里云](cloud/alicloud.md) * [小结](cloud/summary.md) -* [实战案例-操作系统](cases/os/README.md) +* [实战案例 - 操作系统](cases/os/README.md) * [Busybox](cases/os/busybox.md) * [Alpine](cases/os/alpine.md) * [Debian Ubuntu](cases/os/debian.md) * [CentOS Fedora](cases/os/centos.md) * [本章小结](cases/os/summary.md) -* [实战案例-CI/CD](cases/ci/README.md) +* [实战案例 - CI/CD](cases/ci/README.md) * [GitHub Actions](cases/ci/actions/README.md) * [Drone](cases/ci/drone/README.md) * [部署 Drone](cases/ci/drone/install.md) diff --git a/install/experimental.md b/install/experimental.md index f4f6895..037ea40 100644 --- a/install/experimental.md +++ b/install/experimental.md @@ -23,7 +23,11 @@ $ export DOCKER_CLI_EXPERIMENTAL=enabled **Windows** ```powershell -$ set $env:DOCKER_CLI_EXPERIMENTAL=enabled +# 临时生效 +$ set $env:DOCKER_CLI_EXPERIMENTAL="enabled" + +# 永久生效 +$ [environment]::SetEnvironmentvariable("DOCKER_CLI_EXPERIMENTAL","enabled","User") ``` ## 开启 Dockerd 的实验特性