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
3030
3131You can generate this key using the following commands after building the Docker image:
3232``` 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
3434```
3535
3636## 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.
116116.. parsed-literal ::
117117
118118 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
121121
122122 To check that the generation of the keys succeeded, print your private key:
123123
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ and adjust the ownership of the folder:
2222
2323 mkdir keys
2424 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
2626
2727 Download the latest image
2828-------------------------
You can’t perform that action at this time.
0 commit comments