Skip to content

Commit

Permalink
docs: fix docker start command error (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
DVKunion authored Jul 8, 2024
1 parent 99adf1a commit 7938f60
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/guide/01.开始使用/00.start.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ article: false

### 启动服务

`$ docker run -it -d --net=host dvkunion/seamoon:latest proxy`
`$ docker run -it -d --net=host dvkunion/seamoon:latest client proxy`

如果一切正常,你将可以在 `http://localhost:7777` 访问到管理页面:

Expand Down
4 changes: 2 additions & 2 deletions docs/guide/01.开始使用/01.install.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ article: false
推荐使用 docker 一键部署client

```shell
$ docker run -it -d --net=host dvkunion/seamoon:latest proxy
$ docker run -it -d --net=host dvkunion/seamoon:latest client proxy
```

默认使用`--net=host`模式,这样比较简单易懂。为了更高的安全性、可控性,你也可以自己选择映射:

```shell
$ docker run -it -d -p 127.0.0.1:7777:7777 -p 1080:1080 dvkunion/seamoon:latest proxy
$ docker run -it -d -p 127.0.0.1:7777:7777 -p 1080:1080 dvkunion/seamoon:latest client proxy
```

这样可以将管理端口限制只能通过本地 `127.0.0.1` 访问,如果你需要限制为其他 IP,可以自行修改。
Expand Down

0 comments on commit 7938f60

Please sign in to comment.