claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

Add PowerShell script for Windows DevContainer setup (Docker/Podman)

Open Masa1984a opened this issue 7 months ago • 1 comments

This pull request introduces a PowerShell script designed to automate the setup of the Claude Code DevContainer environment specifically on Windows.

A key feature is its support for both Docker and Podman. On Windows, using Docker Desktop may require a paid license in certain scenarios. As an alternative, Podman can be used, and this script is designed to work with either backend via a command-line parameter.

This script enables Windows users to quickly set up a containerized Claude Code environment and start their AI coding tasks without manual step-by-step execution.

Masa1984a avatar May 04 '25 13:05 Masa1984a

@nareshrajkumar866 Thank you for your approve! However, github said that "At least 1 approving review is required by reviewers with writhe access"...

Masa1984a avatar May 26 '25 09:05 Masa1984a

Hello maintainers,

This PR has received 4 approvals from the community, indicating strong interest in this Windows DevContainer setup functionality. The script supports both Docker and Podman, which is particularly valuable for Windows users who may need alternatives to Docker Desktop.

I've just implemented the improvements suggested by @avdaredevil:

  • ✅ Updated to official PowerShell documentation syntax
  • ✅ Added ValidateSet parameter for better input validation

Regarding WSL support, I'm interested in exploring this in a future iteration to keep this PR focused and manageable.

Could a maintainer with write access please review this PR when you have a chance? I'm happy to make any additional changes needed to meet the project's standards.

Thank you for your time!

@ashwin-ant @ThariqS

Masa1984a avatar Jul 02 '25 22:07 Masa1984a

@ant-kurt Thank you so much for the improvements and for merging this PR! I really appreciate you taking the time to enhance the security with the & call operator instead of Invoke-Expression. I learned something valuable from your changes.

Happy to contribute to this amazing project!

Masa1984a avatar Jul 03 '25 02:07 Masa1984a