Questions tagged [docker]

For questions regarding using the Docker virtualisation tool.

35 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
9 votes
1 answer
600 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.
Raj's user avatar
  • 149
5 votes
1 answer
1k 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 ...
Thomas's user avatar
  • 447
2 votes
0 answers
1k 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(...
user3536523's user avatar
2 votes
0 answers
841 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="...
4ntoine's user avatar
  • 213
2 votes
0 answers
134 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/....
EvilJordan's user avatar
1 vote
0 answers
14 views

Running a local eth network

I trying to run a local eth network because the online faucets are too slow for us But I am struggling to find a good docker-compose example online to do so There are a few but all of them dont run ...
Sam Elamin's user avatar
1 vote
1 answer
239 views

Error at build on Dockerfile image build in hardhat project

I have my hardhat project that builds and run fine using yarn. But when I try to execute "yarn build" from a Dockerfile during the image build process I have the following error: => ERROR ...
user3034457's user avatar
1 vote
2 answers
533 views

Access blocked by CORS policy

I have an Ubuntu machine running two docker nodes. When I try to access nodes from my web based application, installed on the same machine I keep getting the following error : web3.min.js:2 Access to ...
Thierry Grandjean's user avatar
1 vote
1 answer
467 views

MEV-BOOST: Cannot connect to Builder

I am trying to experiment with mev-boost on goerli testnet but I am getting connection error in my beacon node log. MEV boost command: sudo docker run flashbots/mev-boost -goerli -relay-check -relays=...
Lucy's user avatar
  • 11
1 vote
0 answers
148 views

Saddle.Exchange Docker image will not open

Please forgive me. I'm wildly inexperienced. This my first attempt at forking a project. This is for educational purposes. I've successfully deployed the saddle front end using vercel, and now I'm ...
P0DWOG's user avatar
  • 11
1 vote
0 answers
224 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 ...
Anupam's user avatar
  • 572
1 vote
0 answers
207 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 ...
zak100's user avatar
  • 1,406
1 vote
1 answer
376 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 ...
user76333's user avatar
  • 167
1 vote
0 answers
245 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 ...
jabone's user avatar
  • 241
1 vote
0 answers
122 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 ...
Allen_Tsang's user avatar
1 vote
0 answers
657 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" - ...
4ntoine's user avatar
  • 213
1 vote
2 answers
713 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 ...
Oleg's user avatar
  • 51
1 vote
0 answers
1k 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 \ ...
Nyxynyx's user avatar
  • 1,167
1 vote
0 answers
1k 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....
chuseuiti's user avatar
  • 148
1 vote
0 answers
106 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 ...
Ronen's user avatar
  • 201
1 vote
2 answers
601 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 ...
mcansado's user avatar
  • 841
1 vote
0 answers
172 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://...
skarred14's user avatar
  • 945
0 votes
1 answer
27 views

How can I run multiple nodes(Full node, geth client) in single PC in public network?

As I know, ethereum network uses 30303 port for UDP/TCP and use 9000 or 8551 for P2P. But, every single public IP has single 30303 port and 8551 port. Can I run multiple nodes (full, light whatever) ...
ms_park's user avatar
0 votes
0 answers
4 views

Issue with webdriver installation

I am using this to install chrome webdriver but it stopped working. command for dockerfile RUN apt-get update && \ apt-get install -y gnupg wget curl unzip --no-install-recommends &&...
JohnTerry's user avatar
0 votes
0 answers
26 views

Dockerized zkSync testing environment image fails with error Solidity 0.8.19 is not fully supported yet

I'm setting up a dockerized local zksync testing environment according to this guide here. When I run the ./start.sh command, it runs all three images but the local-setup-zksync-1 image exits with ...
pakoray's user avatar
  • 145
0 votes
0 answers
112 views

How to import code into a contract

I have a contract that needs to be compiled with solc so I can get Go bindings. $ tree . ├── openzeppelin ├── Swap.sol └── @uniswap pragma solidity >0.7.0 < 0.9.0; import { IUniswapV2Pair } ...
pigfox's user avatar
  • 53
0 votes
0 answers
17 views

k8s vs docker in Geth operation

I'm trying to set up an infrastructure to load balance multiple Ethereum nodes and serve them as a single RPC endpoint. Assuming this configuration, I thought it would be efficient to run multiple ...
ijtt's user avatar
  • 1
0 votes
0 answers
21 views

Compiler version range in abigen

I need to have a contract using this form of pragma: pragma solidity >0.7.0 < 0.9.0; When I hard code one version it works + docker run -v /my-path/contracts:/sources ethereum/solc:0.8.18 --...
pigfox's user avatar
  • 53
0 votes
1 answer
23 views

How to persist data (the chain itself) in a Docker private blockchain?

I'm creating a Docker private blockcain from here: https://medium.com/scb-digital/running-a-private-ethereum-blockchain-using-docker-589c8e6a4fe8 But I'm afraid to lost all my data if I need to delete/...
Magno C's user avatar
  • 345
0 votes
0 answers
32 views

Where can I find the exact Solc compiler version in Docker?

I am using Docker to compile my solidity contracts with the following commands. Unable to find image 'ethereum/solc:0.8.18' locally 0.8.18: Pulling from ethereum/solc 60bfd3cb9459: Pull complete ...
pigfox's user avatar
  • 53
0 votes
1 answer
115 views

Error: Expected string literal (path), "*" or alias list

I m currently working on smart contracts and i m trying test the contracts i wrote. I am using smartbugs tool. So far, i have executed the following commands in the powershell, git clone https://...
Porkodi Ishwarya's user avatar
0 votes
1 answer
62 views

Can i use oyente Tool on windows?

I am currently working with smart contracts. I want to perform security analysis on the smart contracts I developed. I tried using Oyente Tool and Docker in my Windows 10 Home system. But I can only ...
Porkodi Ishwarya's user avatar
0 votes
0 answers
198 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 ...
zerzevul's user avatar
  • 101
0 votes
0 answers
144 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 ...
Susmit's user avatar
  • 1,804
0 votes
1 answer
173 views

Why does my geth node never start syncing?

I'm running a geth node using Docker. I am also running a service that enables authenticated access to port 8545. This is a part of my docker-compose file that is relevant to the geth node: version: &...
Burrito1212's user avatar