We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
after installing cnetstat into my Docker image like so:
cnetstat
FROM ubuntu:22.04 ... RUN curl -L "https://github.com/microsoft/cnetstat/releases/latest/download/cnetstat.x86_64" > /usr/local/bin/cnetstat \ && chmod +x /usr/local/bin/cnetstat ...
and running it like so:
$ docker run --rm -it example.com/debug:latest /bin/bash root@57c6ee799ba3:/# cnetstat Error: exit status 1
volume mounting /var/run/docker.sock does not help:
/var/run/docker.sock
$ docker run --rm -it --volume /var/run/docker.sock:/var/run/docker.sock example.com/debug:latest /bin/bash root@57c6ee799ba3:/# cnetstat Error: exit status 1
tools such as lsns, nsenter, etc. exist in the image
lsns
nsenter
The text was updated successfully, but these errors were encountered:
@noahl any help is greatly appreciated
Sorry, something went wrong.
No branches or pull requests
after installing
cnetstat
into my Docker image like so:and running it like so:
volume mounting
/var/run/docker.sock
does not help:tools such as
lsns
,nsenter
, etc. exist in the imageThe text was updated successfully, but these errors were encountered: