MIKE LEVIN AI SEO

Future-proof your skills with Linux, Python, vim & git as I share with you the most timeless and love-worthy tools in tech through my two great projects that work great together.

LXD on WSL2 is a Few Months Ahead Of Its Time

As an early adopter of LXD on WSL2, I've encountered confusion between LXD and Docker, downgraded tutorials to Ubuntu 18.04, confirmed LXD requires systemd, tested to see if it is running, and encountered network context issues. I have also found various approaches to solve them. Join me as I explore the challenges and solutions of LXD on WSL2.

Exploring the Challenges and Solutions of LXD on WSL2 as an Early Adopter

By Michael Levin

Wednesday, June 15, 2022

I am almost always doing what people are really going to want to do a few months from now.

Next try! Remind everyone why this is so worth it… that pic!

Do this until it is done. Don’t give up and let the nice folks see the Charlie Brown routine. Kick at the football and end up on your back as many times as it takes. But don’t be tricked. Intelligently adjust technique.

There still seems to be confusion about LXD vs. Docker. Clarify. Show how Canonical is the project lead (a recent discovery of mine).

https://linuxcontainers.org/

And THAT’S where we begin!

This is a holding pattern… the same way I’m on Windows 10 but telling people on Windows 11 to wsl –install, I’m biting the bullet and chasing the rabbit for benefit today.

It’ll come into better shape tomorrow, Guaranteed.

healus@LunderVand:~$ sudo lxd init
Would you like to use LXD clustering? (yes/no) [default=no]:
Do you want to configure a new storage pool? (yes/no) [default=yes]:
Name of the new storage pool [default=default]:
Name of the storage backend to use (btrfs, dir, lvm) [default=btrfs]:
Create a new BTRFS pool? (yes/no) [default=yes]:
Would you like to use an existing block device? (yes/no) [default=no]:
Size in GB of the new loop device (1GB minimum) [default=50GB]: 10
Would you like to connect to a MAAS server? (yes/no) [default=no]:
Would you like to create a new local network bridge? (yes/no) [default=yes]: n
Would you like to configure LXD to use an existing bridge or host interface? (yes/no) [default=no]: y
Name of the existing bridge or host interface: eth0
Would you like LXD to be available over the network? (yes/no) [default=no]:
Would you like stale cached images to be updated automatically? (yes/no) [default=yes]
Would you like a YAML "lxd init" preseed to be printed? (yes/no) [default=no]:

I have overcome big obstacles:

Charlie Brown kicked the football, but doesn’t know how to play the game now. I need to put the time in on learning the lxc commands and general API.

I am feeling bleeding edge pain of early adopters.

Categories