Update alpine content: replace default repo

Signed-off-by: Kang HuaiShuai <khs1994@khs1994.com>
pull/441/head
Kang HuaiShuai 2020-02-27 23:31:01 +08:00
parent d2f5e120ae
commit ca5502e208
No known key found for this signature in database
GPG Key ID: 0A380828B1C243A7
4 changed files with 13 additions and 6 deletions

View File

@ -29,7 +29,7 @@ jobs:
"github.com/yeasy/docker_practice",\
"github.com/twang2218/gitlab-ce-zh.git",\
"github.com/AliyunContainerService/k8s-for-docker-desktop/raw",\
"dl-4.alpinelinux.org/alpine/edge/testing",\
"dl-cdn.alpinelinux.org/alpine/edge/testing",\
"www.w3.org/1999/xhtml",\
"cr.console.aliyun.com",\
"cloud.tencent.com",\
@ -58,7 +58,7 @@ jobs:
"www.aliyun.com" \
--allow-dupe \
--skip-save-results \
-t 5 \
-t 10 \
`find . \( -path "./mesos" -o -path "./machine" -o -path "./swarm_mode" \) -prune -o -name "*.md" -exec ls {} \;`
name: check-link
timeout-minutes: 25

View File

@ -50,10 +50,17 @@ $ apk add --no-cache <package>
`Alpine` `https://pkgs.alpinelinux.org/packages` 使
```bash
$ echo "http://dl-4.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
$ echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
$ apk --update add --no-cache <package>
```
访 `apk` 使 `apk`
```docker
RUN sed -i "s/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g" /etc/apk/repositories \
&& apk add --no-cache <package>
```
##
* `Alpine` https://www.alpinelinux.org/

View File

@ -2,6 +2,6 @@
Docker CE EE CE 7 EE 使 24
Docker CE `stable` `test` `nightly` `stable` (`18.09`, `19.03`, `19.09`...)
Docker CE `stable` `test` `nightly`
[](https://docs.docker.com/install/),这里主要介绍 Docker CE 在 `Linux` 、`Windows 10` 和 `macOS` 上的安装。

View File

@ -2,13 +2,13 @@
##
[Docker Desktop for Mac](https://docs.docker.com/docker-for-mac/) 要求系统最低为 macOS Sierra 10.12
[Docker Desktop for Mac](https://docs.docker.com/docker-for-mac/) 要求系统最低为 macOS Catalina 10.13
##
### 使 Homebrew
[Homebrew](https://brew.sh/) 的 [Cask](https://caskroom.github.io/) 已经支持 Docker Desktop for Mac因此可以很方便的使用 Homebrew Cask 来进行安装:
[Homebrew](https://brew.sh/) 的 [Cask](https://github.com/Homebrew/homebrew-cask) 已经支持 Docker Desktop for Mac因此可以很方便的使用 Homebrew Cask 来进行安装:
```bash
$ brew cask install docker