onlylty / dockercopilot Goto Github PK
View Code? Open in Web Editor NEW一键更新容器
一键更新容器
增加定时关闭,定时开启,定时重启功能后,可以更加优雅的管理容器,也有些容器可以重启后热更新了的。
你好,最近这几天所有的容器都是拉取镜像失败,请问是什么原因呢,谢谢
其实这个问题从OneKey开始就一直有了,登陆以后发现有的容器待更新,结果更新以后仍然显示可以更新
RT
直接拉取镜像有时候会很慢,希望能够提供自行设置HTTP代理的选项,以便通过clash来加速
感谢作者出了这么好的东西;
现在更新oneKeyUpdate的时候,是不是只能暂停容器,然后手动更新oneKeyUpdate的镜像。
请安排极空间。膜拜,谢谢!
增加代理地址配置項
如题
2024/4/1 22:31:33 2024-04-01T22:31:33.733+08:00 info 程序版本v2.0.3-zspace caller=zspace/dockercopilot.go:98
2024/4/1 22:31:33 Starting server at 0.0.0.0:12712...
2024/4/1 22:31:33 2024-04-01T22:31:33.614+08:00 info 未找到jwt或jwt已失效,重新获取jwt caller=utiles/base.go:53
2024/4/1 22:23:06 2024-04-01T22:23:06.322+08:00 error 获取digest失败registry responded to head request with "404 Not Found", auth: "not present" caller=module/checkupdate.go:54
2024/4/1 22:23:04 2024-04-01T22:23:04.841+08:00 error 获取token失败或者无需获取token,继续尝试检查unsupported challenge type from registry caller=module/checkupdate.go:45
建议容器可以按容器名称首字母排序,我注意到容器只能按创建时间排序,容器多了寻找有点麻烦。
请问支持群晖和Unraid吗
部署后运行日志提示 error 获取token失败或者无需获取token,继续尝试检查Get "https://index.docker.io/v2/": dial tcp 54.227.20.253:443: i/o timeout caller=module/checkupdate.go:45
请问一下这是怎么回事,哪里部署的不对么?
只适用于极空间吗?是否适用黑裙
建议增加容器控制功能,例如给某个容器设定定时任务,每天或每周几的某个时间进行重启,或定时关闭/开启
我使用的是极空间Z2S 4G,是ARM架构,请问极空间用户如何正确安装oneKeyUpdate?
请问大佬,新版本中更新不会保留老的docker镜像了,我记得哪个评论中有提高过解决办法,环境中添加相关变量,麻烦能把具体变量内容提供一下吗?感谢!
��2024-06-12T08:59:25.218832363Z 2024-06-12T16:59:25.218+08:00 info 未找到jwt或jwt已失效,重新获取jwt caller=utiles/base.go:53
��2024-06-12T08:59:25.219246893Z 2024-06-12T16:59:25.219+08:00 error GetNewJwt error: Post "http://127.0.0.1:9123/api/auth": dial tcp 127.0.0.1:9123: connect: connection refused caller=utiles/getImageList.go:17
��2024-06-12T08:59:25.219283964Z 2024-06-12T16:59:25.219+08:00 error panic获取镜像列表出错: Post "http://127.0.0.1:9123/api/auth": dial tcp 127.0.0.1:9123: connect: connection refused caller=zspace/dockercopilot.go:60
��2024-06-12T08:59:25.221356830Z panic: Post "http://127.0.0.1:9123/api/auth": dial tcp 127.0.0.1:9123: connect: connection refused
� 2024-06-12T08:59:25.221375442Z
�62024-06-12T08:59:25.221381896Z goroutine 1 [running]:
�+2024-06-12T08:59:25.221386750Z main.main()
�i2024-06-12T08:59:25.221391695Z github.com/onlyLTY/dockerCopilotZspace/zspace/dockercopilot.go:61 +0x751
希望能增加响应式UI以方便用户在移动端进行更新操作
这个issue因为我错误地配置了设备的UA而被提出,抱歉
拉取任何镜像都开始失败
用的绿联版本是2.0.1。更新容器后发现不会像onekey那样保留老版容器了,感觉保留旧版容器挺好用的,有时候一些镜像升级后没法用还能返回旧版使用。
我自己打包了镜像设置了tag,但是设置目标镜像版本的时候一直要从docker hub拉取,这肯定是不存在的。以前onekey的时候好像直接可以修改版本号,不拉取的。
可否加个按钮只修改镜像版本不从hub拉取呢。
看镜像的文件名称也变了。
使用最新的拉取配置,一直在报错。
��2024-02-02T12:18:58.803746345Z 2024/02/02 12:18:58 Unable to fetch docker images: Cannot connect to the Docker daemon at tcp://127.0.0.1:9375. Is the docker daemon running?
��2024-02-02T12:18:59.168404282Z 2024/02/02 12:18:59 Unable to fetch docker images: Cannot connect to the Docker daemon at tcp://127.0.0.1:9375. Is the docker daemon running?
��2024-02-02T12:18:59.559587777Z 2024/02/02 12:18:59 Unable to fetch docker images: Cannot connect to the Docker daemon at tcp://127.0.0.1:9375. Is the docker daemon running?
��2024-02-02T12:19:00.197471059Z 2024/02/02 12:19:00 Unable to fetch docker images: Cannot connect to the Docker daemon at tcp://127.0.0.1:9375. Is the docker daemon running?
使用代理就可以更新到,希望可以添加代理环境如 HTTP_PROXY功能,非常感谢您的辛勤付出,为我这种小白省去了不少的繁琐步骤。感激
具体报错:
HTTPConnectionPool(host='127.0.0.1', port=9123): Max retries exceeded with url: /api/auth (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f4f3362bfd0>: Failed to establish a new connection: [Errno 111] Connection refused'))
在威联通的Container Station中安装的,account就设置为了威联通网页端管理界面的用户名
docker镜像封了。现在拉不下镜像了。
readme中可以修改一下,哈哈哈哈哈。
感谢大佬开发这么方便的工具
#18 有提及容器的定时更新功能,个人有相同需求,这个issue其实蛮好的。
如果说自动更新不太稳定的话,可否考虑在docker copilot检测到容器有更新时通过Web hook/server酱/telegram bot等方式推送更新信息提醒用户更新容器?
hello,我是在b站看到攻略的,教的是绿联云用户部署,不过我是群晖用户,请问能在群晖docker上部署吗?
之前onekey在npm中配置的
location / {
proxy_pass http://192.168.0.21:12712;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
可以反代,现在copilot要怎么设置呢
2024/3/27 22:39:22 github.com/onlyLTY/dockerCopilotZspace/zspace/dockercopilot.go:61 +0x5e8
2024/3/27 22:39:22 main.main()
2024/3/27 22:39:22 goroutine 1 [running]:
2024/3/27 22:39:22
2024/3/27 22:39:22 panic: 请求错误,状态码:422
众所周知的原因部分镜像更新后旧版本可能会存在丢失的风险,建议增加镜像的自定义备份,未来可以通过备份镜像重新安装
v1.0.7-zspac一直提示有更新,点击后提示“” 更新程序失败 {"status":"","msg":"need"}“”
我是绿联用户,我用onekey更新了容器之后,页面还是提示有更新。容器我看了已经是最新的了,这个检测逻辑是根据什么来的。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.