Skip to content

Instantly share code, notes, and snippets.

@mortymacs
Created July 19, 2017 19:57
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mortymacs/daf31e56423a295ec3cc0476fa2f2c8f to your computer and use it in GitHub Desktop.
Save mortymacs/daf31e56423a295ec3cc0476fa2f2c8f 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