File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ To deploy Lightning Charge with Docker, run these commands:
5353
5454``` bash
5555$ mkdir data # make sure to create the folder _before_ running docker
56- $ docker run -u ` id -u` -v ` pwd` /data:/data -p 9735:9735 -p 9112:9112 \
56+ $ docker run -it - u ` id -u` -v ` pwd` /data:/data -p 9735:9735 -p 9112:9112 \
5757 -e API_TOKEN=mySecretToken \
5858 shesek/lightning-charge
5959```
@@ -66,7 +66,7 @@ Runs in `testnet` mode by default, set `NETWORK` to override.
6666If you want to experiment in ` regtest ` mode and don't care about persisting data, this should do:
6767
6868``` bash
69- $ docker run -e NETWORK=regtest -e API_TOKEN=mySecretToken -p 9112:9112 shesek/lightning-charge
69+ $ docker run -it - e NETWORK=regtest -e API_TOKEN=mySecretToken -p 9112:9112 shesek/lightning-charge
7070```
7171
7272To connect to an existing ` lightningd ` instance running on the same machine,
@@ -298,7 +298,7 @@ To prevent the test environment files from being deleted after completing the te
298298To setup a testing environment without running the tests, run ` $ npm run testenv ` .
299299This will display information about the running services and keep them alive for further inspection.
300300
301- Tests can also be run using docker: ` $ docker build --build-arg TESTRUNNER=1 -t charge . && docker run charge npm test `
301+ Tests can also be run using docker: ` $ docker build --build-arg TESTRUNNER=1 -t charge . && docker run -it charge npm test `
302302
303303## License
304304
You can’t perform that action at this time.
0 commit comments