Comments (5)
可以参考下你给的方案,我们先测试下。感谢建议。
from casaos.
先为分享点赞,这个的方案可以解决部分问题,不过在某些系统环境可能有兼容性问题哦。
其实我建议的解决路线是把get.docker.com安装脚本拉下来到casaos alioss,从oss加载例如get_docker.sh
现在的casaos安装脚本有判断是否国内网络环境,以从alioss提供包,只要在docker安装代码处判断国内就可以,成本更低。 如图
from casaos.
我看了一下有判断用户地区,**用户运行 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.
我看了一下有判断用户地区,**用户运行 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.
这个链接是我做的镜像😂,issue提出时还未优化,目前采用了我的方案暂时过渡
怪不得我觉得奇怪,怎么用 eu.org 的域名
from casaos.
Related Issues (20)
- 希望有一个界面专门看app的安装进度,现在这个不太直观
- 希望添加开机自动挂载SMB功能
- [Bug] 500 error when trying to load app store HOT 2
- [Bug] app 都无法安装更新 HOT 1
- [Bug] 安装了新版本后所有app都无法安装 HOT 2
- [Bug] 安装了版本V0.4.9 后所有app都无法安装 HOT 1
- Simple, elegant, native backup feature
- [Bug] CasaOS web page not loading firefox or chrome
- [Bug] Wrong suggestion about hard driver
- [Bug] install on fresh MX Linux HOT 1
- casa os randomly breaks
- [Feature Request] Sftp connection in Files
- [实现优化] 针对 docker 容器使用三方镜像源的优化
- [体验优化] webui 可增加未填写提醒
- [Bug] 为何已安装应用要重建
- [Bug] App Store - Official store can be removed
- [Bug]Can not upload and change the wallpaper of casaos
- FIDO2 key authentication
- 软件磁盘阵列展现的问题
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from casaos.