Created
September 17, 2014 01:42
-
-
Save yuuichi-fujioka/5f382392e89e9f23eb1c to your computer and use it in GitHub Desktop.
http proxy with docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker build -t http_proxy:latest ./ | |
docker run -d -p 3128:3128 http_proxy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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