containers / containers/bubblewrap

unshare-net fails on gvisor due to failing loopback setup

Open
#745 2 comments 3 reactions 0 assignees View on GitHub
Dominant language
C
Stars
8.7k
Forks
386
Avg merge
3d 17h
Merged PRs (30d)
11

Description

I am running bwrap in a docker that runs on GCP, thus under gvisor.

When I try to use `--unshare-all` or `--unshare-net`, the bwrap code fails in:
```
if (opt_unshare_net)
loopback_setup (); /* Will exit if unsuccessful */
```

Is there a reason to try to setup loopback?

I have removed this code part and can confirm that then bwrap works on gvisor, too.

Thanks for any suggestion

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.