You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add support for Containerfile named files for sandbox creation. #2420
I don't personally use Docker. I don't have it installed on my machines.
I am explicitly passing a file named Containerfile to the sandbox create command, which I would expect to work.
openshell sandbox create --from ./Containerfile
However, I'm greeted with an error:
Error: × local --from file is not a Dockerfile: ./Containerfile
If I rename this file to Dockerfile it runs without issue.
To be perfectly frank, the --from command shouldn't care what the file is named. I should be able to name it myFile.xyz and so long as it's a valid set of container build instructions it should be able to build the sandbox from this, and if it's not a valid set of build instructions the build tool should spit out the native error as one would expect it to.
Proposed Design
Remove any filename-specific conventions for the --from argument.
Alternatives Considered
Allow Containerfile - while this would solve the immediate issue, it wouldn't allow for any future expansion to other file naming conventions, or it would not allow other custom files to be passed.
Agent Investigation
No response
Checklist
I've reviewed existing issues and the architecture docs
This is a design proposal, not a "please build this" request
I can update the CLI argument validation logic for --from so it doesn't strictly restrict files to being named Dockerfile (allowing Containerfile and other custom file names to be passed smoothly).
Could you please assign this issue to me? I'll set up the dev environment and submit a PR soon. Thanks!
This issue has had no activity for 14 days and is now marked stale. It may be closed in 7 days if there is no further activity. Comment or remove the state:stale label to keep it open.
Activity
tirthpatel90 commentedon Jul 22, 2026
Hi @drew,
I would love to work on this!
I can update the CLI argument validation logic for
--fromso it doesn't strictly restrict files to being namedDockerfile(allowingContainerfileand other custom file names to be passed smoothly).Could you please assign this issue to me? I'll set up the dev environment and submit a PR soon. Thanks!
github-actions commentedon Aug 6, 2026
This issue has had no activity for 14 days and is now marked stale. It may be closed in 7 days if there is no further activity. Comment or remove the state:stale label to keep it open.
github-actions commentedon Oct 13, 2026
Closing this issue after 14 days with no activity since it was marked stale. Reopen it if the work is still relevant.