runArgs is not honoured
维护者通常 1 天内回复
@sireeshajonnalagadda 已经在做这个了。
开始于 2026年1月14日。
评估
这个 Issue 还没有评估数据。
描述
I specified the runArgs as following:
runArgs: [
"--network=host"
],
But the output in the console is as following:
[33764 ms] Start: Run: docker run --sig-proxy=false -a STDOUT -a STDERR --mount type=bind,source=/Users/abc/Code/my-projects/self-hosted,target=/workspaces/self-hosted,consistency=cached --mount type=bind,src=/Users/abc/.config/git,dst=/home/code/.config/git,readOnly=true --mount type=bind,src=/Users/abc/.gnupg,dst=/home/code/.gnupg,readOnly=true --mount type=bind,src=/Users/abc/.ssh,dst=/home/code/.ssh,readOnly=true --mount type=bind,src=/Users/abc/.config/fish,dst=/home/code/.config/fish,readOnly=true --mount type=bind,src=/Users/abc/.config/fisher,dst=/home/code/.config/fisher,readOnly=true --mount type=bind,src=/Users/abc/.config/starship.toml,dst=/home/code/.config/starship.toml,readOnly=true --mount type=bind,src=/private/tmp/com.apple.launchd.0EfLKESZrA/Listeners,dst=/ssh-agent.sock -l devcontainer.local_folder=/Users/abc/Code/my-projects/self-hosted -l devcontainer.config_file=/Users/abc/Code/my-projects/self-hosted/.devcontainer/devcontainer.json --entrypoint /bin/sh vsc-self-hosted-8a813f76c3e5b6b339512e0f340a5fc06582f40f5d6d07e4f24aa6f4ab521f81 -c echo Container started
Container started
{"outcome":"success","containerId":"aebc5fe909ad47ea8d70a7fd7bb9c4a6d7672b0856e8d3aef0a289a015727862","remoteUser":"code","remoteWorkspaceFolder":"/workspaces/self-hosted"}
It does not container the --network=host part. My workaround is to modify the code directly on my local machine
- 主要语言
- TypeScript
- 星标
- 3k
- 派生
- 463
- 平均合并
- 13 小时 28 分钟
- 30 天内合并 PR
- 2
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
devcontainers/cli 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 92/100
devcontainers/cli#1203 ·
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 68/100
devcontainers/cli#1178 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 68/100
devcontainers/cli#1317 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 25/100
devcontainers/cli#1308 ·
维护者通常 1 天内回复
-
build rejects valid tag@digest image references during registry inspection可能已有人在做 @v-Kaniska244 于 8 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 78/100
devcontainers/cli#1307 · 2 条评论 · 1 个 reaction · 已指派 1 人 ·
维护者通常 1 天内回复
查看 devcontainers/cli 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
Doist/todoist-cli#576 ·
维护者通常 1 天内回复
-
🐛 Bug supabase/cli
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 90/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
CopilotKit/aimock#491 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 86/100
agilepathway/label-checker#710 · 2 条评论 ·
维护者通常 1 天内回复