Skip to content

Add Dev Container terminal sessions#10808

Open
s-zaizen wants to merge 2 commits into
warpdotdev:masterfrom
s-zaizen:s-zaizen/gh4460-warp-for-devcontainers
Open

Add Dev Container terminal sessions#10808
s-zaizen wants to merge 2 commits into
warpdotdev:masterfrom
s-zaizen:s-zaizen/gh4460-warp-for-devcontainers

Conversation

@s-zaizen
Copy link
Copy Markdown
Contributor

Description

Adds feature-flagged Dev Container terminal sessions.

This lets users open a repository with a Dev Container config and launch Warp inside that
container from:

  • the repository open prompt
  • the new-session Dev Container submenu
  • the /dev-container slash command

The implementation reuses Warp's local TTY shell starter path. Warp resolves the devcontainer
CLI from the user's shell PATH, runs devcontainer up, then enters the selected config with
devcontainer exec and starts the normal Warp bash bootstrap.

Dev Container sessions also show a Docker-styled prompt chip and sidebar/session indicators.

Linked Issue

Closes #4460

Related:

Testing

  • git diff --check
  • cargo fmt --check
  • cargo clippy -p warp --lib --tests -- -D warnings
  • cargo test -p warp dev_container --lib
  • cargo test -p warp test_open_repository_with_devcontainer_shows_open_prompt_toast --lib

Manual:

  • Built and opened WarpLocal.app

  • Opened a repository with a Dev Container config

  • Verified the Dev Container prompt appears

  • Verified Open in Dev Container launches an in-container terminal session

  • Verified the left sidebar uses the Docker icon for the Dev Container session

  • I have manually tested my changes locally with ./script/run

Screenshots / Videos

warp-devcontainer.mp4

Agent Mode

  • Warp Agent Mode - This PR was created via Warp's AI Agent Mode

Changelog Entries for Stable

CHANGELOG-NEW-FEATURE: Added Dev Container terminal sessions that let users open repositories with
Dev Container configs directly in Warp.

Add feature-flagged Dev Container entrypoints from the repository open prompt, new-session menu, and /dev-container command.

Reuse the local TTY shell starter path so Warp can bring up the selected devcontainer config and start an in-container bash session with the usual prompt chip and session metadata.

Co-Authored-By: Warp <agent@warp.dev>
@cla-bot cla-bot Bot added the cla-signed label May 13, 2026
@oz-for-oss
Copy link
Copy Markdown
Contributor

oz-for-oss Bot commented May 13, 2026

@s-zaizen

This PR is not linked to an issue that is marked with ready-to-implement.

Issue-state enforcement details:

Readiness check:

To continue, link this PR to a same-repo issue such as Closes #123 in the PR description, and make sure that issue has ready-to-implement.

Powered by Oz

@github-actions github-actions Bot added the external-contributor Indicates that a PR has been opened by someone outside the Warp team. label May 13, 2026
Copy link
Copy Markdown
Contributor

@oz-for-oss oz-for-oss Bot left a comment

Choose a reason for hiding this comment

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

@s-zaizen

This PR is not linked to an issue that is marked with ready-to-implement.

Issue-state enforcement details:

  • Associated same-repo issues checked: #4460

  • Required readiness label: ready-to-implement

Readiness check:

  • #4460: missing ready-to-implement; readiness labels present: none

To continue, link this PR to a same-repo issue such as Closes #123 in the PR description, and make sure that issue has ready-to-implement.

Powered by Oz

…arp-for-devcontainers

# Conflicts:
#	app/src/workspace/view.rs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed external-contributor Indicates that a PR has been opened by someone outside the Warp team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Warp for DevContainers

1 participant