Member-only story
The Blockchain- Dapps Daily — 13 Feb 2020 — Docker/AWS/Nodejs
- I tried to send Ether but failed and get an error message
“node 0.4.2: TypeError: Cannot read property ‘Set-Cookie’ of undefined”
After google, I still don’t know how to solve it. At the same time, I found that the react-native command cannot work and see the following error -internal/ modules/cjs/loader.js cannot find module ‘prompt’ , so I decide to reinstall nodejs and react-native.
This is not my answer : https://github.com/Marak/session.js/issues/2
2. How can I run Docker in a AWS Windows Server environment?
I am going to deploy ethereum docker image in an AWS windows server. After studying, the answer is No. I cannot run Docker in a AWS windows server environment.
My answer is from this — https://forums.docker.com/t/docker-for-windows-in-aws-machine/68728
Unable to start: The running command stopped because the preference variable “ErrorActionPreference” or common parameter is set to Stop: ‘MobyLinuxVM’ failed to start.
Failed to start the virtual machine ‘MobyLinuxVM’ because one of the Hyper-V components is not running.
’MobyLinuxVM’ failed to start.
The Virtual Machine Management Service failed to start the virtual machine ‘MobyLinuxVM’ because one of the Hyper-V components is not running
preference : https://stackoverflow.com/questions/46248193/how-can-i-run-docker-in-a-aws-windows-server-environment
Error: “Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?”
Solution: I did not turn on docker. ><