Create README.md

This commit is contained in:
Sah 2015-01-03 19:40:41 +08:00
parent b9d6ca6e43
commit 59dc0a79d7

22
docker/README.md Normal file
View file

@ -0,0 +1,22 @@
# Shadowsocks Dockerization
## How to use this image
Pull the image.
```bash
docker pull leesah/shadowsocks
```
Create a data container and edit the configuration file.
```bash
docker run --name shadowsocks-data leesah/shadowsocks /bin/true
docker run --rm --volumes-from shadowsocks-data leesah/shadowsocks vi /etc/shadowsocks.conf
```
Start the daemon container.
```bash
docker run --name shadowsocks-app --detach --publish 58388:8388 --volumes-from shadowsocks-data leesah/shadowsocks
```