Docker is an open platform that can be used to deploy applications in isolated, secure containers. Docker containers are lightweight, simple to configure and work consistently in diverse IT environments. Most Bitnami applications are available as Docker containers and offer all the usual Bitnami benefits: security, optimization, consistency and frequent updates.
Install Docker Compose. If you installed Docker Desktop/Toolbox for either Windows or Mac, you already have Docker Compose! Play-with-Docker instances already have Docker Compose installed as well. If you are on a Linux machine, you will need to install Docker Compose.
For Windows 7 (and higher) users, Docker provides Docker Toolbox, an installer that includes everything needed to configure and launch a Docker environment. Docker Toolbox allows you to deploy development containers in legacy Windows systems that do not meet the requirements of the new Docker for Windows application.
Docker Toolbox contains the following tools:
Your Windows system must meet the following minimum requirements:
The first step is to check if your system configuration meets the requirements needed for running the installer successfully.
Docker Toolbox requires 64-bit Windows 7 (or higher). There are many ways to verify if your machine meets these requirements.
Find more information about how to check your Windows operating system.
Enabling hardware-assisted virtualization is mandatory for installing Docker Toolbox.
You can check if your system supports this technology in two different ways.
Using the Windows Task Manager:
Using the Windows Command Prompt:
Type “Command Prompt” in the Windows Search Box.
Right-click to open the options menu. Select “Run as administrator”.
Navigate to the C: drive by typing:
Run the following command:
NOTE: If virtualization is not enabled in your machine, please check how to enable it in your BIOS by following your manufacturer’s instructions.
Once the system requirements have been verified, download the installer from the Docker website. Click the download button with the Windows logo.
NOTE: Make sure that you are installing the latest release of Docker Toolbox. Find the list of releases in Docker’s GitHub repository.
Docker Toolbox will install the following applications:
IMPORTANT: If you have VirtualBox installed and running, please shut down it before the installation begins.
These are the steps you must follow for completing the Docker Toolbox installation:
Open the installer by double-clicking the .exe file. Choose “Yes” in the Windows security dialog box to allow the program to make changes to your PC.
When the Docker Toolbox setup wizard starts, click the “Next” button.
Choose the local folder for Docker Toolbox installation. Click the “Next” button.
Check the components to be installed (“Git for Windows” is recommended; uncheck “VirtualBox” if already installed). Click “Next”.
Accept all default options and click the “Next” button.
Verify that all selected components will be installed. Click “Back” to change any settings.
Click the “Install” button to finish the installation. If Windows should ask you about permitting changes to your PC, click “Yes” to allow it to make the necessary changes.
After all the components are installed, the wizard will notify that installation was successful. Uncheck “View Shortcuts in File Explorer” and click “Finish”.
To verify installation, follow these steps:
Go to your desktop, which should have these three icons:
Launch the Docker Quickstart Terminal by clicking the corresponding icon. This starts the creation of the Docker machine and all its components.
Click near the $ symbol to activate the terminal.
Type the following command and press Enter:
Docker will download and run the “Hello world” container. A confirmation message will be displayed in the terminal.
This indicates that your Docker installation is successful.
Now that Docker is running, the next step is to use it with a Bitnami application. This guide will use the Bitnami WordPress Docker image.
The Bitnami WordPress Docker image provides the latest version of WordPress, including recent updates.This image deploys two containers, one for the database and another for the application itself.
Follow the steps below to deploy the Bitnami WordPress image:
Open the Docker Quickstart Terminal by double-clicking the icon.
Browse to Bitnami’s Docker image for WordPress. Click the “Clone or download” button. Copy the URL to the clipboard.
Type git clone in the Docker Quickstart Terminal and paste the URL:
Check the IP address of your Docker machine by executing the following command:
Change the directory:
Run the docker-compose up command to launch the containers and to create the volumes:
Access the application by browsing to the Docker machine IP address. You should see something like this:
I have VMWare VMs that are necessary for me to use. Installing Docker for Windows enables Hyper-V, which prevents you from being able to use VMWare Workstation or Player. In the future, I would like to see Docker for Windows be able to specify which Virtualization platform to use, Hyper V, VirtualBox or VMWare. I know that I could continue to use Docker Toolbox, but that is not the same on Windows 10. I could also install VMWeare Workstation in a VM and run my VMs nested, but that seems like an unnecessary Russian nesting doll of a setup for something that should just be possible. We already have a Workstation driver for docker toolbox. It seems to me that Docker for “X”, windows/mac, should be able to integrate with these drivers and I should be able to deploy my containers with Docker for “X” on any of those platforms, instead of it being tied directly to windows hyper v, or on mac, virtual box.
Perhaps in 1.13. Until then I will have to continue to use Docker Toolbox.