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.
Tip
Deploying on Kubernetes? Try the Posit Workbench Helm chart!
| Maintained by | the Posit Docker team |
| Where to get help | GitHub Issues, Images Discussion Board, 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 | MIT |
| Product documentation | Posit Workbench documentation, Upgrading Positron in Kubernetes deployments |
For Kubernetes deployments, Workbench uses several images together. See the repository README for Helm configuration.
| Image | Description | Docker Hub | GitHub Container Registry |
|---|---|---|---|
workbench |
The Posit Workbench server | posit/workbench | posit-dev/workbench |
workbench-session |
Session images for Kubernetes (R and Python version matrix) | posit/workbench-session | posit-dev/workbench-session |
workbench-session-init |
Init container providing session runtime components | posit/workbench-session-init | posit-dev/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.
session:
image:
repository: "ghcr.io/posit-dev/workbench-session"
tag: "latest"
components:
positron:
version: "2026.08.2-5"
image:
repository: "ghcr.io/posit-dev/workbench-positron-init"For a guide to which Workbench image to customize for different goals, see the Customizing images section in the Workbench repository README.
Posit publishes images to:
- Docker Hub:
docker.io/posit/workbench-positron-init - GitHub Container Registry:
ghcr.io/posit-dev/workbench-positron-init
Ubuntu 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 OS
Posit 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/amd64 and linux/arm64, but builds the workbench and workbench-session-init images for linux/amd64 only. linux/arm64 builds 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: copiesbin/positron-serverto/mnt/init/bin/positron-serverpositron-docs: copiesdocs/positronto/mnt/init/docs/positron
The 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 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.
- Source path for Positron components (
/opt/positron) - Target path on the shared volume (
/mnt/init) PWB_POSITRON_TARGETenvironment variable selects which components to copy- Entrypoint behavior (one-shot copy, then exit)
Review 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.