Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Override command without Dockerfile

Open
#891 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
docker, typescript
Domain
cli, devtools

Research direction

Start by locating the CLI handling for image, overrideCommand, and command in devcontainer.json. Determine whether an existing configuration path can express the requested command without a Dockerfile, and check how the behavior is covered or documented. Done means the supported behavior is clear and, if needed, implemented with appropriate validation.

Written by the indexing model from the issue text.

Description

info-needed

Hi,

Is it possible to override CMD without having a Dockerfile?
I'd like to use image & overrideCommand: false but also specify the command without unnecessarily writing a Dockerfile that just changes CMD.

Thank you!

Dominant language
TypeScript
Stars
3k
Forks
461
Avg merge
18m
Merged PRs (30d)
5

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from devcontainers/cli

All issues in devcontainers/cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.