Hot answers tagged

4 votes
Accepted

Error 3030002 when trying to set contract steps

The set contract operation takes the account name as its first parameter (eosin.token in your example). If this account doesn't exist, if cannot set the contract. In your example above, you create a ...
user avatar
  • 1,824
4 votes

Developing Smart Contracts with Docker

The EOS.io Wiki page on using the Docker image suggests using the following command: alias cleos='docker-compose exec keosd /opt/eosio/bin/cleos -H nodeosd' to setup a local alias of the cleos ...
user avatar
  • 1,824
3 votes

How does one install EOS with NPM?

You can't install eosio using npm. If you're looking for an alternative way to install & run a development environment using Docker you can follow the instructions for Docker-compose below. You ...
user avatar
  • 1,165
3 votes

Error 3160009: No wast file found

The problem here was that the path provided was relative, and Rohan was working with a docker container. When passing the path to your contract's directory when using docker, it should be an absolute ...
user avatar
  • 384
3 votes
Accepted

Uploading a contract in a Docker environment

I would also recommend using the docker image from docker-hub. Pull it by running the following command: docker pull eosio/eos-dev Now you create a folder in your local machine named Code ...
user avatar
  • 2,104
3 votes

Is there a binary that I could install and run?

I cannot believe it was that easy. My previous experience with Docker was terrible - error upon error, some configuration issues. I guess it was on the application level, not Docker level. This time ...
user avatar
2 votes
Accepted

Docker error response from Daemon

It was due to corrupted images. If you're using mac, you can resolve it by going to Preferences menu, click on Reset tab, and click "Remove all data." Then run docker pull eosio/eos-dev again.
user avatar
  • 121
2 votes

Uploading a contract in a Docker environment

If you do not have special reason to use your current docker image. It is better to use docker image included in eosjs. eosio.token contract is already deployed when running this docker. https://...
user avatar
2 votes

How to compile helloworld with Docker?

Before deploying your contract, you should first compile it using eosiocpp tool. If you haven't aliased eosiocpp yet, try running, alias eosiocpp='docker exec eosio /opt/eosio/bin/eosiocpp' Then cd ...
user avatar
1 vote
Accepted

Build from docker clang fail v1.7.0

Oh.. I'm so idiot. https://developers.eos.io/eosio-nodeos/docs/docker should be enough 7 GB memory.
user avatar
  • 61
1 vote
Accepted

Docker is deprecated. What is the recommended way to deploy?

This is what I could find on the discussion of moving from Docker; however, upon examining the release notes, I could find no elaboration of the rationale. We're moving away from Docker images in ...
user avatar
  • 3,405
1 vote

Runtime problems with EOS on Docker

For the first issue, you could be exceeding the maximum CPU usage time allowed for a transaction. You can see below where this is hard coded: const static uint32_t default_max_block_cpu_usage ...
user avatar
  • 3,405
1 vote
Accepted

iptables error trying to set up docker

I was able to solve it by ~/scripts $ sudo service docker stop [sudo] password for user: ~/scripts $ sudo service docker start ~/scripts $ ./docker_init.sh docker: Error response from daemon: ...
user avatar
1 vote

How do to stop keosd when using Docker?

Your question is not clear. If you want to stop the node, simply remove the container using docker rm -f eosio command.
user avatar
1 vote

Setup a full node to use history plugin | docker quickstart sufficient?

It is sufficient. As long as you have server powerful enough. Especially storage.
user avatar
1 vote

Problem with keosd connection via http rpc

Maybe you will copy keosd from docker, and put it in the same directory of cleos. When call cleos to interact with wallet, keosd will be launched by cleos.
user avatar
  • 320
1 vote
Accepted

Where are my wallets created with cleos wallet create + eosio in docker?

The problem is due to the Docker Quickstart tutorial. In short, the files are inside the Docker Container running the eosio instance. To find the files inside the docker do the following: Find ...
user avatar
  • 201
1 vote

How to verify that http://nodeosd:8888 is valid?

You want to add the --filter-on switch against the account/action you want to capture when running nodeos E.g. --filter-on ${Contract}:${Action} --filter-on karmaaccount:createpost: Full example ...
user avatar
1 vote

How to add plugins to nodeos when Docker is used?

You can start nodeos with this command, your plugin comes in bolded area. docker run --rm --name eosio -d -p 8888:8888 -p 9876:9876 -v /tmp/work:/work -v /tmp/eosio/data:/mnt/dev/data -v /tmp/...
user avatar
1 vote

Not Able To PULL EOS Image From Docker

Two suggestions: 1) Try to run it with admin privileges sudo docker pull ... 2) If that still fails, clean your docker images/volumes/containers. Afterwards you can try the production image. With ...
user avatar
  • 2,104
1 vote

Docker for testing contracts

I've been using Docker lately for several reasons. Advantages Easier than a VM by just running a couple of commands I can segregate my host node, keosd and cleos node on 3 different instances in 3 ...
user avatar
1 vote
Accepted

Error with Starting EOS on Docker

Maybe try to pull the image from Docker Hub: https://hub.docker.com/r/eosio/eos/ If you have correctly installed docker sudo docker pull eosio/eos Should be enough... Be sure to maintain your ...
user avatar
  • 2,104

Only top scored, non community-wiki answers of a minimum length are eligible