Last active
November 23, 2018 09:48
-
-
Save knappologi/42376f7325218313fd6701359f3b984d to your computer and use it in GitHub Desktop.
How to download & install docker for Windows ¯\_(ツ)_/¯
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- Steps to download and install Docker on Windows | |
| # DOCKER TOOLBOX | |
| # 1. download from below | |
| https://docs.docker.com/toolbox/overview/#whats-in-the-box | |
| # 2. Go to install page for instructions and read | |
| https://docs.docker.com/toolbox/toolbox_install_windows/ | |
| # 3. Check if virtualization is enable, through Task manager: ctrl+alt+delete -> task manager -> performance | |
| # In swedish: ctrl+alt+delete -> aktivitetshanteraren -> prestanda | |
| # Below the graph of the CPU, next to Virtualization it should say Enabled (in swedish: Virtualisering and Aktiverat). | |
| # 4a. IF ITS ENABLED: | |
| # Jump to step 6. | |
| # 4b. IF ITS NOT ENABLED: | |
| # 5. you need to go through BIOs to activate it. This might require you to restart your computer. | |
| # check link below for instructions on how to. Please note that BIOs screens might look different depending on computer | |
| https://support.bluestacks.com/hc/en-us/articles/115003910391-How-can-I-enable-virtualization-VT-on-my-PC- | |
| # you might want to search for specific instructions for you computer, google "<brand/model of computer> enter BIOs". | |
| # 6. As administrator (right-click on the file you downloaded to do this), install docker toolbox from the .exe you downloaded in step 1. | |
| # Make sure you check the box Install VirtualBox with NDIS5 driver for when the wizard ask you to select additional tasks. | |
| # 7. Open docker quickstart terminal! | |
| # Allow virtualbox to do things if it asks. | |
| # In the black terminal window, docker will do lots of thing. It might also take a while on the step Waiting for IP... (this is normal). | |
| # If waiting for IP takes a really long time, try press enter. | |
| #8. If everything is alright, a whale will show in Docker quickstart terminal. Woho! You made it! | |
| -- Troubleshooting! | |
| # if you got errors in step 7, such as the terminal having problems to find files, | |
| # you might need to reinstall docker toolbox AND VirtualBox, and reinstall them both through with, as a administrator, docker toolbox. | |
| # To do this: | |
| # Go to the control panel and below Programs, click Uninstall a program | |
| # (swedish: avinstallera ett program ELLER sök i windowsmenyn på "Lägga till eller ta bort program"). | |
| # find Docker toolbox and uninstall | |
| # find Oracle Vm VirtualBox (which might prompt a reboot of your computer) | |
| # now reinstall Docker toolbox as an administrator and check the box for install VirtualBox with NDIS5 driver | |
| # Go back to step 7. | |
| # DOCKER FOR WINDOWS | |
| # 1. Go to link below, and click on the button to download docker from their store. To do this, you might need to create a (free) account. | |
| https://docs.docker.com/docker-for-windows/install/ | |
| # 2. Check if virtualization is enable, through Task manager: ctrl+alt+delete -> task manager -> performance | |
| # In swedish: ctrl+alt+delete -> aktivitetshanteraren -> prestanda | |
| # Below the graph of the CPU, next to Virtualization it should say Enabled (in swedish: Virtualisering and Aktiverat). | |
| # 3a. IF ITS ENABLED: | |
| # Go to step 5. | |
| # 3b. IF ITS NOT ENABLED: | |
| # 4. you need to go through BIOs to activate it. This might require you to restart your computer. | |
| # check link below for instructions on how to. Please note that BIOs screens might look different depending on computer | |
| https://support.bluestacks.com/hc/en-us/articles/115003910391-How-can-I-enable-virtualization-VT-on-my-PC- | |
| # you might want to search for specific instructions for you computer, google "<brand/model of computer> enter BIOs". | |
| # 5. As an administrator, install Docker for Windows. | |
| # 6. When installation is done, open Docker for Windows. | |
| # This might prompt a message from docker regarding Hyper-V not being active. Let Docker activate Hyper-V and restart your computer. | |
| # 7. Log in with your Docker ID. Feel free to install any available updates :) | |
| # 8. Now open powershell and type | |
| docker run hello-world | |
| # 9. Wow! You made it! | |
| -- Troubleshooting Docker for Windows! | |
| # I had problems after succesfully installing Docker toolbox, uninstalling it and then trying to install Docker for Windows. You might get an error on step 8 about certificates not working or file not found. Below instructions might help. | |
| # Uninstall both Docker toolbox and VirtualBox from your computer. | |
| # Go to the control panel and below Programs, click Uninstall a program | |
| # (swedish: avinstallera ett program ELLER sök i windowsmenyn på "Lägga till eller ta bort program"). | |
| # find Docker toolbox and uninstall | |
| # find Oracle Vm VirtualBox (which might prompt a reboot of your computer) | |
| # Go to step 5 and complete step 5-8. | |
| # Close any terminal or powershell window. | |
| # Close Docker for windows. | |
| # Search for "Environment variables" or go to System (Control Panel) -> click the Advanced system settings link -> Click Environment Variables | |
| # (Swedish: sök på Redigera systemets miljövariabler -> klicka på Miljövariabler...) | |
| # Delete the following: | |
| DOCKER_TLS_VERIFY | |
| DOCKER_CERT_PATH | |
| DOCKER_HOST | |
| DOCKER_TOOLBOX_INSTALL_PATH | |
| # Now start Docker for windows again. When its running and ready | |
| # Open powershell again, type | |
| docker run hello-world | |
| # Hopefully its fixed :) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment