Skip to content

Instantly share code, notes, and snippets.

View mathershifter's full-sized avatar

Jesse Mather mathershifter

View GitHub Profile
@mathershifter
mathershifter / docker_wsl2_containerlab.md
Last active January 15, 2025 19:16
Docker + WSL2 + Containerlab

Docker + WSL2 + Containerlab

Hyper-V

  • Open a PowerShell prompt as Administrator

  • Enable Hyper-V

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
#!/bin/sh
#
# Lab / Testing CA
#
# generates:
# - a local authority
# - signs a server cert with a CN matching the hostname
# - client server for auth
#
# config: