Blogger Information
Blog 75
fans 0
comment 0
visits 55280
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
小猿圈之docker快速搭建http代理小技巧
聆听的博客
Original
523 people have browsed it

docker现在被大家所喜爱,那怎么利用docker快速搭建http代理呢,小猿圈今天把这个小技巧传授给大家,一般那人可不告诉哦!

不多说,一行搞定:

实例

docker run -d -p 3128:3128 minimum2scp/squid

运行实例 »

点击 "运行实例" 按钮查看在线实例

这就完了?这么简单吗?

没毛病,测试的时候用下面两行也就搞定:

实例

export http_proxy=http://127.0.0.1:3128

curl http://example.com/

运行实例 »

点击 "运行实例" 按钮查看在线实例

很简单就可以搞定,如果想用这个搭建http代理的,可以自己测试了,小猿圈就帮你到这里了,有疑惑或者想搞大事情的朋友去小猿圈看看,有更多技巧,希望我们可以一起搞事情。

Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post