Bug found - since we have installed v1.3.0
, docker run command should be:
docker run --name eosio \
...
eosio/eos:v1.3.0 \
...
Plus, the command has new line character \n
- this may cause an error. So this is the command that works for all the environment:
$ sudo docker run --name eosio --publish 7777:7777 --publish 127.0.0.1:5555:5555 --volume [CURRENT PWD]:[CURRENT PWD] --detach eosio/eos:v1.3.0 /bin/bash -c "keosd --http-server-address=0.0.0.0:5555 & exec nodeos -e -p eosio --plugin eosio::producer_plugin --plugin eosio::history_plugin --plugin eosio::chain_api_plugin --plugin eosio::history_plugin --plugin eosio::history_api_plugin --plugin eosio::http_plugin -d /mnt/dev/data --config-dir /mnt/dev/config --http-server-address=0.0.0.0:7777 --access-control-allow-origin=* --contracts-console --http-validate-host=false --filter-on='*'"
where [CURRENT PWD]
is the install folder