[question] Is there a configuration file?

Open
#1,046 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
typescript
Domain
cli, devtools

Research direction

No file or test is identified in the issue. Start at the CLI entry points for exec, --docker-path, and --container-id; determine the scope of configuration support and define done as a documented, usable way to avoid repeating the requested flags.

Written by the indexing model from the issue text.

Description

Hello,

I'm normally using devcontainers from within vs code. In this case, you could set up some configuration there. In my case, I use devcontainers with podman and podman compose. It works like a charm with vs code.

However, when I'm using the cli, I always have to add --docker-path, e.g.

$ devcontainer exec --container-id 84e895517c23 --workspace-folder haskell-hglib --docker-path /usr/bin/podman ls
CHANGELOG.md  ...

Is there a way around this? Is there a configuration file for the cli as well? Is there a way to avoid the --container-id?

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.