All Projects → StefanScherer → docker-windows-azure

StefanScherer / docker-windows-azure

Licence: MIT License
Deploy a Windows "Docker-Machine" on Azure

Programming Languages

powershell
5483 projects

Projects that are alternatives of or similar to docker-windows-azure

openblockchain
{START HERE} docker engine to roll your own openblockchain
Stars: ✭ 16 (-15.79%)
Mutual labels:  docker-engine
microservices
Education & lessons learned from the field. Mainly focusing on AKS and Containers.
Stars: ✭ 16 (-15.79%)
Mutual labels:  windows-containers
docker-workshop
Workshop on Docker, Containers and Golang
Stars: ✭ 20 (+5.26%)
Mutual labels:  docker-machine
rig
Outrigger command line tool
Stars: ✭ 13 (-31.58%)
Mutual labels:  docker-machine
docker-awesome
User Guide for Docker engine, compose. Example. doc, script, demo, example, etc. | support Mac, Ubuntu v16, v18, v20
Stars: ✭ 29 (+52.63%)
Mutual labels:  docker-engine
node-docker-share
Share local folders with a Docker Machine VM
Stars: ✭ 30 (+57.89%)
Mutual labels:  docker-machine
dops
Docker, Docker Machine, Docker Compose, Terraform, Packer, Ansible and kubectl in Docker
Stars: ✭ 23 (+21.05%)
Mutual labels:  docker-machine
data-processing-pipeline
Real-Time Data Processing Pipeline & Visualization with Docker, Spark, Kafka and Cassandra
Stars: ✭ 79 (+315.79%)
Mutual labels:  docker-machine
docker-machine-mac-nfs-mount
Docker machine Mac OS X nfs mount
Stars: ✭ 17 (-10.53%)
Mutual labels:  docker-machine
terraform-provider-dockermachine
Docker machine provider for Terraform
Stars: ✭ 20 (+5.26%)
Mutual labels:  docker-machine
SmartHotel360-Registration
SmartHotel360 - Registration (AKS with Windows Containers)
Stars: ✭ 28 (+47.37%)
Mutual labels:  windows-containers
jvm-development-environment
A Vagrant controlled software development environment built around IntelliJ IDEA, PyCharm, Docker and Ubuntu.
Stars: ✭ 42 (+121.05%)
Mutual labels:  docker-machine
windows-docker-workshop
Docker on Windows workshop
Stars: ✭ 24 (+26.32%)
Mutual labels:  windows-containers
docker-machine-driver-yandex
Yandex.Cloud driver for Docker Machine
Stars: ✭ 21 (+10.53%)
Mutual labels:  docker-machine
node-docker-machine
Programmatic API to Docker Machine.
Stars: ✭ 21 (+10.53%)
Mutual labels:  docker-machine
packer-windows
Windows Templates for Packer: Windows 11, Windows 10, Windows Server 2022, 2019, 2016, also with Docker
Stars: ✭ 1,116 (+5773.68%)
Mutual labels:  windows-containers
playing-docker-swarm-docker-machine
Scripts to help you to play with Docker Swarm and Docker Machine
Stars: ✭ 19 (+0%)
Mutual labels:  docker-machine
docker-machine-driver-bhyve
Docker Machine driver for Bhyve
Stars: ✭ 27 (+42.11%)
Mutual labels:  docker-machine
hotsub
Command line tool to run batch jobs concurrently with ETL framework on AWS or other cloud computing resources
Stars: ✭ 29 (+52.63%)
Mutual labels:  docker-machine
docker-jenkins-jnlp-slave-windows
Jenkins JNLP Slaves as Windows Container
Stars: ✭ 26 (+36.84%)
Mutual labels:  windows-containers

docker-windows-azure

Windows Server 2019 LTS channel

Windows Server 2016 LTS channel

Windows Server 1709 Semi-annual channel

Windows Server 1803 Semi-annual channel

Windows Server 1903 Semi-annual channel

Windows Server 1909 Semi-annual channel

Windows Server 2004 Semi-annual channel

Deployment

These templates will deploy and configure a Windows Server 2016/1709 VM instance with Windows Server Containers and Docker Engine 19.03. These items are performed by the template:

  • Deploy the prepared Windows Server Container Image with Docker 19.03
    • base OS image microsoft/windowsservercore:*
    • base OS image microsoft/nanoserver:*
  • Create TLS certificates for the Docker Engine
  • Prepare a docker-machine configuration in C:\.docker\machine\machines
  • Open Ports for RDP (3389), Docker (2376), as well as HTTP (80) and HTTPS (443).
  • Install additional Docker tools:
    • Docker Compose
    • Docker Machine

Specify your local home directory path in machineHome so the docker-machine config can be created exactly for your needs. Use the value of %USERPROFILE% on Windows and $HOME on Linux/Mac.

Connect to Docker Engine

To connect to the Windows Docker Engine from a notebook you just have to copy the TLS certificates from the Azure VM C:\.docker\machine\machines to your home directory -> .docker/machine/machines. Use the RDP session and copy the folder through RDP. For 1709 server core it is also possible. Just open notepad, then Open a file, browse to C:\.docker and CTRL+C the folder.

Paste the folder into the home directory of your local user account.

Now you can use the local docker-machine binary to switch environment variables to connect to the Docker engine running in the Azure VM.

Bash

$ eval $(docker-machine env az1709)

PowerShell

PS C:\> docker-machine env az1709 | iex

Now you are connected with the TLS protected Docker API of your Azure VM.

docker images

docker-run-cmd

or start your first Windows container eg. from your Mac

docker run -it microsoft/windowsservercore:1709 cmd

docker-run-cmd

Credits

This work is based on the Azure quickstart templates

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].