
如果你使用 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 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
This container image is an init container for Workbench Kubernetes deployments that copies Positron IDE components into a shared volume for session containers to consume. The image decouples the Positron IDE server from the Workbench session image, which enables Positron version upgrades outside the regular Workbench server release cadence.
https://img.shields.io/badge/github-repo?logo=github&color=grey](https://github.com/posit-dev/images-workbench) https://img.shields.io/github/actions/workflow/status/posit-dev/images-workbench/session.yml?branch=main](https://github.com/posit-dev/images-workbench/actions/workflows/session.yml) https://img.shields.io/docker/v/posit/workbench-positron-init?sort=semver&label=latest](https://hub.docker.com/r/posit/workbench-positron-init/tags) !https://img.shields.io/docker/pulls/posit/workbench-positron-init !https://img.shields.io/docker/image-size/posit/workbench-positron-init/latest
[!TIP] Deploying on Kubernetes? Try the Posit Workbench Helm chart!
| Maintained by | https://github.com/posit-dev/images |
| Where to get help | https://github.com/posit-dev/images-workbench/issues, https://github.com/posit-dev/images/discussions, the Posit Community Forum, Posit Support |
| Where to file issues | https://github.com/posit-dev/images-workbench/issues |
| Source | https://github.com/posit-dev/images-workbench |
| License | https://github.com/posit-dev/images-workbench/blob/main/LICENSE.md |
| Product documentation | Posit Workbench documentation, Upgrading Positron in Kubernetes deployments |
For Kubernetes deployments, Workbench uses several images together. See the https://github.com/posit-dev/images-workbench#deploying-on-kubernetes for Helm configuration.
| Image | Description | Docker Hub | GitHub Container Registry |
|---|---|---|---|
workbench | The Posit Workbench server | https://hub.docker.com/r/posit/workbench | https://github.com/posit-dev/images-workbench/pkgs/container/workbench |
workbench-session | Session images for Kubernetes (R and Python version matrix) | https://hub.docker.com/r/posit/workbench-session | https://github.com/posit-dev/images-workbench/pkgs/container/workbench-session |
workbench-session-init | Init container providing session runtime components | https://hub.docker.com/r/posit/workbench-session-init | https://github.com/posit-dev/images-workbench/pkgs/container/workbench-session-init |
The rstudio-workbench Helm chart consumes this image from the components.positron values. If an image repository and version are provided, the chart uses the init container image to provide the specified Positron version to session pods.
yamlsession: image: repository: "ghcr.io/posit-dev/workbench-session" tag: "latest" components: positron: version: "2026.05.1-2" image: repository: "ghcr.io/posit-dev/workbench-positron-init"
Posit publishes images to:
docker.io/posit/workbench-positron-initghcr.io/posit-dev/workbench-positron-initUbuntu 24.04 is the default OS.
Tag formats where YYYY.MM.P-BUILD is any supported Positron version:
YYYY.MM.P-BUILD - Default OSYYYY.MM.P-BUILD-ubuntu-24.04 - Explicit OSlatest - Latest version, default OSubuntu-24.04 - Latest version, explicit OSPosit publishes Ubuntu 24.04 init images for both linux/amd64 and linux/arm64. Pull the same tag from either platform. Docker selects the matching manifest automatically.
[!WARNING] Posit builds these images for both
linux/amd64andlinux/arm64, but builds theworkbenchandworkbench-session-initimages forlinux/amd64only.linux/arm64builds for those images remain in developer preview until ARM64 platform support is officially added for Workbench.
The init container provides the following components in /opt/positron:
| Component | Path | Description |
|---|---|---|
| Positron IDE | /opt/positron/bin/positron-server/bundled/ | Positron server (VS Code REH web) |
| Positron docs | /opt/positron/docs/positron/bundled/ | Positron Workbench documentation |
| Session init binary | /usr/local/bin/positron-session-init | Go entrypoint that copies components at runtime |
| Variable | Description | Values |
|---|---|---|
PWB_POSITRON_TARGET | Selects which components to copy to /mnt/init | positron, positron-docs |
positron: copies bin/positron-server to /mnt/init/bin/positron-serverpositron-docs: copies docs/positron to /mnt/init/docs/positronThe init container copies components from /opt/positron in the image into /mnt/init on the shared volume.
| Mount point | Description |
|---|---|
/mnt/init | Shared volume populated with the selected Positron components |
The session container mounts the same volume to consume the components at the path Workbench expects.
The container starts as root so the entrypoint can write files into the shared volume with the permissions Workbench expects. The init container exits after the copy completes.
This image replaces the legacy https://hub.docker.com/r/rstudio/workbench-positron-init image. The init container behavior is unchanged. The entrypoint copies Positron components into a shared volume at /mnt/init based on the PWB_POSITRON_TARGET environment variable. The differences are in how the image is published.
Posit published the legacy image as rstudio/workbench-positron-init on Docker Hub and ghcr.io/rstudio/workbench-positron-init on GHCR, tagged by OS (jammy, ubuntu2204, jammy-<version>, ubuntu2204-<version>) for linux/amd64 only. Update your image reference to one of the new locations and pick a tag that pins to your desired Positron version. See Image tags and Architectures.
The legacy image shipped Ubuntu 22.04 only. This image ships Ubuntu 24.04 only. See Image tags.
/opt/positron)/mnt/init)PWB_POSITRON_TARGET environment variable selects which components to copyReview these images before using them in production. Organizations with specific Common Vulnerabilities and Exposures (CVE) or vulnerability requirements can rebuild these images to meet their security standards.
Posit rebuilds published images weekly for Posit product editions under active support to pull in operating system patches.
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务