Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
hyperledger_sawtooth [2018/03/20 09:53] – [Getting Started] rpjdayhyperledger_sawtooth [2018/03/20 10:59] (current) – [Installation on Fedora] rpjday
Line 6: Line 6:
  
 <code> <code>
-$ sudo dnf install docker-ce +$ sudo dnf install docker-ce docker-compose 
-$ sudo dnf install docker-compose+$ sudo dnf install nodejs npm 
 +$ sudo dnf install golang 
 +$ sudo dnf install curl 
 +</code> 
 + 
 +Check versions: 
 + 
 +<code> 
 +$ docker --version 
 +docker-compose --version 
 +$ npm --version 
 +$ node --version 
 +$ go version
 </code> </code>
  
Line 40: Line 52:
 <code> <code>
 $ curl http://localhost:8080/blocks $ curl http://localhost:8080/blocks
 +</code>
 +
 +You can also ask Docker to list the running containers:
 +
 +<code>
 +$ docker ps
 +CONTAINER ID        IMAGE                                       COMMAND                  CREATED             STATUS              PORTS                              NAMES
 +6c1d3dd6d548        hyperledger/sawtooth-all:0.8                "bash -c 'sawtooth k…"   5 minutes ago       Up 5 minutes        4004/tcp, 8080/tcp                 sawtooth-client-default
 +59140cd98bff        hyperledger/sawtooth-tp_settings:0.8        "settings-tp -vv tcp…"   5 minutes ago       Up 5 minutes        4004/tcp                           sawtooth-settings-tp-default
 +5027bbf0787b        hyperledger/sawtooth-tp_intkey_python:0.8   "intkey-tp-python -v…"   5 minutes ago       Up 5 minutes        4004/tcp                           sawtooth-intkey-tp-python-default
 +e3ab5ed8e511        hyperledger/sawtooth-rest_api:0.8           "sawtooth-rest-api -…"   5 minutes ago       Up 5 minutes        4004/tcp, 0.0.0.0:8080->8080/tcp   sawtooth-rest-api-default
 +39fd73f54b49        hyperledger/sawtooth-tp_xo_python:0.8       "xo-tp-python -vv tc…"   5 minutes ago       Up 5 minutes        4004/tcp                           sawtooth-xo-tp-python-default
 +9db364da9be2        hyperledger/sawtooth-validator:0.8          "bash -c 'sawtooth a…"   5 minutes ago       Up 5 minutes        0.0.0.0:4004->4004/tcp             sawtooth-validator-default
 +$
 +</code>
 +
 +To shut things down later (from invoking directory):
 +
 +<code>
 +$ docker-compose -f sawtooth-default.yaml down
 </code> </code>
  • hyperledger_sawtooth.1521539609.txt.gz
  • Last modified: 2018/03/20 09:53
  • by rpjday