Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Merge pull request #2948 from EOSIO/docker-readme
Browse files Browse the repository at this point in the history
Update cleos args for docker
  • Loading branch information
heifner committed May 11, 2018
2 parents 3b10e76 + df31fe3 commit 716e752
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ docker volume create --name=keosd-data-volume
docker-compose up -d
```

After `docker-compose up -d`, two services named `nodeosd` and `keosd` will be started. nodeos service would expose ports 8888 and 9876 to the host. keosd service does not expose any port to the host, it is only accessible to cleos when runing cleos is running inside the keosd container as described in "Execute cleos commands" section.
After `docker-compose up -d`, two services named `nodeosd` and `keosd` will be started. nodeos service would expose ports 8888 and 9876 to the host. keosd service does not expose any port to the host, it is only accessible to cleos when running cleos is running inside the keosd container as described in "Execute cleos commands" section.

### Execute cleos commands

You can run the `cleos` commands via a bash alias.

```bash
alias cleos='docker-compose exec keosd /opt/eosio/bin/cleos -H nodeosd'
alias cleos='docker-compose exec keosd /opt/eosio/bin/cleos -u http://nodeosd:8888' # For DAWN3.0, use '-H nodeosd' instead of '-u http://nodeosd:8888'
cleos get info
cleos get account inita
```
Expand Down Expand Up @@ -169,7 +169,7 @@ volumes:

```

*NOTE:* the defalut version is the latest, you can change it to what you want
*NOTE:* the default version is the latest, you can change it to what you want

run `docker pull eosio/eos:latest`

Expand Down

0 comments on commit 716e752

Please sign in to comment.