Sign inSign up

wilon/lantern

By wilon

•Updated over 3 years ago

Latest lantern docker image.

Image
10

10K+

wilon/lantern repository overview

⁠Docker 运行 Lantern 6.6.1,科学上网

Build Status

+ 输入我的邀请码 YMD8TTG 来获得三个月的蓝灯专业版!
- 输入我的邀请码 YMD8TTG 来获得三个月的蓝灯专业版!

⁠安装方法

docker pull wilon/lantern

或者源码构建,更适合国内网络:

git clone https://github.com/wilon/lantern.git
cd ./lantern
docker build -t wilon/lantern -f Dockerfile-CN .

启动:

docker run -itd --restart=always --name lantern -p 3128:3128 -p 8080:8080 wilon/lantern

或者使用 docker-compose

git clone https://github.com/wilon/lantern.git
cd ./lantern
docker-compose up -d

⁠测试

Win7 系统需将下列 IP 换成 docker IP。 (默认地址: 192.168.99.100)

浏览器打开:http://0.0.0.0:8080/wilonlantern⁠

⁠· 测试是否能上Google

curl -kvx 127.0.0.1:3128 https://www.google.com/humans.txt,能看到 Google is built by a... 就是成功了!

⁠· 测试响应时间

curl -kx 127.0.0.1:3128 -w %{time_namelookup}::%{time_connect}::%{time_starttransfer} https://www.google.com/humans.txt

⁠使用方法

⁠· MacOS 配置

设置 -> 网络 -> 高级 -> 代理: HTTP、HTTPS填上127.0.0.1:3128

⁠· WIN 配置

设置 -> 网络和Internet -> 代理 -> 手动设置代理: 填上127.0.0.1:3128


有问题? 发issues⁠

Tag summary

Content type

Image

Digest

sha256:73c529760…

Size

104.4 MB

Last updated

over 3 years ago

docker pull wilon/lantern