Skip to content

Instantly share code, notes, and snippets.

@morteza-mori
Forked from mortymacs/manual.md
Created May 22, 2018 10:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save morteza-mori/badf28219fbbd60def6a23b3f72b5957 to your computer and use it in GitHub Desktop.
Save morteza-mori/badf28219fbbd60def6a23b3f72b5957 to your computer and use it in GitHub Desktop.
Set Proxy On Docker Service in Linux
  • First install tor and privoxy and config them.
  • Create a file in this directory with below config: touch /etc/systemd/system/docker.service.d/http-proxy.conf
[Service]
Environment="HTTP_PROXY=127.0.0.1:8118"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment