The limitation is placed since Windows 7 is not equipped with a native Hyper-V (Hypervisor) technology.
You can download Docker Toolbox here and install on your computer using the detailed instructions found on the page.
Done with the installation? Now you have a tool you can use for your web development needs like an Apache / Nginx localhost server and several other apps you can see in the Kitematic GUI installed with the toolbox package.
When you have the whole app installed you will need to run the ‘Docker Quickstart Terminal’ (icon found on Desktop/Quickstart Menu) and you’ll have a command-line tool (bash) at your service.
The first command you’ll want to type would be the famous hello-world thingy but you need to follow the following syntax for that;
docker container run hello-world
The program will download the hello-world image (pre-packaged working stuff) since it’s the first time and it’s not present locally — hello-world now tells you if everything installed is functioning correctly. Your terminal window should look like below;
Ok we are close to setting up our Local Apache Server for testing our web dev stuff closer to the production environment. I will post that command in my next post.
I am Iqtidar Ali a front-end developer since the HTML 4.0 and Macromedia Flash 4 (later Adobe Flash) days of the web.
Every now and then we run into several issues while working on projects small to large — even while learning new stuff — so I thought of creating this blog as a public diary where I could post how I got the problems solved and sometimes my thoughts on the dev and tech in general.
This should be helpful for me and other devs in-case we run into a similar problem in future, we’ll just copy paste the solution 🙂
Today I sat on the mission to install ‘Docker’ on my Win 7 laptop and for that I had to enable Virtualization on my machine.
The simplest quick solution is that ‘if’ you already don’t have Virtualization enabled in BIOS, you need to just Restart your computer and press F2* (Dell) at the start screen > go to Advanced tab > select Virtualization > Enable > Press F10 to save and Enter to select ‘Yes’ > Exit this is what’s required for solving the ‘Hardware’ part of the problem.
But after doing this I again checked if the ‘Virtualization’ is enabled by using Microsoft’s ‘Hardware Accelerated Virtualization Detection Tool (click to download from MS site)
If the detection tool tells you it’s installed ‘hurrayyyy’ otherwise still don’t worry, you need to download ‘Windows Virtual PC’ from the MS website, Install it, restart the system, run the detection tool again and it should solve the problem.