docker run -d --name abe -v $APPDATA/Bitcoin:/datadir poliver/bitcoin-abe
I get the error:
invalid value "C:\\Users\\someone\\AppData\\Roaming/Bitcoin:/datadir"
for flag -v: \Users\someone\AppData\Roaming/Bitcoin:/datadir 
is not an absolute path 
See 'c:\Program Files\Boot2DockeForWindows\docker.exe run --help'.
I get the same results when I call it these ways:
$ docker run -d --name abe -v "$APPDATA/Bitcoin":/datadir poliver/bitcoin-abe
$ docker run -d --name abe -v "/c/users/someone/AppData/Roaming/Bitcoin":/datadir poliver/bitcoin-abe
$ docker run -d --name abe -v ~/AppData/Roaming/Bitcoin:/datadir poliver/bitcoin-abe
Ans.
If you want to mount the $APPDATA on your Windows host machine to /datadir on the docker container, instead of the below command:
docker run -d --name abe -v $APPDATA/Bitcoin:/datadir poliver/bitcoin-abe
You can issue:
docker run -d --name abe -v //c/Users/YOUR_USER_NAME/$APPDATA/Bitcoin:/datadir poliver/bitcoin-abe
//c/Users/PATH_TO_DIR is the key here for Windows directory
Your $APPDATA Directory MUST reside on the /c/Users/Your_User_Name directory and it cannotreside on other places. (e.g. D:/$APPDATA on the D partition.)
top