• Avid Amoeba
    link
    fedilink
    arrow-up
    53
    ·
    edit-2
    7 months ago

    Whenever you get bored:

    ~$ sudo docker run -it --rm archlinux bash
    [root@5452124778b3 /]# pacman -Syu
    :: Synchronizing package databases...
     core downloading...
     extra downloading...
    :: Starting full system upgrade...
    resolving dependencies...
    
      • anonono@lemmy.world
        link
        fedilink
        arrow-up
        2
        arrow-down
        1
        ·
        7 months ago

        this coming from someone who used podman for years for hours for development every day.

        podman is cancer, it’s way better to use docker rootless.

        podman will break if you sneeze at it, and the only recourse you will find in github is to podman system reset which stinks of bad programming.

        docker rootless never breaks, podman may die if you cancel a download because the devs were either inexperienced or bad and instead of protecting the state with atomic filesystem operations they leave dirty files in working directories which make it fail in random and unexpected ways.

    • 🦄🦄🦄@feddit.de
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      7 months ago

      Wait…is that all it takes to install arch in a docker container? Does this include a GUI or is it for terminal Haxxorz only?

      • deathmetal27@lemmy.world
        link
        fedilink
        arrow-up
        10
        ·
        7 months ago

        Terminal only. Though in theory you should be able to expose a port to access an X or Wayland session remotely to use a GUI, but I haven’t tried this.

      • Avid Amoeba
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        7 months ago

        Yes. It even pulls the image for you if you don’t have it.