Questions tagged [docker]

For questions regarding using the Docker virtualisation tool.

26 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7
votes
0answers
491 views

Installing go-ethereum nodes using docker swarm?

Has anybody installed and configured go-ethereum nodes using dockerswarm ? Appreciate if anybody could share any docs or relevant information.
5
votes
1answer
637 views

Extremely slow geth mining and synchronization for private blockchain

I am constructing a very simple 2 nodes private Ethereum network to study the mining behaviour. The consensus algorithm is ethash. In order for the 2 nodes to discover each other, I also setup a ...
2
votes
3answers
381 views

How to make a Docker container talk to geth.ipc on local host

from web3 import Web3 web3 = Web3(Web3.IPCProvider("/Ethereum/geth.ipc")) print(f'IPC connected: {web3.isConnected()}') # want to return True I have the above script Dockerized and I'm trying to ...
2
votes
0answers
240 views

How to set gas price in Remix IDE?

I'm testing my contract on Ropsten network. For this i've launched geth in docker: > command: --verbosity 4 -rpc --ipcdisable --rpcaddr "0.0.0.0" --rpccorsdomain "*" --syncmode "fast" --rpcapi="...
2
votes
0answers
49 views

Why does my JSON-RPC request never complete?

I've set up geth to run in a Docker container with the following command (yes, I realize it's wide open to the world): docker run -it -p 127.0.0.1:8545:8545 -p 30303:30303 -v /data/ethereum:/root/....
1
vote
0answers
177 views

Parity syncing in archive mode stuck at block 4839206

I am running Parity inside docker in pod in Kubernets on Google Cloud. The pod is using disk with 2700 GB for storing Ethereum blockchain, and currently disk has about 2100 GB free. Unfortunately for ...
1
vote
0answers
169 views

No contract code at give address

Its a bit of a long question... I am using Go to deploy a Smart Contract using the following code: client, err := ethclient.Dial("http://localhost:8545") if err != nil { errorhandler.HandleErr(...
1
vote
0answers
58 views

geth stops syncing

I am running geth via docker docker pull ethereum/client-go. It stops syncing after serval days. After I reboot the docker, it works fine again. This situation happened serval times. Here is the last ...
1
vote
0answers
256 views

How to connect to Ethereum node (geth) via IPC from outside of docker container

I'm using docker-compose to run ethereum node with Docker: # ethereum node ethereum: container_name: ethereum-node image: ethereum/client-go:v1.8.10 ports: - "8545:8545" - ...
1
vote
1answer
461 views

How make web3 work on?

Sorry for noob question. I installed web3 (npm install web3), but for some reason instead of calling web3 methods or showing object data, nodejs displays object structure: > web3.eth.accounts ...
1
vote
0answers
633 views

Ethereum Virtual Machine and Docker Containers

I'm trying to understand what are the constraints that wouldn't allow a Docker container to be used instead of creating the specific Ethereum Virtual Machine. I followed this link: https://forum....
1
vote
0answers
91 views

How do Crowdsale online wallets work without the need of a client?

Most of the Crowdsale websites have a signup/login page where the user has a wallet and several options of purchasing tokens. Options usually include Bitcoin, Ether and Wire Transfer. No MetaMask or ...
1
vote
1answer
521 views

Running ethereumjs/testrpc from a Docker container

I'm taking a stab at creating a set-up where I have a Docker container from which I run ethereumjs/testrpc (an Ethereum testing environment) and another Docker container running an Express app. I then ...
1
vote
0answers
150 views

Issues during installing geth client in windows docker container

I have been trying to get a windows instance of a container with geth client installed within it. Following the link below, I have been successfully able to use chocolatey to get go, git, etc. https://...
0
votes
0answers
15 views

How to create blockchain nodes locally

For educational purposes I am implementing a blockchain from scratch without the use of any frameworks. How would I go about testing my blockchain using multiple nodes when I only have access to one ...
0
votes
1answer
23 views

Just synced a node, but want to use docker instead, can I moved synced db into container?

I just synced a node using geth fastsync and it took several days. But I just decided I want to use this computer's resources differently and run my ethereum environment from a docker container I ...
0
votes
0answers
17 views

Fatal: Failed to read genesis file: open /Ethereum/conf/genesis.json: no such file or directory

I am trying to set up a privatte blockchain on my local system and while setting up the genesis block, I am receiving the following error - Fatal: Failed to read genesis file: open /Ethereum/conf/...
0
votes
1answer
21 views

How to open multiple terminals using docker?

Here I am trying to create private ethereum instance using dockerfile. I want to open two terminals and run command1 in terminal1 and execute command2 in terminal2 only when command1 returns true. ...
0
votes
0answers
13 views

Clef signer - standalone docker container

To automate the signing capabilities I'm happy how clef is working. I've a couple of concerns though. answering the commandline prompts on clef init, clef clef attest, and clef. I'm wondering how i ...
0
votes
1answer
64 views

Why admin.addPeer() command did not add parity client for private chain with Docker?

I would like to set up private chain which both geth and parity clients running on the same network. here is a sample repository with docker-compose file: https://github.com/user48736353001/devnet ...
0
votes
0answers
12 views

Docker Image location

I creaed private network using puppeth. There is ethstate website that is running in docker container. But I don't know where the source file is located on host machine for ethstate or dashboard ...
0
votes
0answers
33 views

How to run solidity 0.5.0 using docker in Ubuntu?

I tried to execute the following command in Ubuntu 16.04.5 LTS. sudo docker run --entrypoint /bin/pwd -v $PWD:/solidity ethereum/solc:0.5.0 The error shown below happened. docker: Error response ...
0
votes
1answer
102 views

CORS Issue when using RPC with 2 docker containers

I currently have a setup with two docker containers. The first container, peerA, has a private ethereum network running a single node. The second container, web-app, has a web application that uses ...
0
votes
2answers
538 views

geth console cannot attach to geth docker container

I ask this question again although a similar question is asked here. I answered that question with what I read and thought is the correct method but heck it doesn't work for me too. Basically I run a ...
0
votes
0answers
137 views

Monax Ubuntu 16.04 VM Set up issue

Here is what I did. Created a Ubuntu 16.04 VM on Windows using Hyper-V ubuntu-16.04.3-server-amd64.iso Did apply the Virtual switch for internet access for the Ubuntu VM Ubuntu got installed with ...
0
votes
0answers
532 views

Running geth in docker causes it to exit

I need geth to run in a docker container and connect to the Rinkeby network. When I started it using docker run -d \ -v $HOME/geth:/root \ -p 8545:8545 -p 30303:30303 \ --name geth \ ...