Commit 0b20326f authored by Mark van Lent's avatar Mark van Lent

Update article to show how I use a Docker container to proxy traffic

parent 59784384
---
title: Setting up a temporary HTTP/HTTPS proxy via SSH
date: 2013-09-19 06:32
tags: [development, devops]
tags: [development, devops, docker]
---
Currently I'm working on a project where I have the staging
......@@ -15,6 +15,11 @@ A colleague told me to use
[micro_inetd](http://www.acme.com/software/micro_inetd/) to proxy
traffic via my laptop. This is a description of how you can set things up.
**Update 2019-07-15:** I am currently using a Docker to run a proxy on my
laptop. I have added a [Docker](#docker) section where I describe my new
setup.
# Ad hoc
Obviously the first step is to install the relevant packages on the
......@@ -87,3 +92,16 @@ And I'm good to go.
Now, there may be better solutions (especially if you want to
permanently setup a proxy), but for my purposes this works great.
# Docker
**Update 2019-07-15:** When I originally wrote this article, I was not yet (or
only just) using Docker. But when I was setting up a new laptop a while ago, I
wanted to run a proxy in a Docker container.
As a result, I now run the following to start a proxy:
$ docker run --name squid -d -p 3128:3128 datadog/squid
This way I don't have to install micro_proxy and micro_inetd on my machine.
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment