Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [docker]

For questions regarding using the Docker virtualisation tool.

0
votes
0answers
38 views

How to properly stop and restart docker for geth node?

I am trying to run geth testnet(ropsten) node using docker container. At first, it runs find, but when I stop and restart the container, I got bunch of warning like WARN [02-19|04:01:19.459] ...
0
votes
0answers
78 views

Web3.js in Docker: invalid JSON-RPC response: undefined

Recently I've made a container out of my app, which used to work fine in a normal environment with an infura node. This is the code that's causing problems inside of the Docker container. I'm new to ...
0
votes
1answer
37 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
1answer
288 views

Downloading a specific version of solc within a Docker image

I am working with the release of Solidity v0.4.25 for it works well with py-solc. When running on a local machine the codebase works quite well with 0.4.25. My issue currently is to get the codebase ...
1
vote
1answer
45 views

Running Openzepplin from docker

I am trying to build a docker image using open zepplin libraries. It works until it has to import the zepellin library, for which it can't seem to find. Here is what my docker image looks like : ...
1
vote
0answers
32 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 ...
0
votes
1answer
95 views

“truffle test” says “assert.rejects” is not a function even it is Node 10

As per the official documentation, assert.rejects was added since Node v10.0.0. Also, the node console confirms that: even though, truffle test throws this error: TypeError: assert.rejects is ...
2
votes
3answers
148 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 ...
0
votes
1answer
165 views

Using parity as Web3 provider running from a Docker container

I can't seem to be able to create a web3 (http) provider pointing to a parity node, running from a docker container. I create a repo which should reproduce the problem. After running docker-compose ...
1
vote
0answers
180 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
1answer
178 views

Parity dev node cannot send transactions via web3 py

I'm using a parity dev node via docker with the following set-up: docker run -d -p 8545:8545 parity/parity --config dev --jsonrpc-interface all --jsonrpc-apis all --jsonrpc-cors "*" When I attempt ...
1
vote
0answers
170 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" - ...
0
votes
1answer
228 views

Docker mythril can't connect to Ganache or local .sol contracts

Has anyone here used the docker version of Mythril (https://github.com/ConsenSys/mythril) and can give me a hint on how to make it work? I only get: $ docker run mythril/myth -xa ...
1
vote
1answer
157 views

field 'EthashCachesOnDisk' is not defined in eth.Config

Trying to use my eth_config.toml file in ethereum docker container, but it throws this error for some config flags, one of them: Fatal: /root/ethereum/data/eth_config.toml, line 10: field '...
0
votes
1answer
265 views

Deploying DAPP on cloud using docker

I am novice in docker technology. I have developed a basic private ethereum blockchain DAPP locally using Truffle and I want to deploy the same on cloud. 1) I need tutorials for how to crate a ...
1
vote
1answer
295 views

Cannot connect to Infura inside a docker container: Cannot find module 'websocket'

When I put my script in a docker container, I can no longer connect to Infura: Error: Cannot find module 'websocket' in package.json "web3": "^1.0.0-beta.34" in my script: const Web3 = require('...
0
votes
0answers
214 views

geth sync failure upon restart

I'm building my private testnet with Ethereum docker image. There are one miner and one bootnode. They work as expected. However, as soon as I restart them, I got the following synchronization error. ...
3
votes
1answer
402 views

Ethereum client-go RPC response 403 “invalid host specified”

I'm running ethereum/client-go docker image with the following flags: docker run -p 8545:8545 ethereum/client-go --rpcapi personal,db,eth,net,web3 --rpc --rpcaddr 0.0.0.0 --rpccorsdomain * --rinkeby ...
0
votes
0answers
74 views

Connection error while trying to connect to rpc provider from a docker container

I am running testrpc on my localhost and I am trying to connect to it from a docker container. I am getting Connection error, when my python program tries to contact the rpc provider. Port 8545 is ...
1
vote
1answer
169 views

Puppeth running on Mac with localhost always return err=“docker configured incorrectly: bash: docker: command not found\n”

Anybody tried running puppeth on Mac (Sierra or higher) with localhost as the servers with any success? Please share it here, because I always get err="docker configured incorrectly: bash: docker: ...
2
votes
0answers
278 views

Ethereum private network on docker

I am trying to create a private network on docker such that each geth node in the network is run on a docker container. I followed this git hub blog :https://gist.github.com/fishbullet/...
0
votes
1answer
341 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 ...
4
votes
1answer
443 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 ...
1
vote
1answer
313 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
2answers
482 views

Can I run seperatly docker and geth?

I run private geth testnet and my program is on docker. Everytime I try to call api I get: no JSON RCP response. Must I run geth on docker too?
1
vote
0answers
38 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
316 views

Creating a Linux Docker for parity on a Windows 10 machine

I'm trying to run parity on Docker. My workstation is Windows 10, but the Docker is intended for a Linux machine. Right now I'm having trouble running the Docker with --base-path option, as I keep ...
0
votes
0answers
132 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
408 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
542 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
495 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 ...
3
votes
2answers
3k views

How does one setup a private network with ethereum docker images?

I'm confused about how to get/access geth that is inside the container. So far I have: docker pull ethereum/client-go it seems though that this image is designed to work on the public network. do i ...
1
vote
1answer
311 views

“Skipping non-existent input file” error using solc docker on Windows

I'm trying to setup a local build environment for Solidity on Windows (10). One of the options recommended in the Solidity docs is docker. Superficially, the docker image runs fine: C:\work\eth>...
4
votes
1answer
800 views

Node discovery: unreachable bootnode in private distributed network

I am trying to create a private distributed network using Docker containers on Virtual Machines running ubuntu. When I run: bootnode --genkey $KEY_FILE --writeaddress bootnode --nodekey $KEY_FILE -...
3
votes
1answer
457 views

Adding nodes in private network of docker containers hosted in different VMs

I am trying to create a non-local private network with go-ethereum running on docker containers hosted in different Virtual Machines. I am having a hard time trying to make the nodes recognize each ...
1
vote
0answers
138 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://...
3
votes
1answer
1k views

How to save Parity data with docker

Every time I upgrade parity on docker by pulling and creating a new container I lose all sync data. The Dockerfile doesn't seem to expose a volume I could mount with -v Is there a trick to it or ...
7
votes
0answers
451 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.
3
votes
1answer
212 views

Running ropsten testnet with docker error

I would like to try to run ethereum client at my server configured with docker geth image. But when I set the genesis block according to the command below I got an error about the reference for the ...
4
votes
2answers
614 views

Cannot attach to geth node running inside container

I am trying to run a node inside a docker container. I am able to run a geth node locally, and attach it via IPC with these simple commands: geth --fast --cache=512 Then geth attach, it works fine. ...
1
vote
2answers
317 views

Creating a permissioned blockchain on docker

Will he helpful if anybody can guide be on any documentation on how to create a permissioned blockchain on docker
1
vote
1answer
304 views

Eris : error compiling contracts

i try to deploy a contact using Eris Platform, i followed the tutorial in the documentation of Eris ( https://monax.io/docs/tutorials/getting-started/index.html?redirect_from_eris=true#fnref:1 ) but ...
1
vote
1answer
1k views

Issue when I try a connection to geth using web3

Code geth version : v1.4.18-stable/linux/go1.5.1 web3 version : 0.17.0-alpha Here is the script I launch in a docker container to run geth : #! /bin/bash genesis_json_file=development/...
3
votes
1answer
802 views

Connect ethereum node on host machine to docker cluster in VM

My setup is as follows: Windows host machine running an Ubuntu VM using virtual box. On the Ubuntu VM i'm running a private ethereum cluster using docker. This is working fine. I'm connecting them ...
2
votes
2answers
265 views

Two chains on Eris

I have set up Eris on my ubuntu machine using Docker.I have created private blockchain. Eris tools provides option to work on multiple chains using below tool. >> eris chains <start|stop|...
4
votes
1answer
335 views

How to containerize Eris service

Eris is a unique architecture which has taken a very useful advantage of containerizing the data, services - contracts, js, into separate container instances themselves. With the intent of running ...
3
votes
1answer
862 views

Set up Mist browser for a private go-ethereum docker cluster

Consider a base set up consisting of 'n' docker containers (within a VM running on OSX), each running a geth instance. Thanks to the guidance from @BokkyPooBah, in a different thread, I have been able ...
14
votes
2answers
5k views

Running a custom private go-ethereum node cluster using docker

Here is a set up I have been working on and am having issues with ability to create a private network with peers. Basic set up: Used the dockerfile from https://github.com/ethereum/ethereum-dockers/...
1
vote
1answer
393 views

How to backup account information from Geth in a Docker container?

I created a Geth node using the default Docker container, but realized I need to make some adjustments to the docker run command, which requires removing the current container. How do I backup my ...