Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dyrnq committed Nov 28, 2023
1 parent 458e0e3 commit 91607dd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Support systemd、openrc、runit.
## Quickstart

```bash
curl -fsSL https://ghproxy.com/https://raw.githubusercontent.com/dyrnq/install-docker/main/install-docker.sh | bash -s docker --mirror Tuna --version 20.10.18
curl -fsSL https://mirror.ghproxy.com/https://raw.githubusercontent.com/dyrnq/install-docker/main/install-docker.sh | bash -s docker --mirror Tuna --version 20.10.18
```

or with docker-compose
Expand All @@ -37,7 +37,7 @@ curl -fsSL -O https://cdn.jsdelivr.net/gh/dyrnq/install-docker@main/install-dock

or

curl -fsSL -O https://ghproxy.com/https://raw.githubusercontent.com/dyrnq/install-docker/main/install-docker.sh
curl -fsSL -O https://mirror.ghproxy.com/https://raw.githubusercontent.com/dyrnq/install-docker/main/install-docker.sh

chmod +x ./install-docker.sh
```
Expand Down
12 changes: 6 additions & 6 deletions install-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -269,9 +269,9 @@ case "$systemd_mirror" in
SYSTEMD_CONTAINERD_SERVICE="https://cdn.jsdelivr.net/gh/containerd/containerd@main/containerd.service"
;;
ghproxy)
SYSTEMD_DOCKER_SERVICE="https://ghproxy.com/https://raw.githubusercontent.com/docker/docker-ce/master/components/engine/contrib/init/systemd/docker.service"
SYSTEMD_DOCKER_SOCKET="https://ghproxy.com/https://raw.githubusercontent.com/docker/docker-ce/master/components/engine/contrib/init/systemd/docker.socket"
SYSTEMD_CONTAINERD_SERVICE="https://ghproxy.com/https://raw.githubusercontent.com/containerd/containerd/main/containerd.service"
SYSTEMD_DOCKER_SERVICE="https://mirror.ghproxy.com/https://raw.githubusercontent.com/docker/docker-ce/master/components/engine/contrib/init/systemd/docker.service"
SYSTEMD_DOCKER_SOCKET="https://mirror.ghproxy.com/https://raw.githubusercontent.com/docker/docker-ce/master/components/engine/contrib/init/systemd/docker.socket"
SYSTEMD_CONTAINERD_SERVICE="https://mirror.ghproxy.com/https://raw.githubusercontent.com/containerd/containerd/main/containerd.service"
;;
esac

Expand All @@ -285,8 +285,8 @@ case "$openrc_mirror" in
OPENRC_DOCKER_INITD="https://cdn.jsdelivr.net/gh/alpinelinux/aports@master/community/docker/docker.initd"
;;
ghproxy)
OPENRC_DOCKER_CONFD="https://ghproxy.com/https://raw.githubusercontent.com/alpinelinux/aports/master/community/docker/docker.confd"
OPENRC_DOCKER_INITD="https://ghproxy.com/https://raw.githubusercontent.com/alpinelinux/aports/master/community/docker/docker.initd"
OPENRC_DOCKER_CONFD="https://mirror.ghproxy.com/https://raw.githubusercontent.com/alpinelinux/aports/master/community/docker/docker.confd"
OPENRC_DOCKER_INITD="https://mirror.ghproxy.com/https://raw.githubusercontent.com/alpinelinux/aports/master/community/docker/docker.initd"
;;
esac

Expand All @@ -298,7 +298,7 @@ case "$runit_mirror" in
RUNIT_DOCKER_RUN="https://cdn.jsdelivr.net/gh/void-linux/void-packages@master/srcpkgs/moby/files/docker/run"
;;
ghproxy)
RUNIT_DOCKER_RUN="https://ghproxy.com/https://raw.githubusercontent.com/void-linux/void-packages/master/srcpkgs/moby/files/docker/run"
RUNIT_DOCKER_RUN="https://mirror.ghproxy.com/https://raw.githubusercontent.com/void-linux/void-packages/master/srcpkgs/moby/files/docker/run"
;;
artixlinux)
RUNIT_DOCKER_RUN="https://gitea.artixlinux.org/packagesD/docker-runit/raw/branch/master/trunk/docker.run"
Expand Down

0 comments on commit 91607dd

Please sign in to comment.