Skip to content
Jelle Kok edited this page Jul 21, 2016 · 2 revisions

Windows

You have two options for installing Docker on Windows:

Docker for Windows

Docker for Windows is our newest offering for PCs. It runs as a native Windows application and uses Hyper-V to virtualize the Docker Engine environment and Linux kernel-specific features for the Docker daemon.

Go to Getting Started with Docker for Windows for download and install instructions, and to learn all about Docker for Windows.

Requirements

  • 64bit Windows 10 Pro, Enterprise and Education (1511 November update, Build 10586 or later). In the future we will support more versions of Windows 10.

  • The Hyper-V package must be enabled. The Docker for Windows installer will enable it for you, if needed. (This requires a reboot).

Docker Toolbox

If you have an earlier Windows system that doesn't meet the Docker for Windows requirements, get Docker Toolbox.

See Docker Toolbox Overview for help on installing Docker with Toolbox.

The Docker Toolbox setup does not run Docker natively on Windows. Instead, it uses docker-machine to create and attach to a virtual machine (VM). This machine is a Linux VM that hosts Docker for you on your Windows system.

Requirements

To run Docker, your machine must have a 64-bit operating system running Windows 7 or higher. Additionally, you must make sure that virtualization is enabled on your machine. For details, see the Toolbox install instructions for Windows.

Learning more

Note: The Boot2Docker command line was deprecated several releases > back in favor of Docker Machine, and now Docker for Windows.

How to install Joomla by Docker

  1. Install [Docker (Beta)] (https://download.docker.com/win/beta/InstallDocker.msi)
  2. Install [Hyper-v services] (https://msdn.microsoft.com/en-us/virtualization/hyperv_on_windows/quick_start/walkthrough_install)
  3. Restart windows
  4. After updates are installed, open Docker application
  5. Wait a few seconds-minutes until you get a popup that the Docker is started
  6. Create a new dir example C:\Users\username\Downloads\docker\joomla
  7. Create new file docker-compose.yml
  8. Add the follow code:
joomla:
  image: joomla:3.6.0-apache-php7
  links:
    - joomladb:mysql
  ports:
    - 8081:80
joomladb:
  image: mysql:5.7
  environment:
    MYSQL_ROOT_PASSWORD: example
  1. Open powershell, and change the dir to your docker dir (C:\Users\username\Downloads\docker\joomla)
  2. Enter: docker pull joomla
  3. After the downloading the files, enter: docker-compose up -d
  4. You will see 2 lines:
Creating joomla_joomladb_1
Creating joomla_joomla_1
  1. Open your browser and navigate to: http://localhost:8081/ (It can te taken up some seconds to get the localhost running, press refresh until you see the joomla install page)
  2. On the Joomla installer page, enter at database tab the follow settings:
Hostname: mysql
username: root
password: example
Database name: joomla
  1. All other settings you can set it up to your own needs
  2. You have now installed Joomla