docker: update readme

Changes the second docker-compose command to "run" instead of "up",
since this was failing for several people. Also removes the use of
the --num_conf flag to lncli openchannel, as this was removed in
0dfe733.
This commit is contained in:
Johan T. Halseth 2017-08-29 12:35:16 +02:00 committed by Olaoluwa Osuntokun
parent 383b50acb8
commit 4bae23a9a7

@ -90,7 +90,7 @@ Connect `Bob` node to `Alice` node.
```bash
# Run "Bob" node and log into it:
$ docker-compose up --no-recreate -d --name bob lnd_btc
$ docker-compose run -d --name bob lnd_btc
$ docker exec -i -t bob bash
# Get the identity pubkey of "Bob" node:
@ -157,7 +157,7 @@ bob$ lncli listpeers
Create the `Alice<->Bob` channel.
```bash
# Open the channel with "Bob":
alice$ lncli openchannel --node_key=<bob_identity_pubkey> --num_confs=1 --local_amt=1000000
alice$ lncli openchannel --node_key=<bob_identity_pubkey> --local_amt=1000000
# Include funding transaction in block thereby open the channel:
$ docker-compose run btcctl generate 1