Questions tagged [docker]

For questions regarding using the Docker virtualisation tool.

Filter by
Sorted by
Tagged with
0 votes
0 answers
31 views

Fatal: Error starting protocol stack: listen unix /test/data01/geth.ipc: bind: input/output error

When I created a private blockchain with docker,I have this error but I cannot find any solution to solve it,please help me! Many Thanks.
user avatar
0 votes
0 answers
30 views

Geth in Docker and IPC

I want to access the IPC socket from my host. I used the docker run -v to expose the directory of the ipc file, but it refuses my connections. I've been looking at the topic for a couple of days now ...
user avatar
0 votes
1 answer
220 views

Minimum system requirements for smart contract software development

Can I ask here what are the minimum system requirements to write smart contracts, and do some research on blockchains & cryptocurrency in general? -For Dell is Vostro, say 3510, enough or I should ...
user avatar
  • 1
0 votes
0 answers
50 views

Golang: Not able to fetch balance of Ethereum account in ganache inside docker

I am running ganache inside docker like - docker run -p 8545:8545 --name ganache -v $HOME/ganache/chaindata:/var/ganache/chaindata trufflesuite/ganache-cli --db /var/ganache/chaindata --accounts 5 --...
user avatar
  • 101
0 votes
0 answers
10 views

How to persiste ganache contracts on docker environment [duplicate]

I am trying to make a container that will run ganache and persist the contracts that are deployed there. So, even if the container restarts, everything will be there. I don't know if that is fully ...
user avatar
0 votes
1 answer
326 views

Best practice to store private key for containerized apps in the cloud

I am a crypto investor. I am staking a coin but the smart contract requires the user to claim and restake the rewards by transacting a smart contract function every 24 hours. Currently I am doing it ...
user avatar
0 votes
0 answers
325 views

Ethereum dev environment for mac M1

I recently got a mac M1 and I am trying to set up my environment for development. I manage to install ganache-cli, truffle and docker. I am trying to set up the solidity compiler configuration, how ...
user avatar
  • 353
0 votes
1 answer
2k views

How can I create a local USDT testnet?

I want to create a local testnet on which I can move USDT (test coins) between wallets. I managed to create a ETH testnet inside Docker. In the docker-compose.yml below, the lines between # ETH ...
user avatar
0 votes
2 answers
404 views

How to generate Natspec docs using version 0.6.x of the Solidity compiler

I'm trying to run solc --userdoc --devdoc myContract.sol to generate natspec. However, the compiler complains that the contract has a different pragma-version. In fact the contract pragma is at ^0.6....
user avatar
  • 209
1 vote
0 answers
133 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 ...
user avatar
  • 11
1 vote
1 answer
611 views

TheGraph is not connecting to IPFS locally

I have a Graph local node set up using this tutorial. When I am trying to deploy it, its not going through with the following error message: Add file to IPFS build/schema.graphql ⠋ Upload subgraph to ...
user avatar
1 vote
1 answer
423 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. ...
user avatar
  • 161
0 votes
1 answer
956 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/...
user avatar
  • 113
1 vote
0 answers
114 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 ...
user avatar
  • 532
2 votes
1 answer
413 views

Chainlink node not initializing, failed to initialize ORM: initializeORM#NewORM: unable to init DB: unable to open postgresql

I am trying to setup a chainlink node on my machine. After setting all the .env variables, I am running the docker command to start the node, cd ~/.chainlink-kovan && docker run -p 6688:6688 -...
user avatar
  • 532
1 vote
0 answers
163 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 ...
user avatar
  • 1,233
0 votes
0 answers
121 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 ...
user avatar
  • 101
0 votes
1 answer
368 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 ...
user avatar
2 votes
1 answer
146 views

How to connect local ganache node with epirus

I tried apirus to connect to local ganache node. Ganache node is running on localhost:7545. git clone https://github.com/blk-io/epirus-free.git cd epirus-free docker-compose pull NODE_ENDPOINT=http:/...
user avatar
1 vote
1 answer
213 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 ...
user avatar
0 votes
1 answer
493 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. ...
user avatar
  • 61
0 votes
1 answer
271 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 ...
user avatar
  • 107
1 vote
0 answers
244 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 ...
user avatar
  • 221
2 votes
0 answers
819 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(...
user avatar
0 votes
1 answer
1k 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 ...
user avatar
1 vote
1 answer
265 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 : ...
user avatar
  • 1,198
1 vote
0 answers
102 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 ...
user avatar
1 vote
1 answer
654 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 ...
user avatar
5 votes
3 answers
866 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 ...
user avatar
  • 51
1 vote
1 answer
577 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 ...
user avatar
  • 192
2 votes
0 answers
643 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="...
user avatar
  • 213
2 votes
1 answer
388 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 ...
user avatar
  • 885
1 vote
0 answers
520 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" - ...
user avatar
  • 213
0 votes
1 answer
616 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 ...
user avatar
  • 420
1 vote
1 answer
286 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 '...
user avatar
0 votes
1 answer
552 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 ...
user avatar
  • 2,407
1 vote
1 answer
564 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('...
user avatar
  • 743
4 votes
1 answer
1k 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 ...
user avatar
  • 231
1 vote
1 answer
358 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: ...
user avatar
5 votes
1 answer
749 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/...
user avatar
1 vote
2 answers
2k 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 ...
user avatar
  • 417
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 ...
user avatar
  • 417
1 vote
2 answers
672 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 ...
user avatar
  • 41
1 vote
2 answers
847 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?
user avatar
  • 311
2 votes
0 answers
87 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/....
user avatar
1 vote
1 answer
452 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 ...
user avatar
0 votes
0 answers
143 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 ...
user avatar
  • 1,744
1 vote
0 answers
937 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 \ ...
user avatar
  • 1,077
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....
user avatar
  • 138
1 vote
0 answers
104 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 ...
user avatar
  • 201