-
Notifications
You must be signed in to change notification settings - Fork 85
Docker For Windows
You have two options for installing Docker on 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).
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.
-
If you are new to Docker, try out the Getting Started tutorial for a hands-on tour, including using Docker commands, running containers, building images, and working with Docker Hub.
-
You can find more extensive examples in Learn by example and in the Docker Engine User Guide.
-
If you are interested in using the Kitematic GUI, see the Kitematic user guide.
Note: The Boot2Docker command line was deprecated several releases > back in favor of Docker Machine, and now Docker for Windows.
- Install [Docker (Beta)] (https://download.docker.com/win/beta/InstallDocker.msi)
- Install [Hyper-v services] (https://msdn.microsoft.com/en-us/virtualization/hyperv_on_windows/quick_start/walkthrough_install)
- Restart windows
- After updates are installed, open Docker application
- Wait a few seconds-minutes until you get a popup that the Docker is started
- Create a new dir example C:\Users\username\Downloads\docker\joomla
- Create new file docker-compose.yml
- 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
- Open powershell, and change the dir to your docker dir (C:\Users\username\Downloads\docker\joomla)
- Enter:
docker pull joomla
- After the downloading the files, enter:
docker-compose up -d
- You will see 2 lines:
Creating joomla_joomladb_1
Creating joomla_joomla_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) - On the Joomla installer page, enter at database tab the follow settings:
Hostname: mysql
username: root
password: example
Database name: joomla
- All other settings you can set it up to your own needs
- You have now installed Joomla