Questions tagged [docker]

For questions regarding using the Docker virtualisation tool.

28 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7
votes
1answer
520 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
823 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 ...
4
votes
3answers
622 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
408 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
57 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
1answer
42 views

Ganache gives error when I try to mint token to wallet after contract deploy

i use: python 3.5, docker, ganache (image image: trufflesuite/ganache-cli:v6.9.1) what do i do: (simplified example) I have two container: container with ganache and container with general logic. ...
1
vote
0answers
35 views

ERROR: null value in column “next_nonce” violates not-null constraint (SQLSTATE 23502)

I am using this command to run my chainlink node: docker run --name chainlink-kovan --network host -p 6688:6688 -v ~/.chainlink-kovan:/chainlink -it --env-file=.env smartcontract/chainlink:0.10.3 ...
1
vote
0answers
58 views

Maian Tool Repository on Docker: How to store contract retrieved from etherscan.io and what is ‘test.sol’

I am in the MAIAN tool repository on docker. The link at : MAIAN Tool GitHub Link They provided details of how to execute the MAIAN tool from docker. I am in the MAIAN tool repository on docker. They ...
1
vote
0answers
234 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
381 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
88 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
359 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
545 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
722 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 \ ...
1
vote
0answers
780 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
95 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
552 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
154 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
1answer
126 views

How do I efficiently install truffle and ganache-cli in a docker container?

Say I want to run a container with ganache-cli and truffle globally installed for dev purposes. I have this first attempt Dockerfile FROM node:15-alpine RUN mkdir -p /home/node/app WORKDIR /home/...
0
votes
0answers
11 views

How to stop and restart a multinode Ethereum private network?

I am testing a multinode Ethereum private network setup with Docker, 1 bootnode, 1 node, 2 miners, netstats and 2 swarm, total 7 containers. When I stop and restart the containers, the chain stops ...
0
votes
0answers
46 views

Quorum nodes run fine with docker-compose, but crash when deployed on kubernetes

Following the steps outlined here, I created a basic Quorum network with 4 nodes and IBFT consensus. I then created a docker image for each of the nodes, copying the contents of each node's directory ...
0
votes
0answers
32 views

market.link market-sync for chainlink nodes returning connection error

I'm currently syncing my Chainlink infrastructure with Linkpool's market-sync tool. I have generated a key with their API, and now I'm running the command to sync my node with the market. docker run ...
0
votes
0answers
81 views

Run Geth's RPC server automatically on kubernetes with using an official docker Geth image(ethereum/client-go) on docker hub

I want to run Geth's RPC server automatically when deploy it's pod. The pod is created from an official docker Geth image(ehtereum/client-go) on docker hub. But I can't deploy the pod with error Fatal:...
0
votes
1answer
237 views

Unable to deploy contract on Besu network(docker) using dynamic IP

I am stuck with a weird situation. I create a local Ethereum network with Hyperledger Besu in docker environment. I try to deploy contracts to a rpc node using Truffle(different container in same ...
0
votes
1answer
323 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
1answer
170 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
2answers
1k 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
139 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 ...