Skip to content

Instantly share code, notes, and snippets.

View Adhjie's full-sized avatar
🎯
Focusing

Adi Adhjie

🎯
Focusing
View GitHub Profile
@Adhjie
Adhjie / 0_prerequisites.md
Created December 13, 2024 08:48 — forked from dehsilvadeveloper/0_prerequisites.md
Installing Docker on WSL 2 with Ubuntu 22.04

Prerequisites

Before start the installation process, make sure you meet the following prerequisites:

  • A Windows 10 operating system with WSL 2 support.
  • WSL 2 enabled.
  • Ubuntu 22.04 installed on WSL 2.
@Adhjie
Adhjie / docker-wsl2.md
Created December 13, 2024 08:48 — forked from martinsam16/docker-wsl2.md
How to install wsl2 ubuntu + docker + docker-compose

Activate wsl2

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
wsl --set-default-version 2

Install and Configure Ubuntu

@Adhjie
Adhjie / SSL-nginx-Docker.md
Created December 13, 2024 08:47 — forked from dahlsailrunner/SSL-nginx-Docker.md
SSL with Docker images using nginx as reverse proxy

Docker with SSL and an nginx reverse proxy

Running your ASP.NET Core (or other) application in Docker using SSL should not be an overwhelming task. These steps should do the trick.

Run the following steps from a Linux terminal (I used WSL or WSL2 on Windows from the Windows Terminal).

1. Create a conf file with information about the cert you'll be creating

It should look something like the content below; call it my-site.conf or something like that.