add lantern

This commit is contained in:
newnius
2017-07-18 20:18:55 +08:00
parent f365be5ceb
commit 1a8c9bb3ff
3 changed files with 46 additions and 0 deletions

14
lantern/README.md Normal file
View File

@@ -0,0 +1,14 @@
Forked from [lihaixin/lantern/](https://hub.docker.com/r/lihaixin/lantern/) for upgrade.
## Swarm mode
```bash
docker service create \
--name lantern \
--publish 3128:3128 \
newnius/lantern
```
## non-swarm mode
docker run --rm --name lantern -p 3128:3128 -p 1080:1080 newnius/lantern