Skip to content

Instantly share code, notes, and snippets.

@meysampg
Created August 6, 2023 10:40
Show Gist options
  • Save meysampg/d38c1be2e21f80b0087c832fc1783698 to your computer and use it in GitHub Desktop.
Save meysampg/d38c1be2e21f80b0087c832fc1783698 to your computer and use it in GitHub Desktop.
Set proxy for docker repository by creating /etc/apt/apt.conf.d/99proxy with this content
Acquire::http::Proxy {
download.docker.com "http://localhost:8118";
};
Acquire::https::Proxy {
download.docker.com "http://localhost:8118";
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment