我正在尝试使用 Puppeth 设置一个私有以太坊测试网络(正如Péter Szilágyi 在 Ethereum devcon 3 2017 中演示的那样)。我在 macbook pro (macOS Sierra) 上运行它。
当我尝试设置 ethstat 网络组件时,我收到“docker 配置不正确:bash: docker: command not found”错误。我有 docker 正在运行,我可以在终端中很好地使用它,例如 docker ps。
以下是我采取的步骤:
What would you like to do? (default = stats)
1. Show network stats
2. Manage existing genesis
3. Track new remote server
4. Deploy network components
> 4
What would you like to deploy? (recommended order)
1. Ethstats - Network monitoring tool
2. Bootnode - Entry point of the network
3. Sealer - Full node minting new blocks
4. Wallet - Browser wallet for quick sends (todo)
5. Faucet - Crypto faucet to give away funds
6. Dashboard - Website listing above web-services
> 1
Which server do you want to interact with?
1. Connect another server
> 1
Please enter remote server's address:
> localhost
DEBUG[11-15|22:46:49] Attempting to establish SSH connection server=localhost
WARN [11-15|22:46:49] Bad SSH key, falling back to passwords path=/Users/xxx/.ssh/id_rsa err="ssh: cannot decode encrypted private keys"
The authenticity of host 'localhost:22 ([::1]:22)' can't be established.
SSH key fingerprint is xxx [MD5]
Are you sure you want to continue connecting (yes/no)? yes
What's the login password for xxx at localhost:22? (won't be echoed)
>
DEBUG[11-15|22:47:11] Verifying if docker is available server=localhost
ERROR[11-15|22:47:11] Server not ready for puppeth err="docker configured incorrectly: bash: docker: command not found\n"
以下是我的问题:
- 是否有任何文档/教程描述如何正确设置此远程服务器。或者只是一般的傀儡?
- 我可以不使用 localhost 作为“远程服务器地址”吗
- 关于为什么找不到 docker 命令的任何想法(它已安装并正在运行,我可以在终端中正常使用它)。