Common error encountered while setting up Docker in Windows

in #gradnium3 years ago

I've been tasked by @trostparadox to set up a development sandbox of nitrous. While trying to do so by following the steps at https://github.com/hive-engine/nitrous/blob/master/README.md, I've faced a few problems in setting up Docker.
The instructions listed in https://get.docker.com explain the docker installation only for Linux, macOS systems.
The clear steps for docker installation in the Windows system are available at https://docs.docker.com/desktop/windows/install/.

Common errors that I've seen:
1.docker build -t="myname/condenser:mybranch" .
error during connect: This error may indicate that the docker daemon is not running

image.png

2.error Command failed with exit code 1.

Resolution for the above errors:
For successful installation and usage of Docker in Windows,
Complete Step 4 (Step 4 - Download the Linux kernel update package) in the below article:
https://docs.microsoft.com/en-us/windows/wsl/install-manual#step-4---download-the-linux-kernel-update-package

After following the steps in ‘Docker’ section under Installation in https://github.com/hive-engine/nitrous/blob/master/README.md , i.e.,

git clone https://github.com/eonwarped/nitrous
cd nitrous
docker build -t="myname/condenser:mybranch" .
docker run -it -p 8080:8080 myname/condenser:mybranch

Here's the screenshot of the container running successfully,

image.png

image.png

Sort:  

Congratulations @bhanutejap! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s):

You received more than 10 upvotes.
Your next target is to reach 50 upvotes.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Check out the last post from @hivebuzz:

Hive Power Up Month - Feedback from February day 20
Support the HiveBuzz project. Vote for our proposal!