如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。
只需在 AI 对话中先发送下面这句话即可:
请先完整阅读并严格遵守以下文档中的全部规则与要求:
https://xuanyuan.cloud/agents.md
在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
https://github.com/instrumentisto/rsync-ssh-docker-image/actions/workflows/ci.yml/badge.svg?branch=main "CI"](https://github.com/instrumentisto/rsync-ssh-docker-image/actions?query=workflow%3ACI+branch%3Amain)
https://hub.docker.com/r/instrumentisto/rsync-ssh | https://github.com/orgs/instrumentisto/packages/container/package/rsync-ssh | Quay.io
https://github.com/instrumentisto/rsync-ssh-docker-image/blob/main/CHANGELOG.md
linux: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390xSSH(安全外壳协议)是一种加密网络协议,用于在不安全的网络上安全地操作网络服务。最著名的应用示例是用户远程登录计算机系统。
Rsync是一种用于在计算机系统之间高效传输和同步文件的工具,通过检查文件的时间戳和大小来实现。它常见于类Unix系统,同时用作文件同步和文件传输程序。Rsync算法是一种增量编码,用于减少网络使用量。可使用Zlib进行额外压缩,并可使用SSH或stunnel确保数据安全。
只需在rsync/ssh命令前添加docker run instrumentisto/rsync-ssh:
bashdocker run --rm -i instrumentisto/rsync-ssh rsync --help
从卷传输数据到本地文件夹:
bashdocker run --rm -i -v <volume-name>:/volume -v $(pwd):/mnt instrumentisto/rsync-ssh \ rsync -avz /volume/ /mnt/
使用rsync将远程主机文件传输到无rsync的本地主机:
bashdocker run --rm -i -v <local-dest-path>:/mnt instrumentisto/rsync-ssh \ rsync -avz <remote-host>:<remote-src-path> /mnt/
将无rsync的远程主机文件传输到有rsync的本地主机:
bashrsync -avz --rsync-path="docker run --rm -i -v <remote-src-path>:/mnt instrumentisto/rsync-ssh rsync" \ <remote-host>:/mnt/ <local-dest-path>
无rsync的远程主机与无rsync的本地主机之间传输文件:
bashdocker run --rm -i -v <local-dest-path>:/mnt instrumentisto/rsync-ssh \ rsync -avz --rsync-path="docker run --rm -i -v <remote-src-path>:/mnt instrumentisto/rsync-ssh rsync" \ <remote-host>:/mnt/ /mnt/
alpine最新版Alpine的最新标签。
此镜像基于流行的Alpine Linux项目,可在https://hub.docker.com/_/alpine中获取。Alpine Linux比大多数发行版基础镜像小得多(约5MB),因此通常会生成更精简的镜像。
这是一个多平台镜像。
alpine<X.Y>最新版次要版本X.YAlpine的最新标签。
这是一个多平台镜像。
alpine<X.Y>-r<N>特定次要版本X.YAlpine的特定N镜像修订标签。
构建后永不更新。
这是一个多平台镜像。
Rsync根据GNU GPL v3许可证授权。 OpenSSH Portable根据https://github.com/openssh/openssh-portable/blob/master/LICENCE授权。
与所有Docker镜像一样,此镜像可能还包含其他软件,这些软件可能受其他许可证(如基础发行版中的Bash等,以及包含的主要软件的任何直接或间接依赖项)约束。
对于任何预构建镜像的使用,镜像用户有责任确保对该镜像的任何使用都符合其中包含的所有软件的相关许可证。
生成instrumentisto/rsync-ssh Docker镜像的https://github.com/instrumentisto/rsync-ssh-docker-image根据https://github.com/instrumentisto/rsync-ssh-docker-image/blob/main/LICENSE.md授权。
我们无法注意到https://hub.docker.com(或其他容器 registry)中的评论,因此请勿使用它们报告问题或提问。
如果您对此镜像有任何问题或疑问,请通过https://github.com/instrumentisto/rsync-ssh-docker-image/issues与我们联系。
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务