Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix docker start command error #95

Merged
merged 1 commit into from
Jul 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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