Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| hyperledger_sawtooth [2018/03/19 14:26] – [Getting Started] rpjday | hyperledger_sawtooth [2018/03/20 10:59] (current) – [Installation on Fedora] rpjday | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| < | < | ||
| - | $ sudo dnf install docker-compose | + | $ sudo dnf install |
| + | $ sudo dnf install nodejs npm | ||
| + | $ sudo dnf install golang | ||
| + | $ sudo dnf install curl | ||
| + | </ | ||
| + | |||
| + | Check versions: | ||
| + | |||
| + | < | ||
| + | $ docker --version | ||
| + | $ docker-compose --version | ||
| + | $ npm --version | ||
| + | $ node --version | ||
| + | $ go version | ||
| </ | </ | ||
| Line 20: | Line 33: | ||
| < | < | ||
| - | $ docker-compose -f sawtooth-default.yaml | + | $ docker-compose -f sawtooth-default.yaml |
| + | </ | ||
| + | |||
| + | In a separate window (not necessarily the same directory): | ||
| + | |||
| + | < | ||
| + | $ docker exec -it sawtooth-client-default bash | ||
| + | </ | ||
| + | |||
| + | Test from client container: | ||
| + | |||
| + | < | ||
| + | # curl http:// | ||
| + | </ | ||
| + | |||
| + | Test from host: | ||
| + | |||
| + | < | ||
| + | $ curl http:// | ||
| + | </ | ||
| + | |||
| + | You can also ask Docker to list the running containers: | ||
| + | |||
| + | < | ||
| + | $ docker ps | ||
| + | CONTAINER ID IMAGE | ||
| + | 6c1d3dd6d548 | ||
| + | 59140cd98bff | ||
| + | 5027bbf0787b | ||
| + | e3ab5ed8e511 | ||
| + | 39fd73f54b49 | ||
| + | 9db364da9be2 | ||
| + | $ | ||
| + | </ | ||
| + | |||
| + | To shut things down later (from invoking directory): | ||
| + | |||
| + | < | ||
| + | $ docker-compose -f sawtooth-default.yaml down | ||
| </ | </ | ||