Octoprint container in Debian Windows WSL 2 and Docker Desktop

Here’s a list of steps to get octoprint to run within a container on Windows. I happen to have a windows system running next to my ender so instead of infinitely waiting for a raspberry pi I decided to run octoprint in a container within windows - if possible. Using Debian was a challenge, but I prefer it over Ubuntu, so I took the extra time to figure it out. Enjoy! ...

September 11, 2022 · 2 min

Docker volume backup and restore the easy way.

I haven’t had to move docker volumes around in a few years, but I finally had the need today. As usual, I searched for the process, knowing that most examples are… well… not very good. Well, as I almost resorted to pulling a manual job using ubuntu, I found a great write-up by Jarek Lipski on Medium. Here’s how you backup using alpine and tar. Also, make sure you “docker stop” the containers that use the volume, so you get a consistent backup. ...

August 29, 2022 · 2 min

Password-less ssh in 2 Glorious Steps...

Local System - Let’s call it alpha Remote System we don’t want to have to enter passwords for, Let’s call it foxtrot Prep: Harden your existing ssh keys since RSA 1024 sucks. This will create a new 4096 version - ed22519 is actually preferred so you can skip the rsa creation if preferred. me@alpha$ mv ~/.ssh/id_rsa ~/.ssh/id_rsa_legacy me@alpha$ mv ~/.ssh/id_rsa.pub ~/.ssh/id_rsa_legacy.pub Step 1: Generate new keys: me@alpha$ ssh-keygen -t rsa -b 4096 -o -a 100 #RSA version me@alpha$ ssh-keygen -o -a 100 -t ed25519 #Preferred ed25519 version Step 2: Copy the Ed25519 keys to the remote system called foxtrot: ...

June 17, 2020 · 2 min