Skip to content

feat(pty): allow custom Docker image via CLI flag#89

Merged
veeso merged 1 commit intomainfrom
feat/docker-pty-image-from-cli
Mar 9, 2026
Merged

feat(pty): allow custom Docker image via CLI flag#89
veeso merged 1 commit intomainfrom
feat/docker-pty-image-from-cli

Conversation

@veeso
Copy link
Copy Markdown
Collaborator

@veeso veeso commented Mar 9, 2026

Summary

  • Add --pty-test-container-image CLI flag to override the default debian:bookworm-slim Docker image for the PTY backend (accepts image:tag format, defaults to latest when tag omitted)
  • Fix bug where create_container() ignored the user-specified image and always used debian:bookworm-slim
  • Handle registry ports in image parsing (e.g., registry.example.com:5000/myimage:v1)
  • Update docs (pty-backends.md, CLAUDE.md) with new flag usage and configuration

Test plan

  • cargo run --features pty-test_container -- --use-pty-test-container — uses default debian:bookworm-slim
  • cargo run --features pty-test_container -- --use-pty-test-container --pty-test-container-image ubuntu:24.04 — pulls and runs Ubuntu
  • cargo clippy --all-features -- -D warnings — no warnings
  • cargo test — all tests pass

Add CLI flag to override the default debian:bookworm-slim image for the
Docker PTY backend. Fix bug where create_container() ignored the
user-specified image. Handle registry port in image:tag parsing.
@veeso veeso merged commit daa8b5a into main Mar 9, 2026
5 checks passed
@veeso veeso deleted the feat/docker-pty-image-from-cli branch March 9, 2026 14:28
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.

1 participant