Name: docker-ethereum
Owner: Uphold
Description: An Ethereum Go client/full-node implementation docker image
Created: 2016-04-13 13:38:33.0
Updated: 2016-07-04 22:53:58.0
Pushed: 2016-10-18 15:58:31.0
Size: 9
Language: Shell
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
An Ethereum Go client/full-node implementation docker image.
1.4
, 1.4.10
, latest
(Dockerfile)1.4.5
Geth is the command line interface for running a full Ethereum node implemented in Go. It is the main deliverable of the Frontier Release.
This image contains the main binary from the Geth project - geth
. It behaves like a binary, so you can pass any arguments to the image and they will be forwarded to the geth
binary:
cker run --rm uphold/geth --dev --rpc
By default, geth
will run as user ethereum
for security reasons and with its default data dir (~/.geth
). If you'd like to customize where geth
stores its data, you must use the GETH_DATA
environment variable. The directory will be automatically created with the correct permissions for the ethereum
user and geth
automatically configured to use it.
cker run -e GETH_DATA=/var/lib/geth --rm uphold/geth --dev --rpc
You can also mount a directory in a volume under /home/ethereum/.geth
in case you want to access it on the host:
cker run -v ${PWD}/data:/home/ethereum/.geth --rm uphold/geth --dev --rpc
You can optionally create a service using docker-compose
:
:
age: uphold/geth
mmand:
--dev
--rpc
--rpcapi "eth,web3"
This image is officially supported on Docker version 1.10, with support for older versions provided on a best-effort basis.
The uphold/geth docker project is under MIT license.