These are chat archives for ethereum/homestead-guide

Feb 2018
David Burg
Feb 01 2018 18:37
I'm not sure if using the Docker installation of ethereum cpp client will work at all with Windows Docker community edition. I was able to pull the package from dockerhub. The mkdir command needs to be revised for windows to something like mkdir .ethereum and mkdir .web3
Because -p for creating intermediate directories is the default behavior of mkdir on windows and not a supported parameter
Mkdir on windows also takes only one directory argument at a time unlike Linux' support for multiple names
Then the ~ shortcut for user home maybe needs to be %USERPROFILE% environment variable in windows
Or maybe use %LOCALAPPDATA% depending if we want the folders to be easily found by the user or hidden
I could use some insights as to the etherum execution command to see if the parameters can be adapted for docker on windows
The -v option for path mount can be fixed for ~ to absolute path of the same folders created before
David Burg
Feb 01 2018 19:11
The --user argument parsing on windows docker didn't work, with docker confused with the contained -g)
With all this worked around the client miner still failed on start up to open the database with
cpp-ethereum, a C++ Ethereum client
✘ 18:30:12.950|main Database "/.ethereum/d4e56740/blocks" or "/.ethereum/d4e56740/12041/extras" already open. You appear to have another instance of ethereum running. Bailing.
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<dev::eth::DatabaseAlreadyOpen>'
what(): DatabaseAlreadyOpen