pieceofthepie,
@pieceofthepie@n8e.dev avatar

Been battling to get working with rootless all evening and aren't having much luck. Boo to overly complex things.

It's so close to working well but the whole uid/gid mapping thing just falls apart when the container starts running things as different users. All of a sudden there're large parts of my source tree that I can't edit, not to mention being unable to use artisan make tools.

Nitrousoxide,
@Nitrousoxide@mastodon.world avatar

@pieceofthepie
There's a few potential ways to handle userns issues.
The most straighforward one that usually solves it all is to just run the userns as keep-id
https://docs.podman.io/en/latest/markdown/podman-run.1.html#userns-mode

if you do want to keep to seperate uid spaces there's uidmap which gives you a lot of control
https://docs.podman.io/en/latest/markdown/podman-run.1.html#uidmap-flags-container-uid-from-uid-amount

pieceofthepie,
@pieceofthepie@n8e.dev avatar

@Nitrousoxide I ended up going with that first one, but only after I'd moved away from since it was doing something that would stop keep-id from working.

All good now.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • Laravel
  • PowerRangers
  • magazineikmin
  • mdbf
  • khanakhh
  • GTA5RPClips
  • Youngstown
  • ethstaker
  • slotface
  • ngwrru68w68
  • rosin
  • osvaldo12
  • kavyap
  • thenastyranch
  • DreamBathrooms
  • anitta
  • Durango
  • modclub
  • cisconetworking
  • tacticalgear
  • everett
  • cubers
  • InstantRegret
  • vwfavf
  • normalnudes
  • Leos
  • tester
  • provamag3
  • megavids
  • All magazines