Skip to content

Commit

Permalink
fix(examples): add explanations about docker group to examples/electr…
Browse files Browse the repository at this point in the history
…icity-trade and examples/cartrade

Signed-off-by: Ryu-Shinzaki <[email protected]>
  • Loading branch information
Ryu-Shinzaki authored and takeutak committed Mar 31, 2021
1 parent 34f8e17 commit 6174cbd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/cartrade/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Before you begin, you need to check that you have all the prerequisites installe
```
./script-start-ledgers.sh
```
- (NOTICE: Before executing the above, your account need to be added to the docker group (`usermod -a -G docker YourAccount` from root user))
- If the following containers are started when displaying the container list with the docker ps command, it will be fine.
```
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
Expand Down Expand Up @@ -102,4 +103,3 @@ Before you begin, you need to check that you have all the prerequisites installe
1. Stop the docker containers of Ethereum and Fabric
- Press the command `docker stop <CONTAINER ID>` to stop the container corresponding to the above containers which were launched by `./script-start-ledgers.sh` on the boot method. If you want to destroy the docker containers, press the command `docker rm <CONTAINER ID>` after the above.
- If any other docker containers are not running on your machine, you can destroy the Docker containers only with `docker ps -aq | xargs docker stop` and `docker ps -aq | xargs docker rm`.

1 change: 1 addition & 0 deletions examples/electricity-trade/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Before you begin, you need to check that you have all the prerequisites installe
```
./script-start-ledgers.sh
```
- (NOTICE: Before executing the above, your account need to be added to the docker group (`usermod -a -G docker YourAccount` from root user))
- If the following containers are started when displaying the container list with the docker ps command, it will be fine.
```
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
Expand Down

0 comments on commit 6174cbd

Please sign in to comment.