It already contains ApplicationLogs, ImportBlocks, RpcSecurity, RpcWallet and SimplePolicy plugins.
docker run --name=neo-cli -dit -p 10332-10334:10332-10334 ashuaidehao/neo-cli
docker run --name=neo-cli -dit -p 10333:10333 ashuaidehao/neo-cli
You need prepare test net config files(config.testnet.json and protocol.testnet.json) first, then use :
docker run -dit --name neo-cli -p 20332-20334:20332-20334 -v {Physical Absolute Directory}/config.testnet.json:/neo-cli/config.json -v {Physical Absolute Directory}/protocol.testnet.json:/neo-cli/protocol.json ashuaidehao/neo-cli
If you want to use ImportBlocks to accelerate block chain sync (https://sync.ngd.network/), use this command to start it:
docker run -dit --name neo-cli -p 10332-10333:10332-10333 -v {Physical Absolute Directory}/chain.acc:/neo-cli/chain.acc ashuaidehao/neo-cli
If you want to install other plugins, use these scripts after you start this container:
docker exec -it neo-cli /bin/bash
screen -r node
neo>install {PluginName}
Then restart this container.
You need install Git and Docker.
git clone https://github.com/Ashuaidehao/neo-docker.git
cd neo-docker
docker build -t neo-cli .
docker run --name=neo-cli -dit -p 10332-10334:10332-10334 neo-cli
After start the docker container successfully, use the following scripts to enter neo-cli interactive window:
docker exec -it neo-cli /bin/bash
screen -r node
Before build docker image, you can put your own config files("config.json","protocal.json","your-wallet.json","your-wallet.db3" etc.) into the directory "configs", then they will overwrite the default file of neo-cli.