Skip to content

[BUG] Consider permissive license for devcontainer configs #11207

Closed as not planned

Description

@asmacdo

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Context:
The .devcontainer/ directory contains helpful setup files (Dockerfile, init-firewall.sh) that many developers would benefit from sharing and adapting, and including in their own repositories for suggested developer setup.

Current situation:
The repo uses "All rights reserved" licensing, which technically restricts redistribution and modification of these configuration files.

Since this code is clearly intended to be used by developers, this is not an ideal situation.

What Should Happen?

Suggestion:
Consider moving the the .devcontainer/ directory to another repo with a permissive license like MIT or Apache 2.0. (https://github.com/anthropics/claude-cookbooks seems like a good candidate)

This would:

  • Enable the community to share adaptations
  • Allow inclusion in setup guides and tutorials
  • Foster ecosystem development around Claude Code
  • Still protect the core Claude Code intellectual property

Alternative:
If changing the license isn't feasible, explicit permission in specific files for "redistribution" or "redistribution with attribution" would also help.

This would support developers who want to help others get started with Claude Code in containerized environments.

Error Messages/Logs

Steps to Reproduce

NA

Claude Model

None

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

2.0.35

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Xterm

Additional Information

No response

Activity

  1. yarikoptic commented on Nov 11, 2025

    @yarikoptic

    It would be great if LICENSE terms for all of the content in this repo were clarified since referenced in LICENSE terms say nothing about "sources" etc. Not even sure if such not really "open sourced" content could legitimately be shared here on github without violating https://docs.github.com/en/site-policy/github-terms/github-terms-of-service .

    edit: FWIW, https://github.com/openai/codex has Apache 2.0 for its LICENSE.

  2. yarikoptic commented on Dec 2, 2025

    @yarikoptic

    ping on this issue as it in effect forbids use of this repository

  3. github-actions commented on Jan 2, 2026

    @github-actions

    This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

  4. yarikoptic commented on Jan 2, 2026

    @yarikoptic

    comment and ping

  5. fohrloop commented on Jan 23, 2026

    @fohrloop

    I was just about to open the same issue.

    You specifically instruct developers in at https://code.claude.com/docs/en/devcontainer to copy the devcontainer setup and modify to their needs:

    The reference devcontainer setup and associated Dockerfile offer a preconfigured development container that you can use as is, or customize for your needs.

    However, the LICENSE.md just points to https://www.anthropic.com/legal/commercial-terms which really is not a software license, but ToS.

    This is a blocker for using the contents of .devcontainer in any project. One solution would be to grab a copy of MIT License and put it in the .devcontainer folder.

  6. github-actions commented on Feb 28, 2026

    @github-actions

    Closing for now — inactive for too long. Please open a new issue if this is still relevant.

  7. github-actions commented on Mar 8, 2026

    @github-actions

    This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

  8. locked as resolved and limited conversation to collaborators on Mar 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstaleIssue is inactive

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions