我正在关注这个项目https://github.com/getamis/eth-indexer/blob/master/README.md。 首先,我已经安装了docker和MYSQL。我正在git-bash上执行这些命令。所有命令都运行良好,但是当我执行此命令时
docker-组成idx数据库idx-migration
我遇到了这些错误
docker-compose up idx-database idx-migration
pulling idx-database (mysq: 5.7)..
5.4: pulling from library/mysql
ERROR: no matching manifest for windows/amd64 10.0.17134 in the manifest
list entries
总体代码是这个。.
git config --global user.name "username"
git config --global user.password "paswd"
git clone https://github.com/username/eth-indexer.git
cd eth-indexer
touch .env
echo "MYSQL_DATA_PATH=~/indexer-data/mysql" > .env
echo "GETH_DATA_PATH=~/indexer-data/geth" > .env
git add .env
git add -f .env
mkdir -p ~/indexer-data/mysql ~/indexer-data/geth
# Create database sechema
MYSQL_DATA_PATH="$HOME/indexer-data/mysql"
docker-compose up idx-database idx-migration