After `docker-compose up`, two services named nodeos and walletd will be started. nodeos service would expose ports 8888 and 9876 to the host. walletd service does not expose any port to the host, it is only accessible to cleos when runing cleos is running inside the walletd container as described in "Execute cleos commands" section.
After `docker-compose up -d`, two services named nodeos and walletd will be started. nodeos service would expose ports 8888 and 9876 to the host. walletd service does not expose any port to the host, it is only accessible to cleos when runing cleos is running inside the walletd container as described in "Execute cleos commands" section.
### Execute cleos commands
...
...
@@ -54,7 +57,7 @@ After `docker-compose up`, two services named nodeos and walletd will be started
You can run the `cleos` commands via a bash alias.
```bash
alias cleos='docker-compose exec walletd /opt/eosio/bin/cleos -H nodeos'
alias cleos='docker-compose exec walletd /opt/eosio/bin/cleos -H nodeosd'