@Dirk@lemmy.ml
@Dirk@lemmy.ml avatar

Dirk

@Dirk@lemmy.ml

Somewhere between Linux woes, gaming, open source, 3D printing, recreational coding, and occasional ranting.

🔗 Me, but elsewhere

🇬🇧 / 🇩🇪

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Dirk,
@Dirk@lemmy.ml avatar

I just installed it and never changed any permissions. Maybe you confuse it with AppImage?

Dirk, (edited )
@Dirk@lemmy.ml avatar

I remember years ago it already was like this in the forums. It actually made me stop using it and running a custom made web based reader for some time.

I wouldn’t use it anymore nowadays.

FreshRSS is the way to go. It even has plugins (and a plugin for YouTube channels as RSS feeds, very convenient).

Dirk,
@Dirk@lemmy.ml avatar

Yes. The Microsoft standard. Like the Windows key on all keyboards nowadays.

Dirk,
@Dirk@lemmy.ml avatar

You don’t need to create the user first. Here’s the simplest I can come up with:


<span style="color:#323232;">FROM alpine:latest
</span><span style="color:#323232;">COPY myscript.sh /app/myscript.sh
</span><span style="color:#323232;">USER 10000:10001
</span><span style="color:#323232;">CMD ["sh", "/app/myscript.sh"]
</span>

This simply runs /app/myscript.sh with UID 10000 and GID 10001.

Dirk,
@Dirk@lemmy.ml avatar

This is really dependent on […]

… basically anything. Yes. You will always find yourself in problems where the best practice isn’t the best solution for.

In your described use case an option would be having the application inside the container running with 10000:10001 but writing the data into another directory that is configured to use 1000:1001 (or whatever the user is you want to access the data with from your host) and just mount the volume there. This takes a bit more configuration effort than just running the application with 1000:1001 … but still :)

Dirk,
@Dirk@lemmy.ml avatar

Yep! The names are basically just a convenient way for referencing a user or group ID.

Under normal circumstances you should let the system decide what IDs to use, but in the confined environment of a docker container you can do pretty much what you want.

If you really, really, really want to create a user and group just set the IDs manually:


<span style="color:#323232;">FROM alpine:latest
</span><span style="color:#323232;">COPY myscript.sh /app/myscript.sh
</span><span style="color:#323232;">RUN addgroup -g 10001 mycoolgroup && adduser -D -u 10000 -G mycoolgroup mycooluser
</span><span style="color:#323232;">USER mycooluser:mycoolgroup
</span><span style="color:#323232;">CMD ["sh", "/app/myscript.sh"]
</span>

Just make sure to stay at or above 10000 so you won’t accidentally re-use IDs that are already defined on the host.

Dirk,
@Dirk@lemmy.ml avatar

Because the politicians are deep up in the automobile lobby’s ass.

Dirk, (edited )
@Dirk@lemmy.ml avatar

yay is just a helper. If you don’t use a helper the installation is done with pacman -U packagename.pkg.tar.xz.

Edit: aaah. Got it.

Dirk,
@Dirk@lemmy.ml avatar

I’m sorry for you. Now finish up my coffee order, I have work to do!

Dirk,
@Dirk@lemmy.ml avatar

They just took a crappy 3rd-party mobile remaster and made it runnable on PC.

Dirk,
@Dirk@lemmy.ml avatar

I just hope they don’t use CSDs and let the window manager fully manage the windows.

Dirk,
@Dirk@lemmy.ml avatar

Its in the paperwork for your SIM card or for your phone. Both is stored with other paperwork either in a file cabinet or a filing folder.

Dirk,
@Dirk@lemmy.ml avatar

Ad the app is just an ugly wrapper around Chrome custom tab.

Dirk,
@Dirk@lemmy.ml avatar

Scientists of culture! So we meet again!

Dirk,
@Dirk@lemmy.ml avatar

So we’re posting ancient memes again?

Dirk,
@Dirk@lemmy.ml avatar

“No, I have not. I do not categorize days in good or not good days. All days are the same shit, but on some days I care a little less.”

Hyprland is a toxic community (drewdevault.com)

Hyprland is an open source Wayland compositor based on wlroots, a project I started back in 2017 to make it easier to build good Wayland compositors. It’s a project which is loved by its users for its emphasis on customization and “eye candy” – beautiful graphics and animations, each configuration tailored to the unique...

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #