Skip to content

Instantly share code, notes, and snippets.

@jason-bivins
jason-bivins / 200 containers
Last active July 2, 2024 21:07
Jbiv-quicknotes
docker pull georgyturevich/tomcat:choco_install; `
docker version; `
docker info; `
mkdir C:\test_volume; `
$CountContainers = 200; `
docker stop $(docker ps -af name=gturevich-test --format "{{.Names}}"); `
docker rm $(docker ps -af name=gturevich-test --format "{{.Names}}");`
$MaintStartTime = Get-Date; `
for ($I=1; $I -le $CountContainers; $I++) { `
$Start = Get-Date; echo "$Start`: Runing #$I (of $CountContainers) ..."; `
version: '3.3'
services:
win16:
image: mcr.microsoft.com/windows/servercore/iis:windowsservercore-ltsc2016
deploy:
endpoint_mode: dnsrr
networks:
- net

Ubuntu test machine setup guide

Walks you through:

  • Creating an ubuntu VM in azure
  • Installing a GUI and reconnecting via RDP
  • Installing sys reqs for Docker Desktop
  • Installing Docker Desktop
ssh## On the Windows DC
# enable the AD DS role on the server create the forest and domain. name what you want - include valid top level domain (.com, .local) and netbiosname
Install-WindowsFeature AD-Domain-Services -IncludeManagementTools
Install-ADDSForest -DomainName "sustaining.org" -DomainNetBiosName "sustaining" -InstallDns
# server will reboot, your local login will not work anymore, but your same uname/pwd will work on the domain you'll connnect to `user@sustaining.org`