this post was submitted on 03 Feb 2024
606 points (95.5% liked)

linuxmemes

21313 readers
455 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    founded 1 year ago
    MODERATORS
     

    Next evolution, just a one line bash script.

    you are viewing a single comment's thread
    view the rest of the comments
    [–] Crow 27 points 9 months ago (1 children)

    It’s because I’ve seen What people can do with a simple docker container that I completely agree. It’s too nice to go back.

    [–] fireflash38 8 points 9 months ago (2 children)

    I'd agree more if most docker stuff didn't depend on running as root.

    [–] [email protected] 17 points 9 months ago (1 children)

    I think your looking for podman

    [–] platypus_plumba 7 points 9 months ago* (last edited 9 months ago) (1 children)

    yeha, but the big projects like linuxserver.io love creating docker images with root access, even if people have warned them it is an awful security practice. I rewrote all of their images in a personal repo, screw that. I won't run shit as root in my machine, even in containers.

    [–] [email protected] 10 points 9 months ago (2 children)

    Ah to be young and have that kind of energy... Enjoy it!

    [–] Im_old 6 points 9 months ago
    [–] brophy 7 points 9 months ago (1 children)

    There's rootless docker, or podman, or numerous other container runtimes. The beauty in containers is separating concerns. How you choose to run it, root or rootless, is up to you in all but the nichest of scenarios.

    [–] [email protected] 3 points 9 months ago

    Rootful docker and rootless docker can be run at the same time on the same machine too. So projects that require root privileges can still work on a machine where most other projects run as rootless.