Have a pixelated bonfire to warm your night. (Image size is ~ 19KiB.)

Nothing too shabby, but still. To run it you need docker, and after that just type

docker run -it --rm --log-driver none --read-only --net none --cap-drop=ALL --security-opt=no-new-privileges defnotgustavom/pixfire4

…and you will be greeted with a little, small, very pixelated bonfire.

“Why docker and not just a simple command?”

Mostly because of those two flags: --read-only and –net none. Can’t get better than this. :^)

This also came up while in a self-learning process, but I don’t want to “flex” it here.

QuazarOmega,

Doesn’t work with podman (on my machine at least), any suggestions?


<span style="color:#323232;">Error: copying system image from manifest list: writing blob: adding layer with blob "sha256:f1c0eb6f4ccdca4b72528f451baf6f4027f4b0965396bc4d885e27fd58cba771": processing tar file(potentially insufficient UIDs or GIDs available in user namespace (requested 151413:12311 for /bin): Check /etc/subuid and /etc/subgid if configured locally and run "podman system migrate": lchown /bin: invalid argument): exit status 1
</span>
GustavoM,
@GustavoM@lemmy.world avatar

Did you tried running it as another user? I’ve set binary ownership via chmod to the non-root user in the container.

QuazarOmega, (edited )

I’ll try that, I also read around that I could increase my UID namespace range (not that I understand what it means 🫣), so I’ll try that too

Edit: Now I half understand after reading these:

  1. github.com/containers/podman/issues/12715
  2. docs.podman.io/en/latest/markdown/podman.1.html#r…

3.https://github.com/containers/podman/blob/main/docs/tutorials/rootless_tutorial.md#etcsubuid-and-etcsubgid-configuration

4.https://opensource.com/article/19/2/how-does-rootless-podman-work

  1. github.com/containers/podman/issues/2542#issuecom…
QuazarOmega, (edited )

Tried with another user and it works, looks really cool btw!

Any way to quit gracefully though?
I tried both Ctrl+C and Ctrl+Z but it just ignores the signals, I could only resort to killing it

gomp,

Wow! This is almost as useful as neofetch ;-)

Helix,

cba, can you upload a gif?

JetpackJackson,

What does “cba” mean

jmd_akbar,

Cba = “Can’t be arsed”

JetpackJackson,

Thanks!

hersh,

Can’t be arsed.

It means you don’t care to put in the effort required.

dictionary.cambridge.org/dictionary/…/arsed

JetpackJackson,

Thank you!

QuazarOmega,
Helix,

Nice, thanks.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #