How to install docker on windows 7

Docker is a computer program that performs operating-system-level virtualization, also known as "containerization". Containers created with docker allow you to create isolated development environments on your system. These containers are also portable so you can easily move them from machine to machine and even share them with others.

Docker has many more benefits which you can read about here on the official docker website.

 

To install docker on Windows 7 you will need to download and install Docker Toolbox.

Docker Toolbox is for older Mac and Windows systems that do not meet the requirements of Docker for Mac and Docker for Windows

You will need to be running a 64 bit version of Windows 7 and you will need virtualization enabled on your system.

 

Steps

  1. Download docker toolbox from the following link.

https://download.docker.com/win/stable/DockerToolbox.exe

  1. Double click the DockerToolbox.exe file and run through the wizard.

How to install docker on windows 7

Select the components you want and click next.

How to install docker on windows 7-003

Select all additional tasks and click next.

How to install docker on windows 7-005

Review the install details and click install when ready.

How to install docker on windows 7

  1. Once the install is complete look for the Docker Quickstart Terminal on your desktop and double click.

How to install docker on windows 7

  1. A terminal will open docker configuration will start. This could take a while.

How to install docker on windows 7

 

  1. Eventually you will see the following screen.

How to install docker on windows 7

 

  1. The terminal runs a special bash environment instead of the standard Windows command prompt. The bash environment is required by Docker.

 

  1. To confirm your install has been successful, type the command docker run hello-world. If the install is good you should see the following output.

 

That's it, leave a comment below if this worked for you or not.

 

45 Comments

  1. Prashant on June 27, 2019 at 6:37 pm

    Working fine. Thanks

  2. bd on August 1, 2019 at 9:58 pm

    Thanks for this guide, works exactly as described.

  3. d on August 24, 2019 at 2:50 am

    Thank you from Windows 7 user.

  4. Kai on September 2, 2019 at 9:08 am

    Works as described, thank you!

  5. a on September 2, 2019 at 12:40 pm

    Works for me. Windows 7

  6. Y on September 3, 2019 at 10:39 pm

    Thanks, pretty helpful!!

  7. suresh on September 12, 2019 at 12:29 pm

    working.thanks

  8. BL on September 18, 2019 at 9:40 pm

    Thanks you it works greatly appreciate your help

  9. Donald T on September 25, 2019 at 3:13 pm

    Bonjour le mien n’a pas fonctionné
    que faire?
    j’ai un message d’erreur

  10. Erwin on September 29, 2019 at 3:54 pm

    Working :):):)

  11. dimwap on October 5, 2019 at 10:55 am

    it still works, win7

  12. Padri on October 5, 2019 at 6:55 pm

    Not working for windows 7 x86 🙁

  13. Chris on October 6, 2019 at 3:23 pm

    Thanks for the guide, it worked great!

  14. Jaspreet on October 7, 2019 at 10:51 am

    working mate !! thanks for this

  15. André on December 9, 2019 at 8:59 pm

    I had two problems: #1 my user is not an admin, so I would appreciate, if you’d mention it
    #2 git was installed before and so the shortcut had the wrong path variable for git.

    Beside this it’s a very practically help – thank you

  16. WINUSER on December 20, 2019 at 6:49 pm

    Merci ça marche apprécie grandement votre aide
    N.B. demande d’installer d’autre sous composants “oracle” pendant l’installe. répondre OK pour tous et ça passe.

  17. Gracious on December 23, 2019 at 10:43 am

    Yes, it worked. Thanks

  18. Cihan on January 16, 2020 at 8:45 am

    working, thanks

  19. KeThichDua on January 16, 2020 at 9:02 am

    Thank you from Windows 7 user.

  20. Artur Freitas on March 22, 2020 at 12:20 am

    Hello, I got the error below after type docker login my_url -u my_username -p my_passworrd

    WARNING! Using –password via the CLI is insecure. Use –password-stdin.
    error getting credentials – err: exec: “docker-credential-desktop”: executable f
    ile not found in %PATH%, out: “

    Do you have idea what is happening?

    When I use the same command in Windows 10 It works fine.

    • Peter on March 26, 2020 at 12:03 pm

      Looks like Docker is not added to your PATH. You must not have clicked the “Add Docker binaries to PATH” During the install process

  21. Adrian on April 2, 2020 at 10:25 am

    It works. Thanks 🙂

  22. Harsh N on April 4, 2020 at 8:35 pm

    Hi. I’m using windows 7. I run these steps. The terminal throws no error but as soon as it says “docker is up and running”, the whale doesn’t appear and the bash does not show up.

  23. Alena on April 9, 2020 at 2:20 pm

    Hello.
    I’ve Installed DockerToolbox without VirtualBox (it was already installed on my computer). Docker Quickstart Terminal runs successfully, but containers with my system do not installed properly. I’ve tried to install DockerToolbox again with VirtualBox. After that Docker Quickstart Terminal runs with error, that says something about VboxSOS… Then I uninstalled my VirtualBox and DockerToolbox. And Installed DockerToolbox with VirtualBox. Now Docker Quickstart Terminal say “open C:\Users\Alena\.docker\machine\machines\default\config.json: The system cannot find the file specified.
    Looks like something went wrong in step ?Checking status on default?… Press any key to continue..”
    What can I do to fix this error?
    Thanks

    • Alena on April 9, 2020 at 3:34 pm

      The problem was solved after uninstalling DockerToolbox and new install.

      • Peter on April 9, 2020 at 4:11 pm

        Great!

  24. Yulia on April 20, 2020 at 6:50 pm

    Thank you very much!!!!!

  25. Paul on April 28, 2020 at 3:24 pm

    Hello guys.
    I checked my BIOS and saw that the virtualization technology toggling is locked and i don’t know how to unlock it to enable virtualization technology.
    Please help what else can I do?? I use a toshiba pc with windows 7.
    Please email me as soon as possible. HELP

    • Peter on May 2, 2020 at 10:56 am

      You should check the documentation for your model of Toshiba PC.

    • Shivu on May 12, 2020 at 10:52 am

      Check the security tab in the bios settings

      You will find enable virtual technology as radio button option

  26. md on May 11, 2020 at 9:38 pm

    thanks . it worked

  27. Shivu on May 12, 2020 at 10:50 am

    Working 🙂
    Thank you

  28. Ravi gohel on May 22, 2020 at 6:35 am

    Here is a good explanation about how to install docker on windows platform also link is provided for downloading dockertoolbox.exe
    it worked as said.
    Thank you webme.

  29. André De Brito on May 29, 2020 at 11:42 pm

    Great post! It helped me a lot. Work like a charm. Thank you!

  30. Prince on June 12, 2020 at 11:15 am

    I am getting the below error after the command: docker run hello-world

    Unable to find image ‘hello-world:latest’ locally
    Error response from daemon: Get http
    s://registry-1.docker.io/v2/: x509: certificate signed by unknown authority.
    See ‘docker.exe run –help’.

  31. ajay on June 16, 2020 at 12:44 pm

    Works for me. Windows 7. thank u very much!!!!!

  32. Alok on June 16, 2020 at 1:25 pm

    It also works for me.

  33. piyush on July 11, 2020 at 4:04 pm

    i am getting following error in windows 7.
    looks like something went wrong in step ‘Checking if machine default exists’

  34. littinrajan on July 21, 2020 at 10:40 am

    It works perfectly. I’m so thankful that you have given a tutorial for Windows 7.

  35. Deepjyoti Das on July 22, 2020 at 11:06 am

    Thanks working in windows 7

  36. Oleg on August 14, 2020 at 11:56 pm

    Quickstart doesn’t start a console in Windows 7, start.sh is not runnable 🙁

  37. Jose on August 22, 2020 at 4:42 pm

    Looks like something went wrong in step ´Looking for vboxmanage.exe´… Press any key to continue…
    and vboxmange.exe is in the PATH !!!! the script is bad

  38. Jose on August 22, 2020 at 7:43 pm

    I resolved with
    Make sure you have VBOX_INSTALL_PATH (should point to VirtualBox installation folder. i.e. C:\Program Files\Oracle\VirtualBox)
    Make sure you have VBOX_MSI_INSTALL_PATH (should point to VirtualBox installation folder. i.e. *C:\Program Files\Oracle\VirtualBox*)
    Make sure you have VBOX_USER_HOME (e.g. C:\Users\Sara.VirtualBox)
    Make sure you have DOCKER_TOOLBOX_INSTALL_PATH in your User variables (i.e. C:\Program Files\Docker Toolbox)
    and if you have error for hyper-v enabled and your Bios is OLd
    in start.sh replace for
    “${DOCKER_MACHINE}” create -virtualbox-no-vtx-check $PROXY_ENV “${VM}”
    An run,….

    • Jose on August 22, 2020 at 7:44 pm

      C:\Users\your_user_name\.VirtualBox

  39. domisPL on October 4, 2020 at 12:07 pm

    Docker Toolbox relies on Boot2docker ( https://github.com/docker/toolbox/blob/master/Dockerfile.windows#L53 ) which is deprecated since May 22 2020 : https://github.com/boot2docker/boot2docker/commit/0774cfcdf4dc784104990796e1c62e36c807ef61

    I would recommend using “Docker inside Vagrant machine” approach as described for example in this article: https://medium.com/faun/hey-docker-why-you-hate-windows-so-much-de7a7aa4dd7

Leave a Comment