diff --git a/Docker/README.md b/Docker/README.md index c08a764259a..8e62a961292 100644 --- a/Docker/README.md +++ b/Docker/README.md @@ -173,28 +173,28 @@ run `docker pull eosio/eos:latest` run `docker-compose up` -### Dawn 4.0 Testnet +### Dawn 4.2 Testnet -We can easily set up a Dawn 4.0 local testnet using docker images. Just run the following commands: +We can easily set up a Dawn 4.2 local testnet using docker images. Just run the following commands: Note: if you want to use the mongo db plugin, you have to enable it in your `data-dir/config.ini` first. ``` # pull images -docker pull eosio/eos:latest +docker pull eosio/eos:20180528 docker pull mongo:latest # create volume docker volume create --name=nodeos-data-volume docker volume create --name=keosd-data-volume docker volume create --name=mongo-data-volume # start containers -docker-compose -f docker-compose-dawn4.0.yaml up -d +docker-compose -f docker-compose-dawn4.2.yaml up -d # get chain info curl http://127.0.0.1:8888/v1/chain/get_info # get logs -docker-compose logs nodeosd +docker-compose logs -f nodeosd # stop containers -docker-compose -f docker-compose-dawn4.0.yaml down +docker-compose -f docker-compose-dawn4.2.yaml down ``` The `blocks` data are stored under `--data-dir` by default, and the wallet files are stored under `--wallet-dir` by default, of course you can change these as you want. diff --git a/Docker/docker-compose-dawn4.0.yaml b/Docker/docker-compose-dawn4.2.yaml similarity index 93% rename from Docker/docker-compose-dawn4.0.yaml rename to Docker/docker-compose-dawn4.2.yaml index 81f5ed49003..6a23a3d09b1 100644 --- a/Docker/docker-compose-dawn4.0.yaml +++ b/Docker/docker-compose-dawn4.2.yaml @@ -10,7 +10,7 @@ services: - mongo-data-volume:/data/db nodeosd: - image: eosio/eos:latest + image: eosio/eos:20180528 command: /opt/eosio/bin/nodeosd.sh --data-dir /opt/eosio/bin/data-dir --delete-all-blocks #--mongodb-uri mongodb://mongo:27017/EOS hostname: nodeosd links: @@ -24,7 +24,7 @@ services: - nodeos-data-volume:/opt/eosio/bin/data-dir keosd: - image: eosio/eos:latest + image: eosio/eos:20180528 command: /opt/eosio/bin/keosd --wallet-dir /opt/eosio/bin/data-dir --http-server-address=127.0.0.1:8900 hostname: keosd links: