install-docker 是一个一键安装docker二进制文件的脚本,支持从Tuna、Aliyun等镜像下载安装docker二进制文件,并同时支持docker-compose从国内镜像下载安装。
快速开始curl-fsSLhttps://cdn.jsdelivr.net/gh/dyrnq/install-docker@main/install-docker.sh|bash-sdocker--mirrorTuna--version20.10.3--with-compose--compose-version1.28.2--compose-mirrordaocloud获取gitclone--depth1https://github.com/dyrnq/install-docker.gitcurl-fsSL-Ohttps://raw.githubusercontent.com/dyrnq/install-docker/main/install-docker.shchmod+x./install-docker.sh用法–mirrormirrorlinux(x86_64)aliyunhttps://mirrors.aliyun.com/docker-ce/linux/static/stable/x86_64/163https://mirrors.163.com/docker-ce/linux/static/stable/x86_64/tencenthttps://mirrors.tencent.com/docker-ce/linux/static/stable/x86_64/huaweicloudhttps://mirrors.huaweicloud.com/docker-ce/linux/static/stable/x86_64/tunahttps://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/static/stable/x86_64/tsinghuahttps://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/static/stable/x86_64/ustchttps://mirrors.ustc.edu.cn/docker-ce/linux/static/stable/x86_64/sjtuhttps://mirror.sjtu.edu.cn/docker-ce/linux/static/stable/x86_64/zjuhttps://mirrors.zju.edu.cn/docker-ce/linux/static/stable/x86_64/njuhttps://mirrors.nju.edu.cn/docker-ce/linux/static/stable/x86_64/njupthttps://mirrors.njupt.edu.cn/docker-ce/linux/static/stable/x86_64/bfsuhttps://mirrors.bfsu.edu.cn/docker-ce/linux/static/stable/x86_64/nwafuhttps://mirrors.nwafu.edu.cn/docker-ce/linux/static/stable/x86_64/sustechhttps://mirrors.sustech.edu.cn/docker-ce/linux/static/stable/x86_64/hithttps://mirrors.hit.edu.cn/docker-ce/linux/static/stable/x86_64/xtomhttps://mirrors.xtom.com.hk/docker-ce/linux/static/stable/x86_64/–with-compose./install-docker.sh--mirrorTuna--version20.10.3--prefix/usr/local/bin--with-compose--compose-version1.28.2--compose-mirrordaocloud--compose-prefix/usr/local/bin命令行选项NameDescriptionDefault–mirrormirrorofdockerbinarydownloadurl –prefixdockerbinaryinstallationdirectory/usr/local/bin–versiondockerbinaryversion20.10.2–with-composeinstalldocker-compose –compose-prefixdocker-composeinstallationdirectory/usr/local/bin–compose-versiondocker-composeversion1.28.2–compose-mirrormirrorofdocker-composedownloadurl –systemd-mirrormirrorofdockerd`ssystemdunitfilesjsdelivr–no-systemddonotinstalldockerd`ssystemdunitfiles –daemon-jsondaemon.jsonpathorurl –no-daemon-jsondonotinstalldaemon.json –daemon-json-prefixdaemon.jsonpath/etc/docker–dry-rundryrun Tkshttps://get.docker.com/https://mirrorz.org/点击空白处退出提示
评论