Skip to content

Commit 842f434

Browse files
authored
Fixing examples for using KMS via Docker
1 parent 48b15c8 commit 842f434

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ TATUM_KMS_DEBUG_MODE=true/false/1/0
175175
```
176176
cd $HOME
177177
```
178-
1. Use pre-created ```.env``` file to configure Tatum KMS via ```--envFile .env```:
178+
1. Use pre-created ```.env``` file to configure Tatum KMS via ```--env-file .env```:
179179
1. Map the Docker volume to the local storage (your home folder).
180180
181181
For more details, refer to the [Docker user documentation](https://docs.docker.com/storage/volumes/).
@@ -184,9 +184,9 @@ TATUM_KMS_DEBUG_MODE=true/false/1/0
184184
185185
To interactively communicate with KMS and run various [KMS commands](#kms-commands), use the `docker run` command:
186186
```
187-
docker run -it --envFile .env -v $HOME:/root/.tatumrc tatumio/tatum-kms --help
188-
docker run -it --envFile .env -v $HOME:/root/.tatumrc tatumio/tatum-kms generatemanagedwallet BTC
189-
docker run -it --envFile .env -v $HOME:/root/.tatumrc tatumio/tatum-kms storemanagedprivatekey BTC
187+
docker run -it --env-file .env -v $HOME/.tatumrc:/home/node/.tatumrc tatumio/tatum-kms --help
188+
docker run -it --env-file .env -v $HOME/.tatumrc:/home/node/.tatumrc tatumio/tatum-kms generatemanagedwallet BTC
189+
docker run -it --env-file .env -v $HOME/.tatumrc:/home/node/.tatumrc tatumio/tatum-kms storemanagedprivatekey BTC
190190
```
191191
192192
>**NOTE:** You can shorten the command syntax and use it as follows:
@@ -223,7 +223,7 @@ tatum-kms daemon
223223
```
224224
or
225225
```
226-
docker run -d --envFile .env -v $HOME:/root/.tatumrc tatumio/tatum-kms daemon
226+
docker run -d --env-file .env -v $HOME:/root/.tatumrc tatumio/tatum-kms daemon
227227
```
228228
When KMS runs as a daemon, it periodically checks for any new pending transactions to sign.
229229

0 commit comments

Comments
 (0)