docs: replace enterprise-base image references with example-base (#27025)

Follow-up to #27018, sweeping the remaining
`codercom/enterprise-base:ubuntu` references to
`codercom/example-base:ubuntu` and `coder/enterprise-images` links to
[coder/images](https://github.com/coder/images). The `example-` prefix
is the recommended one for new deployments per the coder/images README.

Covers the 11 docs pages flagged by doc-check on #27018 plus the
embedded `examples/templates/docker` and `examples/templates/kubernetes`
starter templates (image string only; the `image` variable lives in the
coder/registry templates, see coder/registry#943).

OpenShift imagestream names in `docs/install/openshift.md` keep the
`enterprise-base` local name; only the upstream image reference changed.

Part of DEVREL-201.

🤖 Generated with Coder Agents using Claude, on behalf of @bpmct
This commit is contained in:
Ben Potter
2026-08-04 13:47:55 -07:00
committed by GitHub
parent ca3de3c8c5
commit 79723db2d2
15 changed files with 21 additions and 21 deletions
@@ -27,7 +27,7 @@ the Coder host, modify your template to use the sysbox-runc runtime:
resource "docker_container" "workspace" {
# ...
name = "coder-${data.coder_workspace.me.owner}-${lower(data.coder_workspace.me.name)}"
image = "codercom/enterprise-base:ubuntu"
image = "codercom/example-base:ubuntu"
env = ["CODER_AGENT_TOKEN=${coder_agent.main.token}"]
command = ["sh", "-c", coder_agent.main.init_script]
# Use the Sysbox container runtime (required)
@@ -105,7 +105,7 @@ resource "kubernetes_pod" "dev" {
name = "CODER_AGENT_TOKEN"
value = coder_agent.main.token
}
image = "codercom/enterprise-base:ubuntu"
image = "codercom/example-base:ubuntu"
command = ["sh", "-c", coder_agent.main.init_script]
}
}
@@ -333,7 +333,7 @@ resource "docker_container" "dind" {
resource "docker_container" "workspace" {
count = data.coder_workspace.me.start_count
image = "codercom/enterprise-base:ubuntu"
image = "codercom/example-base:ubuntu"
name = "dev-${data.coder_workspace.me.id}"
command = ["sh", "-c", coder_agent.main.init_script]
env = [
@@ -391,7 +391,7 @@ resource "kubernetes_pod" "main" {
}
container {
name = "dev"
image = "codercom/enterprise-base:ubuntu"
image = "codercom/example-base:ubuntu"
command = ["sh", "-c", coder_agent.main.init_script]
security_context {
run_as_user = "1000"
@@ -472,7 +472,7 @@ resource "kubernetes_pod" "dev" {
name = "CODER_AGENT_TOKEN"
value = coder_agent.main.token
}
image = "codercom/enterprise-base:ubuntu"
image = "codercom/example-base:ubuntu"
command = ["sh", "-c", <<EOF
# Start the Coder agent as the "coder" user
# once systemd has started up
@@ -74,7 +74,7 @@ resource "coder_agent" "main" {
If you are using Docker based workspaces, you can add the command to your Dockerfile:
```dockerfile
FROM codercom/enterprise-base:ubuntu
FROM codercom/example-base:ubuntu
# JetBrains IDE installation (configurable)
ARG IDE_CODE=IU
@@ -71,7 +71,7 @@ resource "kubernetes_deployment" "workspace" {
spec {
container {
name = "dev"
image = "codercom/enterprise-base:ubuntu"
image = "codercom/example-base:ubuntu"
env {
name = "CODER_AGENT_TOKEN"
@@ -58,7 +58,7 @@ container image. Here's a Dockerfile which leverages some special
[code-server features](https://coder.com/docs/code-server):
```dockerfile
FROM codercom/enterprise-base:ubuntu
FROM codercom/example-base:ubuntu
# install the latest version
USER root
@@ -88,7 +88,7 @@ data "coder_workspace_owner" "me" {}
resource "docker_container" "workspace" {
count = data.coder_workspace.me.start_count
image = "codercom/enterprise-base:ubuntu"
image = "codercom/example-base:ubuntu"
name = "coder-${data.coder_workspace_owner.me.name}-${lower(data.coder_workspace.me.name)}"
entrypoint = ["sh", "-c", coder_agent.main.init_script]
env = [
@@ -146,7 +146,7 @@ data "coder_workspace_owner" "me" {}
resource "docker_container" "workspace" {
count = data.coder_workspace.me.start_count
image = "codercom/enterprise-base:ubuntu"
image = "codercom/example-base:ubuntu"
name = "coder-${data.coder_workspace_owner.me.name}-${lower(data.coder_workspace.me.name)}"
entrypoint = ["sh", "-c", coder_agent.main.init_script]
env = [