Mirroring download.docker.com with debmirror
Clash 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.
debian ubuntu docker mirror apt-mirror
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.
add a comment |Â
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.
debian ubuntu docker mirror apt-mirror
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.
add a comment |Â
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.
debian ubuntu docker mirror apt-mirror
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
debian ubuntu docker mirror apt-mirror
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.
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.
add a comment |Â
add a comment |Â
active
oldest
votes
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.
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password