Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Proget Docker container should support Ping command

    Scheduled Pinned Locked Moved Support
    8 Posts 2 Posters 13 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      scroak_6473
      last edited by

      Hey Guys,

      Wondering if you could update a future proget container image to include "ping", this is very useful when troubleshooting.

      db483a47-679f-41ce-996c-162387d066cd-image.png

      Thanks

      Simon

      1 Reply Last reply Reply Quote 0
      • atrippA Offline
        atripp inedo-engineer
        last edited by

        hi Simon, thanks for the suggestion.

        I'm not so familiar with the ping command, and i didn't find much on searching "docker ping command". Do you have any information on it, is it a kind of standard?

        Or is this the usual ping that you use to like, ping google.com or something?

        Cheers, Alana

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          scroak_6473 @atripp
          last edited by

          Hi @atripp

          Yep just the standard ping command. You can install it on your container image using something like the following in the dockerfile:

          apt-get install iputils-ping.

          Thanks

          Simon

          atrippA 1 Reply Last reply Reply Quote 0
          • atrippA Offline
            atripp inedo-engineer @scroak_6473
            last edited by

            @scroak_6473 oh I see, the usual ping! Thanks.

            How/when is this helpful? Is it something that is called from outside the container? My image is, "I need to diagnose my network configuration, so I SSH into my Docker container, but ping isn't there?"

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              scroak_6473 @atripp
              last edited by

              Hi @atripp,

              That's correct. I'm having issue getting my proget container talking to my clair container and I want to make sure proget can communicated with clair over their shared docker network.

              So I connect to proget's container command line and try to issue "Ping clair" etc

              Simon

              1 Reply Last reply Reply Quote 0
              • atrippA Offline
                atripp inedo-engineer
                last edited by

                Ah got it, thanks!

                Seems like an easy line to add (and probably doesn't increase container size much), but since it's only used during intiial setup, is it easy to run apt-get install iputils-ping first, or does that require a special kind of network access? Or is this common in other product-based containers?

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  scroak_6473 @atripp
                  last edited by

                  @atripp yes its easy to add using apt-get when required however if you have an issue where the container is automatically restarting (for some reason) you would need to install it after every restart.

                  Its pretty common to have this application installed in most container images.

                  Simon

                  atrippA 1 Reply Last reply Reply Quote 0
                  • atrippA Offline
                    atripp inedo-engineer @scroak_6473
                    last edited by

                    @scroak_6473 got it, thanks! Okay, I've requested to engineering about adding it to the upcoming ProGetCore container, and we'll update this with more details as we have i

                    1 Reply Last reply Reply Quote 0

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    • 1 / 1
                    • First post
                      Last post
                    Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation