Mirroring download.docker.com with debmirror

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












I'm running an apt mirror server for an isolated network, which successfully mirrors Debian, Ubuntu and a number of apt-based repositories using the debmirror utility (v2.27).



Unfortunately the script syntax that I've crafted using debmirror does not work for download.docker.com.
I've tried a number of different approaches without success. I find it odd that I can get it to work on a wide range of sites, but not download.docker.com.



Here is a command for debmirror that I've been trying to use:

/usr/bin/debmirror -a amd64
--nosource
-s stable
-h download.docker.com
-d xenial,bionic
-r /linux/ubuntu
--timeout=180
--progress
--method=http
--proxy=http://<internal proxy>:3128
--keyring=/<path to GPG>
/<mirror folder>



I've also tried using https, without success.



The errors I get generally come back as something like this:



GET http://download.docker.com/linux/ubuntu/dists/bionic/Release ==> 301 Moved Permanently (1s)



It may be a peculiarity of the Internet proxy I'm using, but it seems like it might be a bug with how debmirror is handling this site (through my proxy)?



Is anybody else able to get this to work via debmirror with or without a proxy?



Note: I am able to download individual files from the mirror via wget and I am also able to successfully mirror the site using apt-mirror. It is only with debmirror that I am seeing issues.









share







New contributor




Tyderian is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.























    up vote
    1
    down vote

    favorite












    I'm running an apt mirror server for an isolated network, which successfully mirrors Debian, Ubuntu and a number of apt-based repositories using the debmirror utility (v2.27).



    Unfortunately the script syntax that I've crafted using debmirror does not work for download.docker.com.
    I've tried a number of different approaches without success. I find it odd that I can get it to work on a wide range of sites, but not download.docker.com.



    Here is a command for debmirror that I've been trying to use:

    /usr/bin/debmirror -a amd64
    --nosource
    -s stable
    -h download.docker.com
    -d xenial,bionic
    -r /linux/ubuntu
    --timeout=180
    --progress
    --method=http
    --proxy=http://<internal proxy>:3128
    --keyring=/<path to GPG>
    /<mirror folder>



    I've also tried using https, without success.



    The errors I get generally come back as something like this:



    GET http://download.docker.com/linux/ubuntu/dists/bionic/Release ==> 301 Moved Permanently (1s)



    It may be a peculiarity of the Internet proxy I'm using, but it seems like it might be a bug with how debmirror is handling this site (through my proxy)?



    Is anybody else able to get this to work via debmirror with or without a proxy?



    Note: I am able to download individual files from the mirror via wget and I am also able to successfully mirror the site using apt-mirror. It is only with debmirror that I am seeing issues.









    share







    New contributor




    Tyderian is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





















      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I'm running an apt mirror server for an isolated network, which successfully mirrors Debian, Ubuntu and a number of apt-based repositories using the debmirror utility (v2.27).



      Unfortunately the script syntax that I've crafted using debmirror does not work for download.docker.com.
      I've tried a number of different approaches without success. I find it odd that I can get it to work on a wide range of sites, but not download.docker.com.



      Here is a command for debmirror that I've been trying to use:

      /usr/bin/debmirror -a amd64
      --nosource
      -s stable
      -h download.docker.com
      -d xenial,bionic
      -r /linux/ubuntu
      --timeout=180
      --progress
      --method=http
      --proxy=http://<internal proxy>:3128
      --keyring=/<path to GPG>
      /<mirror folder>



      I've also tried using https, without success.



      The errors I get generally come back as something like this:



      GET http://download.docker.com/linux/ubuntu/dists/bionic/Release ==> 301 Moved Permanently (1s)



      It may be a peculiarity of the Internet proxy I'm using, but it seems like it might be a bug with how debmirror is handling this site (through my proxy)?



      Is anybody else able to get this to work via debmirror with or without a proxy?



      Note: I am able to download individual files from the mirror via wget and I am also able to successfully mirror the site using apt-mirror. It is only with debmirror that I am seeing issues.









      share







      New contributor




      Tyderian is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I'm running an apt mirror server for an isolated network, which successfully mirrors Debian, Ubuntu and a number of apt-based repositories using the debmirror utility (v2.27).



      Unfortunately the script syntax that I've crafted using debmirror does not work for download.docker.com.
      I've tried a number of different approaches without success. I find it odd that I can get it to work on a wide range of sites, but not download.docker.com.



      Here is a command for debmirror that I've been trying to use:

      /usr/bin/debmirror -a amd64
      --nosource
      -s stable
      -h download.docker.com
      -d xenial,bionic
      -r /linux/ubuntu
      --timeout=180
      --progress
      --method=http
      --proxy=http://<internal proxy>:3128
      --keyring=/<path to GPG>
      /<mirror folder>



      I've also tried using https, without success.



      The errors I get generally come back as something like this:



      GET http://download.docker.com/linux/ubuntu/dists/bionic/Release ==> 301 Moved Permanently (1s)



      It may be a peculiarity of the Internet proxy I'm using, but it seems like it might be a bug with how debmirror is handling this site (through my proxy)?



      Is anybody else able to get this to work via debmirror with or without a proxy?



      Note: I am able to download individual files from the mirror via wget and I am also able to successfully mirror the site using apt-mirror. It is only with debmirror that I am seeing issues.







      debian ubuntu docker mirror apt-mirror





      share







      New contributor




      Tyderian is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share







      New contributor




      Tyderian is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share



      share






      New contributor




      Tyderian is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 5 mins ago









      Tyderian

      6




      6




      New contributor




      Tyderian is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Tyderian is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Tyderian is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );






          Tyderian is a new contributor. Be nice, and check out our Code of Conduct.









           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f476458%2fmirroring-download-docker-com-with-debmirror%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Tyderian is a new contributor. Be nice, and check out our Code of Conduct.









           

          draft saved


          draft discarded


















          Tyderian is a new contributor. Be nice, and check out our Code of Conduct.












          Tyderian is a new contributor. Be nice, and check out our Code of Conduct.











          Tyderian is a new contributor. Be nice, and check out our Code of Conduct.













           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f476458%2fmirroring-download-docker-com-with-debmirror%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Displaying single band from multi-band raster using QGIS

          How many registers does an x86_64 CPU actually have?