File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ An Aleph node needs an asymmetric key pair to communicate with other nodes on th
30
30
31
31
You can generate this key using the following commands after building the Docker image:
32
32
``` shell script
33
- docker run --rm -ti -- user root -v $( pwd) /node-secret.key:/opt/pyaleph/node-secret.key alephim/pyaleph-node:latest pyaleph --gen-keys
33
+ docker run --rm -- user root --entrypoint " " -v $( pwd) /node-secret.key:/opt/pyaleph/node-secret.key alephim/pyaleph-node:latest pyaleph --gen-keys
34
34
```
35
35
36
36
## Start the dev environment
Original file line number Diff line number Diff line change @@ -116,8 +116,8 @@ We strongly advise to back up your keys once generated.
116
116
.. parsed-literal ::
117
117
118
118
mkdir keys
119
- docker run --rm -ti -- user root -v $(pwd)/keys:/opt/pyaleph/keys alephim/pyaleph-node:|pyaleph_version | chown aleph:aleph /opt/pyaleph/keys
120
- docker run --rm -ti -v $(pwd)/keys:/opt/pyaleph/keys alephim/pyaleph-node:|pyaleph_version | pyaleph --gen-keys --key-dir /opt/pyaleph/keys
119
+ docker run --rm -- user root --entrypoint "" -v $(pwd)/keys:/opt/pyaleph/keys alephim/pyaleph-node:|pyaleph_version | chown aleph:aleph /opt/pyaleph/keys
120
+ docker run --rm --entrypoint "" -v $(pwd)/keys:/opt/pyaleph/keys alephim/pyaleph-node:|pyaleph_version | pyaleph --gen-keys --key-dir /opt/pyaleph/keys
121
121
122
122
To check that the generation of the keys succeeded, print your private key:
123
123
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ and adjust the ownership of the folder:
22
22
23
23
mkdir keys
24
24
cp node-secret.key keys/
25
- docker run --rm -ti -- user root -v $(pwd)/keys:/opt/pyaleph/keys alephim/pyaleph-node:|pyaleph_version | chown -R aleph:aleph /opt/pyaleph/keys
25
+ docker run --rm -- user root --entrypoint "" -v $(pwd)/keys:/opt/pyaleph/keys alephim/pyaleph-node:|pyaleph_version | chown -R aleph:aleph /opt/pyaleph/keys
26
26
27
27
Download the latest image
28
28
-------------------------
You can’t perform that action at this time.
0 commit comments