• 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 10Tagged 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
Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, 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)

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • How Setup Private Docker Registry on Ubuntu 16.04 LTS Cloud Server

    You Can Have Your Own Docker Registry on Own Cloud Server Instance. Here is How Setup Private Docker Registry on Ubuntu 16.04 LTS Cloud Server.

  • Analysis of Docker in DevOps : Part I

    Analysis of Docker in DevOps is a Series of Articles to Discuss the Solving Problems Arising within DevOps and Possible Fields of Application.

  • Run Bash Scripts on Windows 10 Via Git Bash To Launch Linux GUI App

    Run Bash Scripts on Windows 10 Via Git Bash. Git Bash Offers Integrity Options With Windows 10 Bash Making it Easy to Work on Both Windows & unix System.

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

Get new posts by email:

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 (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Hybrid Multi-Cloud Environments Are Becoming UbiquitousJuly 12, 2023
  • Data Protection on the InternetJuly 12, 2023
  • Basics of BJT TransistorJuly 11, 2023
  • What is Confidential Computing?July 11, 2023
  • How a MOSFET WorksJuly 10, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

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

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