coder / coder/httpjail

Error: Failed to execute ip netns add

未关闭
#74 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Rust
星标
961
派生
28
PR 合并指标
30 天内没有已合并 PR

描述

I'm running in a Docker container, which does not (cannot) have `ip` installed.

```bash
user@test-workspace-88b1c24e:/workspace/test-workspace$ sudo ~user/.cargo/bin/httpjail --js "r.host === 'github.com'" -- hello
21:58:40.666 ERROR httpjail::sys_resource: Failed to cleanup resource on drop: Failed to execute ip netns del
Error: Failed to execute ip netns add

Caused by:
No such file or directory (os error 2)
```

I don't think this can ever work within a Docker container.

贡献指南

这个仓库没有索引到贡献指南

调研方向

在没有 `ip` 的 Docker 容器中重现 `httpjail --js ... -- hello` 命令,然后检查通过该入口点到达的网络命名空间设置。确认此环境是否受支持,并确定所需命令不可用时的预期行为。

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

评估

技术栈
docker, linux, rust
领域
infrastructure, networking, security
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

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