Skip to content

Instantly share code, notes, and snippets.

View macel94's full-sized avatar
:shipit:
Available 🌋

Francesco Belacca macel94

:shipit:
Available 🌋
View GitHub Profile
@macel94
macel94 / podman-windows-wsl.md
Created May 11, 2026 11:54 — forked from brainfoolong/podman-windows-wsl.md
Install Podman Desktop on Windows 11 + WSL Installation + Podman Desktop showing WSL containers

If you are in my boots, starting using podman for the first time and want it to get it working on Windows and WSL, this is for you. It's a bit of a pain to have the same "Docker Desktop" experience just with "Podman Desktop".

This guide doesn't matter for security, it just documents how you make things work.

This guide only works for ubuntu 24 in your WSL distro. Versions bellow have older podman versions which are not compatible with podman desktop.

What we do

  • Remove Docker Desktop if installed
@macel94
macel94 / Agent-DockerFile
Last active March 24, 2025 10:55
Azure Container App Jobs: Why I think they're Great
FROM mcr.microsoft.com/dotnet/sdk:latest
RUN DEBIAN_FRONTEND=noninteractive apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get upgrade -y
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y -qq --no-install-recommends \
apt-transport-https \
apt-utils \
ca-certificates \
curl \
git \
@macel94
macel94 / .wslconfig
Created May 1, 2024 09:46
Working example of wslconfig
# Settings apply across all Linux distros running on WSL 2
[wsl2]
# Limits VM memory to use no more than 4 GB, this can be set as whole numbers using GB or MB
memory=4GB
# Sets the VM to use two virtual processors
processors=2
# Sets amount of swap storage space to none, default is 25% of available RAM
@macel94
macel94 / .gitconfig
Created April 28, 2024 16:15
global .gitconfig in WSL that works and forces my auth for github but delegates to gcm the actual auth
[credential "https://dev.azure.com"]
useHttpPath = true
[credential]
helper = /mnt/c/Program\\ Files/Git/mingw64/bin/git-credential-manager.exe
[credential "https://github.com"]
username = macel94