Browse Source

docs: docker restart always

master
Dnomd343 3 years ago
committed by GitHub
parent
commit
0ced355904
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      README.md

4
README.md

@ -101,7 +101,7 @@ Docker version ···, build ···
```
# 映射容器1688与1689端口到宿主机,容器路径可替换为上述其他源
shell> docker run -d --name kms -p 1688:1688 -p 1689:1689 dnomd343/kms-server
shell> docker run -d --restart=always --name kms -p 1688-1689:1688-1689 dnomd343/kms-server
# 查看容器状态
shell> docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
@ -431,4 +431,4 @@ shell> docker buildx build -t dnomd343/kms-server --platform="linux/amd64,linux/
## 许可证
MIT ©2021 [@dnomd343](https://github.com/dnomd343)
MIT ©2021 [@dnomd343](https://github.com/dnomd343)

Loading…
Cancel
Save