Skip to content

Instantly share code, notes, and snippets.

@yuuichi-fujioka
Created September 17, 2014 01:42
Show Gist options
  • Save yuuichi-fujioka/5f382392e89e9f23eb1c to your computer and use it in GitHub Desktop.
Save yuuichi-fujioka/5f382392e89e9f23eb1c to your computer and use it in GitHub Desktop.
http proxy with docker
docker build -t http_proxy:latest ./
docker run -d -p 3128:3128 http_proxy
FROM ubuntu:latest
MAINTAINER [email protected]
RUN apt-get update -q && apt-get upgrade -y
RUN apt-get install -y squid
EXPOSE 3128
CMD /usr/sbin/squid3 -N
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment