Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
EmericLee authored Jun 15, 2019
1 parent 0f0cb5e commit 0d9281a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ By [email protected]

## Quick EXAMPLE

### 1.Run image manually
### Example A.Run image manually with command shell
Run image quickly and enter shell and start services manually by command line in container.

docker run -it --rm --name vpnpure --privileged --cap-add ALL -v /lib/modules:/lib/modules emericlee/stronggate sh

### 2.Run image with full service
### Example B.Run image manually with full service
Modify the following command line as needed and run it. `abspath-to-stronggate-config-files` is the directory for aggregation of config files , see `config files` .

docker run -it --rm --name vpnpure --privileged --cap-add ALL -v /lib/modules:/lib/modules \
Expand All @@ -22,7 +22,7 @@ Modify the following command line as needed and run it. `abspath-to-stronggate-
-v /abspath-to-stronggate-config-files/:/etc/stronggate \
emericlee/stronggate

### 3.docker-compose up
### Example C Run image by docker-compose
Create a compose file like below and up it.

#example:docker-compose for stronggate
Expand Down

0 comments on commit 0d9281a

Please sign in to comment.