Skip to content

Commit

Permalink
docker/README.md: CLI: how to register new domain (cadence-workflow#1495
Browse files Browse the repository at this point in the history
)

Specify "host" as the network when start Cadence-ClI with docker.
`docker run --network=host --rm ubercadence/cli:master`
  • Loading branch information
vkuzmin-uber authored and vancexu committed Feb 26, 2019
1 parent bb47a8a commit 90a44d2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ docker-compose up

View metrics at localhost:8080/dashboard
View Cadence-Web at localhost:8088
Use Cadence-CLI with `docker run --rm ubercadence/cli:master`
Use Cadence-CLI with `docker run --network=host --rm ubercadence/cli:master`

For example to register new domain 'test-domain' with 1 retention day
`docker run --network=host --rm ubercadence/cli:master --do test-domain domain register -rd 1`


Using a pre-built image
Expand Down

0 comments on commit 90a44d2

Please sign in to comment.