Signed-off-by: Long <long.dai@intel.com>
This commit is contained in:
Long 2021-10-28 14:09:20 +00:00
parent 43c033eac6
commit adc90b090f
1 changed files with 3 additions and 6 deletions

View File

@ -47,6 +47,9 @@ dapr run [flags] [command]
# Run a .NET application
dapr run --app-id myapp --app-port 5000 -- dotnet run
# Run a .Net application with socket
dapr run --app-id myapp --app-port 5000 --unix-domain-socket /tmp -- dotnet run
# Run a Java application
dapr run --app-id myapp -- java -jar myapp.jar
@ -62,9 +65,3 @@ dapr run --app-id myapp
# Run a gRPC application written in Go (listening on port 3000)
dapr run --app-id myapp --app-port 5000 --app-protocol grpc -- go run main.go
```
### Run a .Net application with socket
```bash
dapr run --app-id myapp --app-port 5000 --enable-unix-socket -- dotnet run
```