This container image is an init container for Connect that pulls runtime components into a shared volume. The Connect Launcher then uses those components to build and run published content in separate pods. This image is for Off-Host Execution (OHE) deployments on Kubernetes and is the default init container in the Connect Helm chart.
Tip
Deploying on Kubernetes? Try the Posit Connect Helm chart, which uses this image by default.
| 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-connect/issues |
| Source | https://github.com/posit-dev/images-connect |
| License | MIT |
For Kubernetes deployments, Connect uses three images together. See the repository README for Helm configuration.
| Image | Description | Docker Hub | GitHub Container Registry |
|---|---|---|---|
connect | The Connect server | posit/connect | posit-dev/connect |
connect-content | Runtime images for executing published content | posit/connect-content | posit-dev/connect-content |
The Connect Helm chart uses this image as the default for OHE deployments in chart versions >= 0.20.0. See the image migration guide for upgrading from earlier versions.
To wire the image up directly in a pod spec, mount a shared volume at /mnt/rstudio-connect-runtime. The entrypoint copies the runtime components from /opt/rstudio-connect-runtime in the image into that path. The Connect content container then mounts the same volume to consume the runtime.
initContainers:
- name: connect-content-init
image: ghcr.io/posit-dev/connect-content-init:2026.09.0
volumeMounts:
- name: connect-runtime
mountPath: /mnt/rstudio-connect-runtime
volumes:
- name: connect-runtime
emptyDir: {}
Posit publishes images to:
docker.io/posit/connect-content-initghcr.io/posit-dev/connect-content-initUbuntu 24.04 is the default OS.
Tag formats where YYYY.MM.P is any supported Connect version:
YYYY.MM.P - Default OSYYYY.MM.P-ubuntu-24.04 - Explicit OSYYYY.MM.P-ubuntu-22.04 - Older OSlatest - Latest version, default OSPosit publishes multi-arch images for both linux/amd64 and linux/arm64. Pull the same tag from either platform. Docker selects the matching manifest automatically.
The init container copies runtime components from /opt/rstudio-connect-runtime in the image into /mnt/rstudio-connect-runtime on the shared volume.
| Mount point | Description |
|---|---|
/mnt/rstudio-connect-runtime | Shared volume populated with the Connect runtime files |
The content execution container mounts the same volume to consume the runtime files at the path Connect expects.
The container starts as root so the entrypoint can write files into the shared volume with the permissions Connect expects. The init container exits after the copy completes. If your cluster requires non-root init containers, you can override the user, but ensure the override has write access to the shared volume mount path.
You can extend this image to include additional content beyond the default set. For example, you can add custom R packages, Python packages, or system dependencies that your published content requires. See Custom Container Images for Connect.
For a full guide to which Connect image to customize for different goals, see the Connect extending examples.
This image replaces the legacy rstudio/rstudio-connect-content-init image. The init container behavior is unchanged. The entrypoint copies runtime components into a shared volume at /mnt/rstudio-connect-runtime for the Connect content container to consume. The differences lie in how the image is published.
Posit published the legacy image as rstudio/rstudio-connect-content-init on Docker Hub and ghcr.io/rstudio/rstudio-connect-content-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 Connect version and OS. See Image tags and Architectures.
The legacy image shipped Ubuntu 22.04 only. This image adds Ubuntu 24.04 as the default OS while still publishing Ubuntu 22.04 tags. See Image tags.
/opt/rstudio-connect-runtime)/mnt/rstudio-connect-runtime)Review these images before using them in production. Organizations with specific Common Vulnerabilities and Exposures (CVE) or vulnerability requirements should rebuild these images to meet their security standards.
Posit rebuilds published images weekly for Posit product editions under active support, pulling in operating system patches.
Content type
Image
Digest
sha256:f38ac8c87…
Size
74.9 MB
Last updated
1 day ago
docker pull posit/connect-content-init