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 on Docker Container

    Scheduled Pinned Locked Moved Support
    progetnuget
    3 Posts 1 Posters 38 Views
    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.
    • ? This user is from outside of this forum
      Guest
      last edited by

      Hi everybody. firts of all i am very beginner working with docker and proget.
      I created a proget in a docker and it is published on 6580/80 ports.

      This configuration is set because i have others container in the same linux host (like mongodb, postgrest,etc). The problems that i encountered when created a private package repository (using choco) it's when I publish a package correctly and have a string to call like (choco install package ---source http://myprivateurl/nuget/feeds. When i call this string from a local computer , the installation fails due to next message:
      [NuGet] It is not possible to connect to the remote server.
      The package was not found with the source(s) listed.

      After some days trying to fix the problem without result, my question is that is possible have a diferent docker containers in the same linux host each one on different port. Or maybe the configuration of porget its wrongt.

      Hopefully someway anybody can show me the light.

      Product: ProGet
      Version: 5.1.8

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        Of course you can have many containers running on a host.

        But just so you know... Docker is most definitely not for beginners, so if your goal is "getting a reliable ProGet setup working in a reasonable amount of time", you should most definitely use Windows.

        If you're aiming to learn how to use Linux/Docker, there are better ways than using the ProGet container.

        The problem with using Docker as a non-expert is that, when it breaks (which it inevitably will), if you don't know all the right commands to type in and underlying configuration of the containers, you're going to be spending hours/days scrambling to fix it.

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          Hello George, thanks for your quickly answer. Well, I tried to change the proget configuration ports on docker from 6580:80 to 80:80 and the problems have resolved.

          I Understand that although proget resolve correctly the url request http://proget.local:6580 and redirect the answer to 80 port when i tried to download a package with choco pack -source http://proget.local (previusly correctly uploaded on proget trought the portal) this query always bound to 80 ports and because of this it´s not possible to find the package and download it.

          I reinforced these arguments when later saw in the dockerfile details that mount the proget image te next string:
          (/bin/sh -c ([ -f /usr/share/Inedo/SharedConfig/ProGet.config ] || echo '<?xml version="1.0" encoding="utf-8"?><InedoAppConfig>ConnectionString>'"$PROGET_DATABASE"'</ConnectionString><WebServer Enabled="true" Urls="http://*:80/"/></InedoAppConfig>' > /usr/share/Inedo/SharedConfig/ProGet.config) && mono/usr/local/proget/db/bmdbupdate.exe Update /Conn="$PROGET_DATABASE" /Init=yes && exec mono /usr/local/proget/service/ProGet.Service.exe run --mode=both)

          I hopesfuly to correctly understanded that the issue was here. In any case now I have two current proget running. One on docker on 80/80 ports and other on windows.

          Thanks for your help.

          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