Repository navigation
Add Linux/macOS Bash script for DevContainer startup - #41938
Closed
Broccoliux wants to merge 3 commits into
Closed
Broccoliux wants to merge 3 commits into
Broccoliux wants to merge 3 commits into
Conversation
The Script/ directory previously only contained a Windows PowerShell script (run_devcontainer_claude_code.ps1) for launching the DevContainer. This commit adds an equivalent Bash script for Linux and macOS users. The new script (run_devcontainer_claude_code.sh): - Accepts a --backend flag (docker or podman, defaults to docker) - Validates that required commands (devcontainer + backend) are installed - Handles Podman machine initialization and startup on Linux/macOS - Verifies Docker daemon is running when using Docker backend - Brings up the DevContainer via devcontainer CLI - Locates the running container ID using label filtering - Opens an interactive zsh session running 'claude' inside the container This mirrors the full functionality of the existing PowerShell script, making the DevContainer workflow accessible to Linux and macOS users without requiring any Windows-specific tooling.
aahmetcn20-ui
approved these changes
Apr 1, 2026
Author
|
Thanks for the review and approval! This PR adds Linux/macOS support for DevContainer startup. |
Check if 'claude' command is available before execution.
aahmetcn20-ui
approved these changes
Apr 6, 2026
Author
|
u dont have writing auth so ur approval are not merging it.
…On Tue, Apr 7, 2026 at 3:33 AM aahmetcn20-ui ***@***.***> wrote:
***@***.**** approved this pull request.
—
Reply to this email directly, view it on GitHub
<#41938 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/B3M2GCWVR3HJFULKKDAMQ7D4UQWD5AVCNFSM6AAAAACXI7C7O6VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHM2DANRUHA4DCMJVGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds a Linux/macOS-compatible Bash script for DevContainer startup.
Problem
Previously, the repository only included a Windows PowerShell script (run_devcontainer_claude_code.ps1) for launching the DevContainer.
This limited usability for Linux and macOS users.
Solution
run_devcontainer_claude_code.sh)--backendflag (docker or podman, defaults to docker)Impact
Improves cross-platform support, making DevContainer workflow accessible to a wider developer base.
Notes
Tested locally on Linux/macOS environment.