Skip to content

Commit f587839

Browse files
authored
Update cadence docs to use grpc and fix domain name (#222)
* Update cadence docs to use grpc and fix domain name * Update index.md
1 parent ef8c4ef commit f587839

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/06-cli/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Note that CLI versions of 0.20.0 works for all server versions of 0.12 to 0.19 a
4343
NOTE: On Docker versions 18.03 and later, you may get a "connection refused" error when connecting to local server. You can work around this by setting the host to "host.docker.internal" (see [here](https://docs.docker.com/docker-for-mac/networking/#use-cases-and-workarounds) for more info).
4444

4545
```bash
46-
docker run -it --rm ubercadence/cli:master --address host.docker.internal:7933 --domain samples-domain domain describe
46+
docker run -it --rm ubercadence/cli:master --address host.docker.internal:7833 --t grpc --domain samples-domain domain describe
4747
```
4848

4949
NOTE: Be sure to update your image when you want to try new features: `docker pull ubercadence/cli:master `
@@ -54,7 +54,7 @@ NOTE: If you are running docker-compose Cadence server, you can also logon to th
5454
$ docker exec -it docker_cadence_1 /bin/bash
5555

5656
# this command runs within the container
57-
% cadence --address $(hostname -i):7933 --do samples domain register
57+
% cadence --address $(hostname -i):7833 --t grpc --do samples-domain domain register
5858
```
5959

6060
### Build it yourself

0 commit comments

Comments
 (0)