Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support netstat #2112

Open
ianlewis opened this issue Mar 10, 2020 · 0 comments
Open

Support netstat #2112

ianlewis opened this issue Mar 10, 2020 · 0 comments

Comments

@ianlewis
Copy link
Contributor

@ianlewis ianlewis commented Mar 10, 2020

Support for the netstat tool

On ubuntu:

~$ docker run --runtime=gvisor --rm -ti ubuntu su -c "apt update && apt install net-tools && netstat"
...
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State      
Active UNIX domain sockets (w/o servers)
Proto RefCnt Flags       Type       State         I-Node   Path

On alpine:

~$ docker run --runtime=gvisor --rm -ti alpine netstat
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       
netstat: /proc/net/raw: No such file or directory
netstat: /proc/net/raw6: No such file or directory
Active UNIX domain sockets (w/o servers)
Proto RefCnt Flags       Type       State         I-Node Path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant