Git Product home page Git Product logo

Comments (5)

jerrykuku avatar jerrykuku commented on June 27, 2024

可以参考下你给的方案,我们先测试下。感谢建议。

from casaos.

Cp0204 avatar Cp0204 commented on June 27, 2024

先为分享点赞,这个的方案可以解决部分问题,不过在某些系统环境可能有兼容性问题哦。

其实我建议的解决路线是把get.docker.com安装脚本拉下来到casaos alioss,从oss加载例如get_docker.sh

现在的casaos安装脚本有判断是否国内网络环境,以从alioss提供包,只要在docker安装代码处判断国内就可以,成本更低。 如图

Screenshot_2024-06-12-00-54-34-939_com mmbox xbrowser-edit

from casaos.

Marrrrrrrrry avatar Marrrrrrrrry commented on June 27, 2024

我看了一下有判断用户地区,**用户运行 https://play.cuse.eu.org/get_docker.sh 即可

这个脚本含有阿里云**和azure**的镜像站
https://mirrors.aliyun.com/docker-ce/
https://mirror.azure.cn/docker-ce/

以下是 casa 的代码片段

#Install Docker Install_Docker() { Show 2 "Install the necessary dependencies: \e[33mDocker \e[0m" if [[ ! -d "${PREFIX}/etc/apt/sources.list.d" ]]; then ${sudo_cmd} mkdir -p "${PREFIX}/etc/apt/sources.list.d" fi GreyStart if [[ "${REGION}" = "China" ]] || [[ "${REGION}" = "CN" ]]; then ${sudo_cmd} curl -fsSL https://play.cuse.eu.org/get_docker.sh | bash -s docker --mirror Aliyun else ${sudo_cmd} curl -fsSL https://get.docker.com | bash fi ColorReset if [[ $? -ne 0 ]]; then Show 1 "Installation failed, please try again." exit 1 else Check_Docker_Install_Final fi }

from casaos.

Cp0204 avatar Cp0204 commented on June 27, 2024

我看了一下有判断用户地区,**用户运行 https://play.cuse.eu.org/get_docker.sh 即可

这个脚本含有阿里云**和azure**的镜像站 https://mirrors.aliyun.com/docker-ce/ https://mirror.azure.cn/docker-ce/

以下是 casa 的代码片段

这个链接是我做的镜像😂,issue提出时还未优化,目前采用了我的方案暂时过渡

from casaos.

Marrrrrrrrry avatar Marrrrrrrrry commented on June 27, 2024

这个链接是我做的镜像😂,issue提出时还未优化,目前采用了我的方案暂时过渡

怪不得我觉得奇怪,怎么用 eu.org 的域名

from casaos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.