Giter Club home page Giter Club logo

Comments (7)

quadespresso avatar quadespresso commented on May 27, 2024 3

PR created: #158

from netshoot.

quadespresso avatar quadespresso commented on May 27, 2024

Works for me:

❯ docker pull nicolaka/netshoot
Using default tag: latest
latest: Pulling from nicolaka/netshoot
661ff4d9561e: Pull complete 
995df079f4e4: Pull complete 
dd60ddc09193: Pull complete 
db21b8384e68: Pull complete 
0c4b97b7a9f6: Pull complete 
ab55214c6c7f: Pull complete 
605fbab30112: Pull complete 
4f4fb700ef54: Pull complete 
ccf5fa44d580: Pull complete 
bd3e8b5a2d54: Pull complete 
76daa6c53003: Pull complete 
f32b561aa773: Pull complete 
b72ad7310ef5: Pull complete 
a06bebda965d: Pull complete 
a1436cccfd44: Pull complete 
Digest: sha256:b569665f0c32391b93f4de344f07bf6353ddff9d8c801ac3318d996db848a64c
Status: Downloaded newer image for nicolaka/netshoot:latest
docker.io/nicolaka/netshoot:latest

That said, I found some inspiration here: moby/moby#45757

After starting the container, I had a look here:

 80c75558f0a4  ~  ls -l /usr/local/bin         
total 108556
-rwxr-xr-x    1 root     root      45314048 Aug  1  2022 calicoctl
-rwxr-xr-x    1 root     root      13606047 Mar 22  2022 ctop
-rwxr-xr-x    1 root     root      12898304 Feb  9 22:28 fortio
-rwxr-xr-x    1 70806186 70806186  24027136 Oct 24 17:14 grpcurl
-rwxrwxr-x    1 1000     1000      15298560 Jul 11  2022 termshark
 80c75558f0a4  ~  stat /usr/local/bin/grpcurl 
  File: /usr/local/bin/grpcurl
  Size: 24027136  	Blocks: 46936      IO Block: 4096   regular file
Device: 6ah/106d	Inode: 33873716    Links: 1
Access: (0755/-rwxr-xr-x)  Uid: (708061865/ UNKNOWN)   Gid: (708061865/ UNKNOWN)
Access: 2023-10-24 17:14:57.000000000 +0000
Modify: 2023-10-24 17:14:57.000000000 +0000
Change: 2024-02-16 17:40:28.913486261 +0000
 80c75558f0a4  ~  find / -user 708061865      
/usr/local/bin/grpcurl

Looks to be an issue in the upstream tarball:

LINK="https://github.com/fullstorydev/grpcurl/releases/download/v${VERSION}/grpcurl_${VERSION}_linux_${TERM_ARCH}.tar.gz"
wget "$LINK" -O /tmp/grpcurl.tar.gz && \
tar -zxvf /tmp/grpcurl.tar.gz && \
mv "grpcurl" /tmp/grpcurl && \
chmod +x /tmp/grpcurl

I'll create a PR to patch this.

from netshoot.

Tej-Singh-Rana avatar Tej-Singh-Rana commented on May 27, 2024

Thanks for looking into this. 👍

from netshoot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.