I got a problem while running "activate account" with alphanet on docker (see image below). How do I fix it?
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 an annoying bug which is worth reporting at https://gitlab.com/tezos/tezos/issues .
I don't know if docker keeps the files it puts in
/tmp/ or if it erases them immediately. If files stay for a bit, now that the son file is in the container,
alphabet.sh client activate account peach with /tmp/tz1....json should work...
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 your filesystem that has your temp wallet in it. So I found this article detailing how to mount a volume to a docker container while it is running: https://jpetazzo.github.io/2015/01/13/docker-mount-dynamic-volumes/
You need to find the name of your tezos node with
(1) Mine is called
(2) Next you need to find the location of your .json file. Mine is in
(3) Next enter your container with >./alphanet.sh shell then create the directory in the container you want to contain the .json file. Mine is
Use those three values for the variables at the top of the script in the linked article at the top:
CONTAINER=(1) HOSTPATH= (2) CONTPATH= (3)
Also make sure you download the nsenter script from the linked article using
docker run --rm -v /usr/local/bin:/target jpetazzo/nsenter
Finally I had to change some of the syntax at the bottom of the script in the article, deleting the -- in the bottom rows and changing --mode to -m for mknod. Hope this helps!