Brainstorming "Out Loud"

TL:DR: I want to branstorm publicly haha
31 Replies
Nathaniel
NathanielOP•16mo ago
How do we encourage users to think in containers? We need guides on how to switch a normal workflow from just installing packages, to deciding and planning ahead on where those packages make sense. Examples: Workflow 1: layer something. Workflow 2: install Nix packages. Workflow 3: install Dev softwsre in Fedora container. Workflow 4: Gaming in an Arch container. Workflow 5: coming from a Debian based distro? Install and export from Ubuntu container. What gotchas are there with these approaches? Why would you choose one over another? What is the best way to deploy the exact same configuration across multiple personal machines? How do we get the average desktop user doing this? Can just and fleek be used to make really easy to reproduce builds like what NixOs offers? One file, one configuration? Gui tools and scripts are our friends. There's a reason Emudeck is so appealing. Pain points I've encountered are: How to/ should you: keep a container pinned in a known good state? Gtk errors from containerized apps when trying to launch. Need to tweak/ set up xdg open, and/or allow better cross talk between apps. Click on link to open browser usually doesn't work with my current setup. We need switching from non Linux, and switching from traditional Linux docs. Can/ do distrobox containers create snapshots on updates too? Should a container/VM first approach be standardized? How do these new approaches affect running local servers/ self hosting? What about remote desktop/ management software, how is this affected on an ostree system?
Bigpod
Bigpod•16mo ago
How to deploy exact same config simple makr custom image and move as much as you can into it, if you are using distrobox prebuild a container
Lina
Lina•16mo ago
gnome has excellent builtin RDP. gnome connections is also a decent app that's available for interfacing with RDP hosts may i share some thoughts on the questions above?
Nathaniel
NathanielOP•16mo ago
Go right ahead, that's what this is for! 🙂
Lina
Lina•16mo ago
what should be emphasised is the customisation aspect while still retaining reliability and stability the quote unquote gitops approach
Lina
Lina•16mo ago
instead of editing your root system directly you make a fork on github and create an image of your own. in the same manner people should be encouraged to create dev/cli environments using the same infrastructure-as-code methodology. an example: https://github.com/castrojo/wolfikit
GitHub
GitHub - castrojo/wolfikit: A blingier starting image for Toolbx an...
A blingier starting image for Toolbx and Distrobox. - GitHub - castrojo/wolfikit: A blingier starting image for Toolbx and Distrobox.
Lina
Lina•16mo ago
so basically you create your own distrobox upload it on github as a container image and do docker pull ghcr.io/image or whatever the distrobox equivalent is so to get people thinking in containers they need to get used to infrastructure as code and github deployment of their environments. the advantages of this approach should be made readily apparent through propaganda simple to understand documentation the linux experiment definitely missed out on this
Nathaniel
NathanielOP•16mo ago
What about offline backups? I know it's possible to self host git solutions. What about doing the same process, but instead of backing up to Github, it goes to a drive on your desk?
Bigpod
Bigpod•16mo ago
you can have your own self hosted git, you can host your own container registry...
Lina
Lina•16mo ago
the perk of using github here is using their infrastructure for building the image (automatically every day) and hosting the package for you. there's nothing that stops anyone from building their ublue fork/distrobox container locally with buildah. it's just way more convenient on github
Bigpod
Bigpod•16mo ago
its all selfhostable but great thing about github is its all accessable wherever you i have backup of everything in my personal instance of gitlab and my own registry
Nathaniel
NathanielOP•16mo ago
Oh believe me, I love offsite backups. I'm just thinking about barriers to entry.
Bigpod
Bigpod•16mo ago
github has least barrier to entry honestly github makes it easy to automate
Nathaniel
NathanielOP•16mo ago
It does, it's still foreign to a lot of users though. I'm thinking long, long term, it might make sense to have a deja dup like tool, but for backing up your images. I want people who've never used Linux before to switch to Ublue.
Bigpod
Bigpod•16mo ago
you dont really backup images there is no such thing we should make better generation of images tools but images are for all intents and purposes disposable pieces important bits are in /var and /etc
Nathaniel
NathanielOP•16mo ago
Okay, I see your point. I was using backup in the broader sense of, I have a copy of a desired file or files, stored somewhere safe where I can retrieve or reproduce it.
Lina
Lina•16mo ago
if the problem here is "what if github goes away" then there could be a graphical app made for startingpoint similar to the web installer (https://github.com/orgs/ublue-os/discussions/173) that allows you to build images locally
GitHub
Showcase: Custom image creation wizard. :sparkles: UX :sparkles: · ...
Introduction I originally made create-ublue-image as a way for people (me) to easily and properly set up a repo for building a custom image (based on startingpoint). I always thought that a shell s...
Nathaniel
NathanielOP•16mo ago
The problems are, yes, what if Github goes away, what if I have to work offline for security reasons, what if I'm new and Github scares me. Lol That last one is more aimed at the person who's never used Linux crowd.
Lina
Lina•16mo ago
what if I'm new and Github scares me
welllllll
Nathaniel
NathanielOP•16mo ago
Lol My larger point is that if we provide simple education and more automatic tools, we might be able to make computers less scary for everyone.
Lina
Lina•16mo ago
if you have intentions to customise your setup beyond what ublue/main would provide you'll have to learn a thing or two. similar to how if youre gonna do a cool minimal hacker i3wm/sway/whateverwm setup youre gonna have to learn how to install a minimal system (arch) then build your desktop on top of that like, if you need customisation beyond what gnome/kde already provide (which is a lot, you can do a lot with extensions), or you need an unorthodox package where distrobox would no longer suffice, youll need to learn how to do things the cloud-native way im not saying git gud but um
Nathaniel
NathanielOP•16mo ago
Right, I'm just thinking of ways to make it easier for people to git gud lol That's really cool, how does that work? Rather than, I have to figure out how this works so I can see whether it's cool or not.
Lina
Lina•16mo ago
sounds kind of exactly what the web image creator does "kind of exactly" but yeah i agree there should be more of these sorts of apps an app to build such an image locally without relying on github a simple containerfile editor for creating a personal distrobox for you to build and use
Nathaniel
NathanielOP•16mo ago
Yep, and yep.
Lina
Lina•16mo ago
i should get into gtk development...
a simple containerfile editor for creating a personal distrobox for you to build and use
this could also integrate within a "cloud native" terminal like the one ubuntu is making like you press + and theres a dropdown list of available toolbx images and then a Build Your Own! button
Nathaniel
NathanielOP•16mo ago
Kind of like what Gnome Boxes does, but not for VMs
Lina
Lina•16mo ago
kind of! yeah like a list of available distributions and a "use your own .iso" but instead of use your own .iso it's "let's go through a wizard that'll make your own custom container image"
Nathaniel
NathanielOP•16mo ago
I'm picking up what you're putting down. 🤔
Lina
Lina•16mo ago
and then at the end of the wizard there could be a "upload me to github" button that'll set up a repo and the github action build process
Bigpod
Bigpod•16mo ago
there has always been a need to make a nice UI for people to select pacakges and get a git repo out of it problem is if we go any further with building and storing we would need for more resources which means money
Nathaniel
NathanielOP•16mo ago
I'm not suggesting we store it for them.
Want results from more Discord servers?
Add your server