• Stars
    star
    1,077
  • Rank 42,945 (Top 0.9 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created about 9 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Various Dockerfiles for Windows Containers

dockerfiles-windows

Build status

Various Dockerfiles for Windows. Most of these can be run as Windows Containers on Windows 10, Windows Server 2016, Windows Server 1803 and Windows Server 2019.

Most of these Dockerfiles are automatically built on AppVeyor and pushed to Docker Hub. See the badges in each sub folder's README files.

Getting started

Windows 10

Windows Server 2016

Windows Server 1803

  • Get a Windows Server 1803 Virtual Machine
    • Packer and Vagrant
      • Use Packer with this packer-windows templates to build the windows_server_1803_docker Vagrant box]. You need the ISO file from your MSDN subscription.
      • Use Vagrant and this windows-docker-machine Vagrantfile to have Docker and lots of Docker Tools installed. Run vagrant up 1803.
      • Clone this repo and create some Docker images. Look for the Dockerfile.1803 files.
      • It is recommended to use the smaller base images mcr.microsoft.com/windows/nanoserver:1803 and mcr.microsoft.com/windows/servercore:1803.

Windows Server 2019

  • Get a Windows Server 2019 Virtual Machine
    • Packer and Vagrant
      • Use Packer with this packer-windows templates to build the windows_2019_docker Vagrant box]. You need the ISO file from your MSDN subscription.
      • Use Vagrant and this windows-docker-machine Vagrantfile to have Docker and lots of Docker Tools installed. Run vagrant up 2019.
      • Clone this repo and create some Docker images. Look for the Dockerfile.1809 files.
      • It is recommended to use the smaller base images mcr.microsoft.com/windows/nanoserver:1809 and mcr.microsoft.com/windows/servercore:1809.

Further reading

PowerShell tricks

Porting Dockerfiles from Linux to Windows I found it useful to use PowerShell at some points. Here are some PowerShell tricks that were useful for me.

Feedback and Pull Requests are welcome

If you have some improvements, bug fixes, some new Dockerfiles or more PowerShell tricks, just send me a PR. If you have questions or problems, open an issue for discussion.

Troubleshooting

If you have trouble running Windows Containers you should have a look at https://docs.microsoft.com/virtualization/windowscontainers/troubleshooting

Invoke-WebRequest https://aka.ms/Debug-ContainerHost.ps1 -UseBasicParsing | Invoke-Expression

License

MIT - for more details see the LICENSE file.

More Repositories

1

windows-docker-machine

Work with Windows containers and LCOW on Mac/Linux/Windows
PowerShell
1,070
star
2

docker-windows-box

Various Vagrant envs with Windows 2019/10 and Docker, Swarm mode, LCOW, WSL2, ...
PowerShell
577
star
3

docker-cli-builder

Build Docker CLI for Windows
Dockerfile
248
star
4

adfs2

Multi Vagrant environment with Active Directory
PowerShell
142
star
5

swarm-monitor

Monitor a Docker Swarm with Blinkt! LED
JavaScript
49
star
6

dotfiles

My dotfiles for Mac / Linux boxes and WSL
Shell
37
star
7

dotfiles-windows

My "dotfiles" for Windows PowerShell, like dotfiles on unix
PowerShell
27
star
8

ghost-buster-docker

Run Ghost blog in Docker, and run Buster to deploy to GitHub pages
HTML
26
star
9

docker-at-home

Things I run at home on Raspberry Pi in Docker containers
Shell
25
star
10

rpi-ubuntu

How to run Ubuntu with Docker on Raspberry Pi 3/4
25
star
11

windows-docker-workshop

Docker on Windows workshop
PowerShell
24
star
12

basebox-slave

Build Vagrant baseboxes in vCloud with Packer, for vCloud, VMware and VirtualBox
Ruby
22
star
13

winspector

Inspect Windows Docker images to check sizes and base layers
JavaScript
20
star
14

docker-windows-azure

Deploy a Windows "Docker-Machine" on Azure
PowerShell
19
star
15

windows-docker-desktop-box

Vagrant box to test Docker Desktop with Linux/Windows containers
17
star
16

packer-builder

Packer builder for Vagrant boxes
Shell
16
star
17

stefanscherer.github.io

Just my techie notes.
HTML
14
star
18

pwned-passwords

Docker image to search for pwned passwords
Shell
13
star
19

vagrant-sandbox

My Vagrantfiles for sandbox tests
Ruby
11
star
20

choco-packer

Chocolatey 'packer' package
PowerShell
11
star
21

consul-agent

Consul MSI installer to install a Consul agent as a Windows service
PowerShell
11
star
22

pfsense-packer

Build a pfSense box with Packer
11
star
23

vagrant-vcloud-box

Ubuntu Desktop with preinstalled vagrant-vcloud plugin to work with vCloud
Shell
10
star
24

insider-docker-machine

Windows Server 2016 Insider with Docker (and LCOW)
PowerShell
10
star
25

rebase-docker-image

Rebase a dockerized Windows app to a newer Windows Docker base image.
JavaScript
10
star
26

windows10-docker-swarm

Windows 10 Insider + Docker swarm-mode
PowerShell
9
star
27

mac-dev-box

Mac OSX developer box the Vagrant way - now with Retina display
Shell
7
star
28

rpi-forked-daapd

Dockerized iTunes server for the Raspberry Pi
HTML
7
star
29

choco-docker-cli

Chocolatey package "docker-cli" for the Docker CLI
PowerShell
7
star
30

logbook

Installation logbooks of my machines
7
star
31

docker-rpi-traffic-light

Dockerized traffic light app running on a Raspberry Pi
Python
6
star
32

chocolateyfest-talk

Dockerfiles for the talk at Chocolatey Fest 2018
JavaScript
6
star
33

choco-vagrant-vmware-utility

Chocolatey package for the Vagrant VMware Utility
PowerShell
5
star
34

mint

Packer template for Linux Mint
Shell
5
star
35

choco-vmwareworkstation

Chocolatey packages for VMware Workstation
PowerShell
5
star
36

esxi-playground

ESXi 6.0 + Windows client as a playground
Shell
5
star
37

atmega32u4strip

Small LED strip project with Adafruit Atmega32u4 breakout board
Processing
5
star
38

node-rfc-docker

Example to use node-rfc in a Docker container
JavaScript
4
star
39

choco-docker-compose

Chocolatey 'docker-compose' package
PowerShell
4
star
40

java-ide

Eclipse IDE for Java JEE Developers in an Ubuntu 12.04 LTS box
Shell
4
star
41

trinketstrip

A small LED project with Adafruit Trinket and NeoPixel strip
Arduino
4
star
42

gitrob-box

gitrob in a vagrant box
Shell
4
star
43

choco-archiver

Archiver tool as Chocolatey package - Easily create and extract .zip, .tar, .tar.gz, .tar.bz2, .tar.xz, .tar.lz4, .tar.sz, and .rar (extract-only) files with Go
PowerShell
4
star
44

fwe-fog

FWE FOG-Server configuration and scripts
PowerShell
4
star
45

azurepipelinetest

Test Azure Pipelines from a GitHub repo
Go
4
star
46

sles-vm

Virtual machine templates for SuSE Enterprise Linux (SLES)
Shell
3
star
47

chocolatey-packages

My Chocolatey Package Repository
PowerShell
3
star
48

image-builder-raspbian

Build and test Raspberry Pi SD card image in the cloud
Ruby
3
star
49

RFduino-guide

Quick starter guide for RFduino
3
star
50

packer-atlas-example

Automate building Vagrant Boxes with Packer in Atlas
Shell
3
star
51

choco-manifest-tool

Chocolatey package for the manifest-tool
PowerShell
3
star
52

circle2test

Test job workflows in CircleCI 2.0
Go
3
star
53

choco-docker-machine-vmwareworkstation

Chocolatey 'docker-machine-vmwareworkstation' package
PowerShell
3
star
54

azure-docker-swarm

Terraform template to spin up a Docker Swarm in Azure
HCL
3
star
55

appetizer

Chocolatey Fest appetizer app 🍫
JavaScript
3
star
56

choco-packer-post-processor-vagrant-vmware-ovf

Chocolatey 'packer-post-processor-vagrant-vmware-ovf' package
PowerShell
2
star
57

vcloud-scenarios

Some vagrant-vcloud scenarios
Ruby
2
star
58

choco-docker-machine-vmware

Chocolatey package for the docker-machine-vmware plugin
PowerShell
2
star
59

maketest

maketest
Makefile
2
star
60

talks

Slides for various presentations
HTML
2
star
61

caddy-builder

Fork of a caddy builder
Go
1
star
62

compose-builder

build docker-compose for ARM
1
star
63

iruby-box

IRuby in an Ubuntu box
Shell
1
star
64

lrtimelapse-box

Time lapse workflow on a Mac with Lightroom + LRTimelapse
Shell
1
star
65

test-vagrant-update

This repo is for testing a vagrant update 1.5.3 -> 1.6.2
PowerShell
1
star
66

rpi-gh

Raspberry Pi am Gymnasium HΓΆchstadt
HTML
1
star
67

mac-docker-desktop-box

Vagrant box to test Docker Desktop for Mac in a Fusion VM
1
star
68

node-app-example

Test single exe Node.js application with AppVeyor
JavaScript
1
star
69

jenkins-debian-glue-box

Setup an Ubuntu box with jenkins-debian-glue
1
star
70

cups-cucumber-test

Test cups with vagrant-cucumber
Shell
1
star
71

arduino-ide

Arduino IDE running on Ubuntu 12.04
1
star
72

rpi-ledtest

Play with NeoPixel LED strips on Rapsberry Pi with Python
Python
1
star
73

tuxpaint-box

Tux Paint for kids is only a vagrant up away
1
star
74

win-getaddrinfo

Build a static Windows binary
C
1
star
75

choco-mkcert

Chocolatey package for the mkcert developer tool
PowerShell
1
star
76

win-patch-iojs

Windows tool to monkey-patch the iojs.exe to run in a Windows Docker container
C
1
star
77

rpi-kitematic

Run Kitematic in a Docker Container on your Raspbery Pi
Shell
1
star
78

appveyortest

Test AppVeyor Windows builder
1
star
79

serverspec-on-appveyor

Run serverspec tests on AppVeyor
Ruby
1
star
80

windows-docker-workshop-chat

Gitter chat during the Docker on Windows workshop
1
star
81

chat-example

Node.js chat-example with some Vagrant boxes
JavaScript
1
star
82

panamax-vcloud

Start a Panamax instance in VMware vCloud
Shell
1
star
83

travis-windows-test

Test TravisCI with Windows builder
1
star
84

PiEmulator

Manual on how to set up a Raspberry Pi emulator
1
star