When I try to run the JSON RPC command, docker spits out this message in the console.
standard_init_linux.go:178: exec user process caused "exec format error"
I tried it with both Alpine and Latest image. Both have the same results.
docker run -it -p 8545:8545 -p 30303:30303 ethereum/client-go --rpc --rpcaddr "0.0.0.0"
is the command.
UPDATE: I was using a Raspberry PI 3.
From a Stackoverflow question:
Raspberries use ARM and not x86_64 processors. You can only run images created for that architecture. Try searching for ARM or ARMv7 on docker hub. There is a Debian image for ARM I know of but there must be others as well.
The underlying issue is that the binary format used by ARM is not compatible with x86_64, which is the architecture used by most desktop and server systems.
Are you using an image created for ARM?
@pabloesm That is exactly the situation. This issue can now be closed.
@pabloesm I wasn't using the ARM image and now I understood that was the problem. Thanks for the reply!
Yes, I had the same issue... You're welcome, it's a pleasure to be helpful!
Most helpful comment
From a Stackoverflow question:
Are you using an image created for ARM?