Post AY8D5PgLd7nS6Bcejw by Maholmire@crlf.ninja
 (DIR) More posts by Maholmire@crlf.ninja
 (DIR) Post #AY8CZWIvTPMXN2SXFw by Maholmire@crlf.ninja
       2023-07-27T20:52:45.578889Z
       
       2 likes, 1 repeats
       
       If you’re wondering where I went for the last six hours, I gave up on trying to SSH into the virtual machine again and decided to look into using systemd units with my container. The result to which nuked the primary container that I’ve been using as an Arch Linux environment on SteamOS. You would think having that happen once before would’ve taught me better than to play with fire. Last time I had the fortunate of ignorance that allowed me to salvage it for my part by integrating the container into my home directory. This time around I had both separated so the configuration dotfiles vanished alongside the container. 🥴Probably going to chill for the rest of the day now after getting most of my stuff back and organizing my bookmarks. Either I must be severely retarded or @emma is tremendously auspicious.
       
 (DIR) Post #AY8CgyBSDTtjreW5ke by dcc@annihilation.social
       2023-07-27T20:53:57.962015Z
       
       0 likes, 0 repeats
       
       @Maholmire @emma Mf'er you cant use ssh? (or do you not understand keys)
       
 (DIR) Post #AY8Cyc8QvpW8h5W7vc by emma@niscii.xyz
       2023-07-27T20:57:17.956Z
       
       1 likes, 0 repeats
       
       @Maholmire@crlf.ninja >container that I’ve been using as an Arch Linux environment on SteamOSi have no idea what any of that is. use something simple and you won't have issues ​:pblobnwn:​
       
 (DIR) Post #AY8D5PgLd7nS6Bcejw by Maholmire@crlf.ninja
       2023-07-27T20:58:31.399711Z
       
       0 likes, 0 repeats
       
       It's not that I don't understand so much as connecting to a KVM Virtual Machine has been somewhat of a pain to do.IP addresses don't appear to match, can't just connect over the network using my own or by using the address reported by the VM as both would result in it perpetually hanging.
       
 (DIR) Post #AY8DB2cAJ6owIHLkAq by dcc@annihilation.social
       2023-07-27T20:59:26.344369Z
       
       0 likes, 0 repeats
       
       @Maholmire hanging? sounds like the vm crashes
       
 (DIR) Post #AY8DZoWxo9K9qwjHJg by Maholmire@crlf.ninja
       2023-07-27T21:04:00.878128Z
       
       1 likes, 0 repeats
       
       Containers are just a poor man's virtual machine. Rather than emulating an entire operating system, you are instead using the host system's kernel to run a nested Linux Distribution inside a jail. That's pretty much what containers are in a nutshell and their portability through container management software like Docker and Podman has made them a popular alternative to Nix for procuring easily reproducible and portable environments for development and testing. Nah, was doing stuff on the VM and it was responsible. Just SSH that was having issues. I've previously used SSH to remote into someone's VPS briefly, so I do know how to use it. I've probably just happened upon an obscure or esoteric issue involving networking between the host and virtual machine is all.
       
 (DIR) Post #AY8E3zhcpqZHBp6iC8 by pwm@crlf.ninja
       2023-07-27T21:09:28.146253Z
       
       1 likes, 0 repeats
       
       @Maholmire @emma ma chigga are you manually doing vms from kvm/ksh etc? You're going to have a nasty time.Highly recommend you use a slightly more polished interface to manage your cts/vms etc etc like even proxmox over raw kvm
       
 (DIR) Post #AY8E7IvtnInDhSMVP6 by gray@ryona.agency
       2023-07-27T21:09:42.640552Z
       
       0 likes, 0 repeats
       
       @Maholmire @emma Are you using LXC containers? I wonder if maybe you have to forward port 22 to the container. I’ve only ever used containers with Proxmox and I don’t know if that took care of some of the networking components.
       
 (DIR) Post #AY8E9JeW5cA4VkBtAG by pwm@crlf.ninja
       2023-07-27T21:10:26.595990Z
       
       2 likes, 0 repeats
       
       @Maholmire @emma > You're going to have a nasty time.Nothing against the tooling, I've done it before, but imo you need some bumper rails on this bowling lane
       
 (DIR) Post #AY8E9ivk6hnMuPRUzA by i@declin.eu
       2023-07-27T21:10:30.978486Z
       
       1 likes, 0 repeats
       
       @pwm @Maholmire @emma or at least libvirt if you don't know what you're doing
       
 (DIR) Post #AY8EH5JxG46sNYHH28 by pwm@crlf.ninja
       2023-07-27T21:11:50.554977Z
       
       1 likes, 0 repeats
       
       @i @Maholmire @emma spoiler: he doesn't (yet)I believe we chalk this up as one of many fucking around before quite finding out
       
 (DIR) Post #AY8EOsVglvUCxoTxse by Maholmire@crlf.ninja
       2023-07-27T21:13:14.640514Z
       
       0 likes, 0 repeats
       
       Libvert is just a graphical frontend for KVM lmao. Honestly figured the type of virtual machine wouldn't have mattered much when you had a solid operating system. Most seasoned SysAdmins tend to go for Debian so I thought why not start off with that?
       
 (DIR) Post #AY8EToqVp3xl30Zuoy by pwm@crlf.ninja
       2023-07-27T21:14:08.687818Z
       
       1 likes, 0 repeats
       
       @Maholmire @i proxmox mane, it's debian underneath
       
 (DIR) Post #AY8EYRCNAdNx9d0PbM by pwm@crlf.ninja
       2023-07-27T21:14:57.997549Z
       
       0 likes, 0 repeats
       
       @Maholmire @i though it sounded like you didn't have bare metal to do this on so idk if you want to run proxmox as a vm/ct host inside a vm
       
 (DIR) Post #AY8Eb9vBrZ3eRHGZma by APPTeOORuzvlGOetVY.verita84@poster.place
       2023-07-27T21:15:27.119385Z
       
       1 likes, 0 repeats
       
       @Maholmire @dcc You are supposed to used a Bridged Adapter to ssh into a VMYou are better off going the container route for better perf and save resources
       
 (DIR) Post #AY8EchR2kFz6fZtr7Y by i@declin.eu
       2023-07-27T21:15:45.411045Z
       
       1 likes, 0 repeats
       
       @Maholmire no it's not, it's a generic api that supports many more hypervisors, with cli tools like virt-install and virsh
       
 (DIR) Post #AY8EeJoZXKDvzVg3g8 by dcc@annihilation.social
       2023-07-27T21:15:49.243728Z
       
       0 likes, 0 repeats
       
       @verita84 @Maholmire >Bridged AdapterWhat?
       
 (DIR) Post #AY8EixKOZLD3hJm1cu by i@declin.eu
       2023-07-27T21:16:52.591558Z
       
       1 likes, 0 repeats
       
       @Maholmire crucially, it's going to set up the NAT network you require to actually reach the VMhttps://fabianlee.org/2019/05/26/kvm-creating-a-guest-vm-on-a-nat-network/
       
 (DIR) Post #AY8Ej0fQ9coK3OdMJc by emma@niscii.xyz
       2023-07-27T21:16:52.959Z
       
       2 likes, 0 repeats
       
       @Maholmire@crlf.ninja it's not really comparable then, i just use virtualbox ​:hypercat:​ it works great and very easy to usei used docker once when i was trying to host matrix synapse. i got it working but i changed something in the config that borked it, and it wouldn't start. i could never figure out how to go into it and edit the config back to what it was when the docker wasnt able to start ​:apudrool:​
       
 (DIR) Post #AY8F3UtrSUyPbx9p8y by Maholmire@crlf.ninja
       2023-07-27T21:20:34.782708Z
       
       0 likes, 0 repeats
       
       I don't for the time being, though I do eventually plan on running a physical server of my own at some point.
       
 (DIR) Post #AY8FEubaEB2AWI3Dwu by pernia@freespeechextremist.com
       2023-07-27T21:22:40.642351Z
       
       1 likes, 0 repeats
       
       @emma @Maholmire docker is BULLSHIT
       
 (DIR) Post #AY8Fy0DqBrNOyKRk7k by Maholmire@crlf.ninja
       2023-07-27T21:30:47.190985Z
       
       1 likes, 0 repeats
       
       I’unno, I haven’t gotten around to familiarizing myself entirely with the toolset. Though you probably could probably mess around in and learn how to use one through stuff like Distrobox which makes container management far more accessible and noob-friendly through their set of shell scripts. It pretty much uses Podman and Docker as a backend to simplify a lot of the complexities of using either toolset by designing simple commands that are both easy enough to use while doing a lot of the heavy lifting by leveraging the functionalities provided by both.Would recommend that you give it a try if you haven’t already, as I can guarantee you that it is simple and intuitive enough for even you to be able to easily spin up a container and use it as an extension of your host system.
       
 (DIR) Post #AY8GGldadk0XEyREDw by APPTeOORuzvlGOetVY.verita84@poster.place
       2023-07-27T21:34:09.409939Z
       
       0 likes, 0 repeats
       
       @dcc @Maholmire Basically convert your Ethernet adapter to a bridge so VM's can use it to get real IP address on your main  network "A bridge bridges the gap" :seinfeld:
       
 (DIR) Post #AY8GXjoGgld4UjWbvE by emma@niscii.xyz
       2023-07-27T21:37:14.834Z
       
       0 likes, 0 repeats
       
       @Maholmire@crlf.ninja idk man. im fine with using the easy stuff. but if i absolutely must use a docker image for something i will take a look
       
 (DIR) Post #AY8Gb16Mr1j4zeYQoi by APPTeOORuzvlGOetVY.verita84@poster.place
       2023-07-27T21:37:50.569734Z
       
       1 likes, 0 repeats
       
       @Maholmire @emma Containers are still shit because you don't have systemD to start and stop  everything properly. Distrobox or toolbox won't make life easier.  You still need lots of engineering to start and stop and manage things properly
       
 (DIR) Post #AY8Glhm53KRQEjA5k8 by Maholmire@crlf.ninja
       2023-07-27T21:39:46.874770Z
       
       1 likes, 0 repeats
       
       Absolutely boggles the mind that I both have functioning connectivity to the internet and borked SSH on the virtual machine @verita84. Believe me when I say though @emma that Distrobox is quite literally the sort of easy stuff you've been coasting by on so far. It's a pretty solid introduction to containerization that I would definitely recommend people try out at least once at some point.
       
 (DIR) Post #AY8GutU2t6hP9r6jlg by APPTeOORuzvlGOetVY.verita84@poster.place
       2023-07-27T21:41:26.449932Z
       
       1 likes, 0 repeats
       
       @Maholmire @emma @emma Ok , that's true but you will waste more time with containers than it's worth. They were designed to run single applications and then everyone turned them into VM's
       
 (DIR) Post #AY8Gw1JrEy8tkWsabg by Maholmire@crlf.ninja
       2023-07-27T21:41:37.719091Z
       
       1 likes, 0 repeats
       
       You can get systemd to work inside a container with some finagling as far as I know. Something that Linux users are certainly no strange to by now.
       
 (DIR) Post #AY8H3gWMS5NfYrNmXg by APPTeOORuzvlGOetVY.verita84@poster.place
       2023-07-27T21:43:03.176504Z
       
       0 likes, 0 repeats
       
       @Maholmire Life is just easier with a vm at that point. I used to be a big container guy .. even made an open source project to compete with kubernetes...even worked for a container company... They are mostly a waste of time
       
 (DIR) Post #AY8H4E7jW9snmK7asK by Maholmire@crlf.ninja
       2023-07-27T21:43:07.653256Z
       
       1 likes, 0 repeats
       
       I just see them as fancy jails for the most part. Though if I do ever get around to self-hosting my own software, I'll probably end up using them for that intended purpose.
       
 (DIR) Post #AY8H4lCUXUIUMdbMNE by gray@ryona.agency
       2023-07-27T21:42:55.299097Z
       
       1 likes, 0 repeats
       
       @verita84 @Maholmire @emma @emma yeah when i had my Proxmox server I was using Alpine linux containers for light single tasks. Proxmox makes it really easy to set up if you want a headless virtualization server.
       
 (DIR) Post #AY8HAAY1j3ZgQRFmwy by APPTeOORuzvlGOetVY.verita84@poster.place
       2023-07-27T21:44:13.485717Z
       
       0 likes, 0 repeats
       
       @gray @Maholmire @emma @emma Now we have cockpit which is supposed to replace virt-manager and that sucks. Never tried proxmox yet
       
 (DIR) Post #AY8HFkPTooKD67uqfI by APPTeOORuzvlGOetVY.verita84@poster.place
       2023-07-27T21:45:13.990385Z
       
       0 likes, 0 repeats
       
       @Maholmire Good luck. I did that for years and finally left containers. Make sure you know bash well so you can handle all the start and stop scenarios
       
 (DIR) Post #AY8HI7DA0yocOUHaN6 by gray@ryona.agency
       2023-07-27T21:45:18.237851Z
       
       1 likes, 0 repeats
       
       @verita84 @Maholmire @emma @emma Proxomxo is comfy because its Debian underneath but the webui is really easy to use and configure.They also provide a lot of turnkey containers.