Error: Failed to execute ip netns add
- Ngôn ngữ chính
- Rust
- Star
- 961
- Fork
- 28
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Reproduce the `httpjail --js ... -- hello` command in a Docker container without `ip`, then inspect the network-namespace setup reached by that entry point. Confirm whether this environment is supported and establish the expected behavior when the required command is unavailable.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- docker, linux, rust
- Lĩnh vực
- infrastructure, networking, security
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100