So, I’ve been messing around with getting ‘dnf’ (the package manager) working inside an ‘f1’ (Fedora) container. It’s kinda like putting a box inside a box, but with software. Here’s how it went down:
First, I pulled the latest Fedora image. I just wanted a clean slate to start with. Nothing fancy, just the basic operating system.

Setting Up the Container
- I ran the container, giving it a name so I could find it easily later. I also set it up so I could get a terminal inside, you know, to actually do stuff.
- Once I was inside, I tried running ‘dnf’ just to see what would happen. Of Course, no surprise, I needed root.
Installing dnf
- I installed ‘dnf’ using… well, ‘dnf’. It’s kinda meta, right? Installing a package manager with a package manager.
- After that, ‘dnf’ was working! I could use it to install other stuff inside the container.
Using dnf inside the f1
This is where I could start actually building things.
- I used ‘dnf’ to install whatever I needed for my project.
- Because it’s all inside a container, it’s isolated. I don’t have to worry about messing up my main system.
Cleaning Up
When I’m done, I can just stop and remove the container. It’s like it never happened. No leftover files, no weird configurations. Super clean.
So, that’s basically it. It’s not rocket science, but it’s a neat way to keep things tidy and organized. I like using containers because I can experiment without breaking anything important.