coder / coder/httpjail

Error: Failed to execute ip netns add

Open
#74 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
961
Forks
28
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.