mirror of https://github.com/certusone/wasmd.git
Use cosmwasm/wasmd:manual for docker image
This commit is contained in:
parent
2347ae4ef3
commit
076711ac2b
16
README.md
16
README.md
|
@ -31,7 +31,7 @@ If you want to deploy a whole cluster, [look at the network scripts](./networks/
|
|||
|
||||
We provide a docker image to help with test setups. There are two modes to use it
|
||||
|
||||
Build: `docker build -t wasmd:manual .` or pull from dockerhub
|
||||
Build: `docker build -t cosmwasm/wasmd:manual .` or pull from dockerhub
|
||||
|
||||
### Dev server
|
||||
|
||||
|
@ -47,17 +47,17 @@ docker volume rm -f wasmd_data
|
|||
docker run --rm -it \
|
||||
-e PASSWORD=my-secret-password \
|
||||
--mount type=volume,source=wasmd_data,target=/root \
|
||||
wasmd:manual ./setup.sh cosmos1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6
|
||||
cosmwasm/wasmd:manual ./setup.sh cosmos1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6
|
||||
|
||||
# This will start both wasmd and wasmcli rest-server, only wasmcli output is shown on the screen
|
||||
docker run --rm -it -p 26657:26657 -p 26656:26656 -p 1317:1317 \
|
||||
--mount type=volume,source=wasmd_data,target=/root \
|
||||
wasmd:manual ./run_all.sh
|
||||
cosmwasm/wasmd:manual ./run_all.sh
|
||||
|
||||
# view wasmd logs in another shell
|
||||
docker run --rm -it \
|
||||
--mount type=volume,source=wasmd_data,target=/root,readonly \
|
||||
wasmd:manual ./logs.sh
|
||||
cosmwasm/wasmd:manual ./logs.sh
|
||||
```
|
||||
|
||||
### CI
|
||||
|
@ -70,7 +70,7 @@ rm -rf ./template && mkdir ./template
|
|||
docker run --rm -it \
|
||||
-e PASSWORD=my-secret-password \
|
||||
--mount type=bind,source=$(pwd)/template,target=/root \
|
||||
wasmd:manual ./setup.sh cosmos1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6
|
||||
cosmwasm/wasmd:manual ./setup.sh cosmos1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6
|
||||
|
||||
sudo chown -R $(id -u):$(id -g) ./template
|
||||
|
||||
|
@ -81,15 +81,15 @@ docker volume rm -f wasmd_data
|
|||
docker run --rm -it -p 26657:26657 -p 26656:26656 -p 1317:1317 \
|
||||
--mount type=bind,source=$(pwd)/template,target=/template \
|
||||
--mount type=volume,source=wasmd_data,target=/root \
|
||||
wasmd:manual ./run_all.sh /template
|
||||
cosmwasm/wasmd:manual ./run_all.sh /template
|
||||
|
||||
# RESTART CHAIN with existing state
|
||||
docker run --rm -it -p 26657:26657 -p 26656:26656 -p 1317:1317 \
|
||||
--mount type=volume,source=wasmd_data,target=/root \
|
||||
wasmd:manual ./run_all.sh
|
||||
cosmwasm/wasmd:manual ./run_all.sh
|
||||
|
||||
# view wasmd logs in another shell
|
||||
docker run --rm -it \
|
||||
--mount type=volume,source=wasmd_data,target=/root,readonly \
|
||||
wasmd:manual ./logs.sh
|
||||
cosmwasm/wasmd:manual ./logs.sh
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue