我正在码头容器中运行一个奇偶校验节点。不久前,我在docker pull parity/parity:stable中安装了它。
我如何知道我正在运行哪个版本的奇偶校验?(不停止节点)。
如果我登录容器,我只能看到一个常量流,例如:
2019-07-03 11:52:51 UTC Imported #8078283 0x56bf…bf65 (181 txs, 7.98 Mgas, 530 ms, 30.92 KiB)
2019-07-03 11:52:52 UTC eth_accounts is deprecated and will be removed in future versions: Account management is being phased out see #9997 for alternatives.
2019-07-03 11:52:54 UTC Imported #8078284 0xe819…c89d (3 txs, 3.79 Mgas, 276 ms, 2.01 KiB)
2019-07-03 11:53:00 UTC 31/50 peers 5 MiB chain 32 MiB db 0 bytes queue 95 KiB sync RPC: 0 conn, 1 req/s, 24 µs发布于 2019-07-03 14:40:08
获取正在运行的容器的容器ID或名称:
docker ps使用上面的任何一个连接到正在运行的容器并打开一个shell:
docker exec -it <container name> /bin/bash获取版本:
parity --versionhttps://ethereum.stackexchange.com/questions/72530
复制相似问题