• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » How to Run Docker on Windows 10 (Consider Real Bash)

By Abhishek Ghosh April 13, 2018 9:40 am Updated on April 25, 2018

How to Run Docker on Windows 10 (Consider Real Bash)

Advertisement

Yes, Docker runs on Windows like Bash runs on Windows. So you can actually try our guides for Docker intended for Mac or GNU/Linux PC. Here is How to Run Docker on Windows 10. It is possible to run Docker on Windows with Linux sub-system, bash but you better use free GNU/Linux for security reasons – neither Docker is a Free Software nor Windows is a Free Software. Microsoft Windows possibly try to restrict applications according to their need. You may end up doing too many works. Also, normally peoples use GNU/Linux server; it is worthless to waste time behind odd way instead of just having a dual boot.

 

How to Run Docker on Windows 10

 

There are different guides on web around the installation steps. That is because, for different time frame different ways discovered after Microsoft Windows did some changes to make Docker in bash way more Linux like.

Exactly like Linux, you need to run few commands from Windows Bash to install Docker from command line :

Advertisement

---

Vim
1
2
3
4
5
6
7
8
9
10
sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
# Verify
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
Now we're ready to install Docker Community Edition
sudo apt-get update
sudo apt-get install docker-ce
sudo usermod -aG docker $USER

Running :

Vim
1
docker version

will return what exactly happened. Next step is by testing running :

Vim
1
sudo docker run hello-world

 

Failing!

 

If that above command returns some odd typical error, you are unlucky. This is typical error :

Vim
1
2
docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.
See 'docker run --help'.

You can not really force to try more than using sudo. You can check whether there is Go:

Vim
1
go version

You can run this command to leave the daemon running in the background, and with the Docker ready you can test that it is accepting commands :

Vim
1
sudo nohup docker daemon -H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock &

You can try :

Vim
1
docker run -d dockerswarm/swarm:master join --advertise=192.168.1.105:2375

Finally try :

Vim
1
dockerd -D

Try to install these packages :

Vim
1
2
3
sudo aptitude install cgroupfs-mount
apt-get install aufs-tools
apt-get install cgroup-lite

If both Windows installer of Docker and command line way ails like below screenshot, it is very difficult to actually get Docker working (it does not worth the effort) :

How to Run Docker on Windows 10 Tagged With run docker on windows 10 , run docker on windows , running docker on windows 10 , how to run docker on windows 10 , how to run docker on Windows , how to run docker windows 10 , running docker on windows , docker run bash , docker on windows 10 , how to run docker

This Article Has Been Shared 934 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Orthopaedic Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to How to Run Docker on Windows 10 (Consider Real Bash)

  • Cloud Computing – Questions To Ask Your Provider Before

    Cloud Computing has opened a way to supply the demand to your customer at a lesser cost. But, few questions are needed to ask your provider before the registration.

  • Cloud Hosting Options and Things You Need To Know

    Cloud Hosting options are becoming less costly and very popular because they offers the flexibility of increasing RAM, CPU, Bandwidth, Space like resources.

  • Free Cloud Accounts of Dropbox is Bigger with 16 GB Space

    Free Cloud Accounts of Dropbox is Bigger with 16 GB Space with referrals.Definitely it will make other free cloud space providers uncomfortable with face lift.

  • Is Everything is Safe in the Cloud ?

    Is Everything is Safe in the Cloud ? We are representing here few popular systems and highlighting especially the security aspects of the Public Cloud services.

  • Performance Tips for Developing Applications for Cloud Platform

    Performance Tips for Developing Applications for Cloud means optimizing an application which will run on functionally kind of distributed computing framework.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

You can subscribe to our Free Once a Day, Regular Newsletter by clicking the subscribe button below.

Click To Subscribe

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (20K Followers)
  • Twitter (4.9k Followers)
  • Facebook (5.8k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.2k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • What is Domain-Driven Design (DDD)? January 23, 2021
  • Top 10 Anti Hacking Software for Microsoft Windows January 22, 2021
  • What is Software Modernization? January 21, 2021
  • Cloud Computing : Cybersecurity Tips for Small Business Owners January 20, 2021
  • Arduino : Independently Blink Multiple LED January 18, 2021

 

About This Article

Cite this article as: Abhishek Ghosh, "How to Run Docker on Windows 10 (Consider Real Bash)," in The Customize Windows, April 13, 2018, January 23, 2021, https://thecustomizewindows.com/2018/04/run-docker-windows-10-consider-real-bash/.

Source:The Customize Windows, JiMA.in

 

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Cookie Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2021 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy