Skip to content

docs: replace non-existent Docker image with build instructions#1189

Merged
patniko merged 1 commit into
mainfrom
fix/docker-image-docs-897
May 4, 2026
Merged

docs: replace non-existent Docker image with build instructions#1189
patniko merged 1 commit into
mainfrom
fix/docker-image-docs-897

Conversation

@patniko
Copy link
Copy Markdown
Contributor

@patniko patniko commented May 4, 2026

Summary

There is no official pre-built Docker image at ghcr.io/github/copilot-cli. The docs referenced it in 4 places across 2 files, causing confusion for users trying to containerize the CLI.

Changes

  • Added a note in backend-services.md explaining there is no official image
  • Added a sample Dockerfile that builds from GitHub releases using debian:bookworm-slim
  • Added docker build / docker tag / docker push commands
  • Updated local examples (docker run, Docker Compose) to use copilot-cli:latest
  • Updated remote deployment examples (Kubernetes, ACI) to use your-registry/copilot-cli:latest

Fixes #897

…d instructions

There is no official pre-built Docker image for the Copilot CLI. Update docs
to provide a sample Dockerfile that builds from GitHub releases, along with
build/push commands. Local examples use copilot-cli:latest, remote deployment
examples (K8s, ACI) use your-registry/copilot-cli:latest.

Fixes #897

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 4, 2026 00:18
@patniko patniko requested a review from a team as a code owner May 4, 2026 00:18
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the backend deployment/scaling documentation to remove references to a non-existent ghcr.io/github/copilot-cli image and replace them with “build your own image” guidance, so users can reliably containerize and deploy the Copilot CLI in headless mode.

Changes:

  • Adds a note and sample Dockerfile for building the Copilot CLI image from GitHub releases, plus build/tag/push commands.
  • Updates local container examples (Docker run, Docker Compose) to use copilot-cli:latest.
  • Updates remote deployment examples (Kubernetes, ACI) to use your-registry/copilot-cli:latest.
Show a summary per file
File Description
docs/setup/backend-services.md Adds “no official image” note + sample Dockerfile/build instructions; updates Docker/Docker Compose examples to use a locally built copilot-cli:latest image.
docs/setup/scaling.md Replaces the non-existent GHCR image reference with your-registry/copilot-cli:latest in scaling/deployment examples.

Copilot's findings

  • Files reviewed: 2/2 changed files
  • Comments generated: 2

Comment thread docs/setup/scaling.md
- name: copilot-cli
image: ghcr.io/github/copilot-cli:latest
image: your-registry/copilot-cli:latest # See backend-services.md for how to build and push this image
command: ["copilot", "--headless", "--host", "0.0.0.0", "--port", "4321"]
# Docker — must bind to 0.0.0.0 so the container's published port is reachable
docker run -d --name copilot-cli \
-p 4321:4321 \
-e COPILOT_GITHUB_TOKEN="$TOKEN" \
@patniko patniko enabled auto-merge May 4, 2026 00:23
@patniko patniko disabled auto-merge May 4, 2026 00:23
@patniko patniko merged commit c22f361 into main May 4, 2026
18 checks passed
@patniko patniko deleted the fix/docker-image-docs-897 branch May 4, 2026 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ghcr.io/github/copilot-cli image does not exist

2 participants