更新 Others/hysteria2/服务端-容器启动hysteria2.md
This commit is contained in:
parent
be718f5ad6
commit
91818010b6
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ EOF
|
||||||
## 启动
|
## 启动
|
||||||
```shell
|
```shell
|
||||||
docker pull tobyxdd/hysteria
|
docker pull tobyxdd/hysteria
|
||||||
docker run -td --restart always --name hysteria2 --network=host -v /etc/hysteria2/hysteria2.yaml:/etc/hysteria2.yaml tobyxdd/hysteria -c /etc/hysteria2.yaml server
|
docker run -td --restart always --name hysteria2 -p 443:443 -v /etc/hysteria2/hysteria2.yaml:/etc/hysteria2.yaml tobyxdd/hysteria -c /etc/hysteria2.yaml server
|
||||||
```
|
```
|
||||||
|
|
||||||
## 服务器放开443/udp,443/tcp
|
## 服务器放开443/udp,443/tcp
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue