Hot answers tagged

8 votes
Accepted

Docker and Encrypted Keys

Yes you can run tezos-signer separately from source binary and then let it connect to tezos-node running in docker container. This is how you can do it. On tezos-signer server run following 3 ...
user avatar
  • 1,115
6 votes

Docker vs local build for baking on mainnet?

The docker builds are generally aimed at those individuals who are not comfortable with, or have no experience in compiling software. There is no advantage over running docker builds vs compile on ...
user avatar
  • 3,364
6 votes

docker node how to enable RPC?

At the moment the following appears to work: alphanet.sh start --rpc-port 127.0.0.1:8732. Note --rpc-port and NOT --rpc-addr, this is a special case option in alphanet.sh. This will insert a entry: ...
user avatar
  • 2,501
6 votes

How to run tezos node in private mode using docker images?

When you launch the docker node with ./mainnet.sh start, you can add extra arguments such as --private-mode --peer AAA.BBB.CCC.DDD:PORT (you probably need to specify --peer to connect your private ...
user avatar
  • 3,278
6 votes

How do I remove the private mode setting from my node? My node is not connecting to peer

If you want to remain in private-mode, you must provide an argument --peer node:port when starting your node, or edit the config.json file of the node to add such peers (which is better, as it will be ...
user avatar
  • 3,278
5 votes

How do I import a snapshot using docker?

So the answer is the import will work if you use an absolute path to your snapshot file. The snapshot filename alone will not work. Nor will a relative path the filename. The correct command will look ...
user avatar
  • 1,123
4 votes

Error on activate account alphanet on docker

General remarks: raw text snapshots are more convenient for developers than pictures because you can quote them :-) It looks like tezos-client does not understand the "uri" format file:/[...]. It's ...
user avatar
4 votes
Accepted

Docker Containers Restarting (132), Illegal instruction (core dumped)

I believe this is because of a build issue with some OCaml module that checks hardware architecture at build time 😳 This leaks into the Docker images which throws Illegal instruction when run a ...
user avatar
  • 1,973
4 votes
Accepted

Unable to start mainnet node docker container

It looks like your config.json has been corrupted. You can try deleting it or restoring it from a backup if you have one.
user avatar
  • 341
4 votes
Accepted

Migrating from Source build to Docker

You typically mount volumes into docker containers. If you are using the official tezos/tezos image with it's entrypoint.sh you want to mount the following directories: volumes: - /data/tezos/...
user avatar
  • 1,973
4 votes

Docker vs local build for baking on mainnet?

Of course the use of the Docker makes it easier to build a node, and it is useful for people with an initial level of knowledge of programming on Linux. The fact is that when you build a node for ...
user avatar
4 votes
Accepted

Has anyone got ledger working within docker?

SOLVED Ref. https://gitlab.com/tezos/tezos/issues/475 Apparently the USER env variabled needs to be set for it to work 😝 It is not set by default in official docker images. I'm reaching out to ...
user avatar
  • 1,973
4 votes
Accepted

How do I remove the private mode setting from my node? My node is not connecting to peer

This is caused by an awkward behavior of the docker entrypoint script: it passes the node options along to tezos-node config {init,update} every time, which means options can accumulate and become ...
user avatar
  • 2,501
3 votes
Accepted

Alphanet problem - activating account with faucet

You could use Docker's cp command as a workaround. In your case it would be something like: docker cp tz1Zvjxu9Vzt76uRLtV6CHZMPu1zKA5YV4QX.json alphanet_node_1:/home/tezos/...
user avatar
  • 1,320
3 votes
Accepted

How do I fix './mainnet.sh status' reporting wrong status of docker containers?

It turned out to be a specific issue with docker-compose version 1.23.0 and 1.23.1, where containers get hashes appended to their names when running them (source: this serverfault question). This ...
user avatar
  • 951
3 votes
Accepted

How to deploy my own little network with some Tezos nodes on Docker just for research?

You could use Flextesa In a docker-compose file, it should look like the following: version: '3.6' services: sandbox: image: tqtezos/flextesa:20210316 command: edobox start -P 8732 ...
user avatar
2 votes

Where can I read the changelog for the tezos-client Docker image?

Normally, the Docker images are supposed to follow the mainnet-staging branch of the Tezos repository: https://gitlab.com/tezos/tezos/commits/mainnet-staging
user avatar
  • 3,278
2 votes

Error on activate account alphanet on docker

Okay so this is my first stackexchange answer ever and I'm surprised I was the one to figure this out but here's what I did after several hours. The problem is that docker cannot access the place in ...
user avatar
2 votes

How do I import a snapshot using docker?

I've had the exact same problem. I've filed a bug against it. See this issue here
user avatar
  • 1,123
2 votes

tezos node and tezos-client 8.2 running in docker I get "Illegal instruction (core dumped)"

To generate docker images from scratch locally, the full recipe is (a lot of patience and disk space) $ wget https://gitlab.com/tezos/opam-repository/-/archive/v8.2/opam-repository-v8.2.tar.bz2 $ tar ...
user avatar
2 votes

Trouble activating account on carthagenet

Even though I'm still getting that error, when I run a get balance I can see that the activation worked and my account has tez
user avatar
  • 31
2 votes
Accepted

How to create a wallet using the docker image?

The command tezos-client show address <name> -S will show you the public and secret key of the user name. For instance, assuming that the dockerized tezos-client is accessible through the ./...
user avatar
  • 2,348
2 votes

ACL filtering,can't send transaction

For me it works with the following parameters: --rpc-addr 0.0.0.0:8732 --allow-all-rpc 0.0.0.0:8732 First one makes RPC listen for connections on any interface, and the second fixes ACL.
user avatar
1 vote

How to create a wallet using the docker image?

I was able to make this work using the following commands: ./babylonnet.sh client gen keys MY_WALLET_NAME ./babylonnet.sh client show address MY_WALLET_NAME -S
user avatar
1 vote
Accepted

alphanet.sh client list rejected blocks returns Unrecognized Command

You can use the following command: ./alphanet.sh admin-client list rejected blocks
user avatar
  • 56
1 vote
Accepted

Cors issue when running docker using babylonnet.sh

The babylonnet.sh script accepts node options. You can inspect the node options via tezos-node run --help. The option you're looking for is: --cors-origin=ORIGIN: CORS origin allowed by the RPC ...
user avatar
1 vote
Accepted

How to interact with tezos running in a docker

All interaction with the dockerized tezos-node (should) go through the ./babylonnet.sh, alphanet.sh or mainnet.sh script (the name of the script depends on which network your node is connecting to.) ...
user avatar
  • 2,348
1 vote

Unexpected error (validator) during bootstrapping

Can you open an issue on https://gitlab.com/tezos/tezos/issues/ ? And a few details such as : is your script up to date ? did you bootstrapped your node from nothing ? Or used a storage snashpot ? ...
user avatar
  • 691
1 vote

How do I import a snapshot using docker?

This problem was fixed here: https://gitlab.com/tezos/tezos/issues/531 .
user avatar
  • 691
1 vote

How do I export a snapshot using docker?

You have to specify the data directory of your container using --data-dir argument: tezos-node snapshot export --block BMEH5XAWK4Z1Ds632VVyu9PjW2SKW27Mts4reL8fJCUQVFfgJu7 ...
user avatar

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