Merge pull request #215 from nacos-group/Fixed_issue_214

Fixed Readme error #214
This commit is contained in:
paderlol 2021-10-16 22:39:31 +08:00 committed by GitHub
commit 77550d8341
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ This project contains a Docker image meant to facilitate the deployment of [Naco
## Quick Start
```shell
docker run --name nacos-quick -e MODE=standalone -p 8849:8848 -d nacos/nacos-server:2.0.2
docker run --name nacos-quick -e MODE=standalone -p 8848:8848 -p 9848:9848 -d nacos/nacos-server:2.0.2
```
@ -71,7 +71,8 @@ Run the following command
* Service registration
```powershell
curl -X PUT 'http://127.0.0.1:8848/nacos/v1/ns/instance?serviceName=nacos.naming.serviceName&ip=20.18.7.10&port=8080'
curl -X POST 'http://127.0.0.1:8848/nacos/v1/ns/instance?serviceName=nacos.naming.serviceName&ip=20.18.7.10&port=8080'
```
* Service discovery