devcontainers / devcontainers/cli

[question] Is there a configuration file?

未关闭
#1,046 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
3k
派生
457
平均合并
13 小时 17 分钟
30 天内合并 PR
6

描述

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.

```bash
$ 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`?

贡献指南

打开贡献指南

调研方向

Issue 中没有确定文件或测试。从 `exec`、`--docker-path` 和 `--container-id` 的 CLI 入口点开始;确定配置支持的范围,并将完成定义为提供一种有文档说明且可用的方式来避免重复指定所请求的 flags。

由索引模型根据 Issue 内容生成。

评估

技术栈
typescript
领域
cli, devtools
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。