Skip to content
  • Hjem
  • Seneste
  • Etiketter
  • Populære
  • Verden
  • Bruger
  • Grupper
Temaer
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Kollaps
FARVEL BIG TECH
  1. Forside
  2. Ikke-kategoriseret
  3. Running Podman in production for years now, and I don't miss the Docker daemon one bit.

Running Podman in production for years now, and I don't miss the Docker daemon one bit.

Planlagt Fastgjort Låst Flyttet Ikke-kategoriseret
podmanlinuxdevopssystemdhomelab
35 Indlæg 21 Posters 1 Visninger
  • Ældste til nyeste
  • Nyeste til ældste
  • Most Votes
Svar
  • Svar som emne
Login for at svare
Denne tråd er blevet slettet. Kun brugere med emne behandlings privilegier kan se den.
  • larvitz@burningboard.netL larvitz@burningboard.net

    Running Podman in production for years now, and I don't miss the Docker daemon one bit.

    I just published a deep dive on managing OCI containers the Unix way: daemonless, rootless, and natively integrated with systemd via Quadlets.

    I cover:
    - Real secrets management
    - Auto-updates via systemd timers
    - The Docker compatibility layer

    This is the guide I wish I had when making the switch.

    Read it here: https://blog.hofstede.it/podman-in-production-quadlets-secrets-auto-updates-and-docker-compatibility/

    #Podman #Linux #DevOps #Systemd #Homelab #Sysadmin #Containers

    slash909uk@mastodon.me.ukS This user is from outside of this forum
    slash909uk@mastodon.me.ukS This user is from outside of this forum
    slash909uk@mastodon.me.uk
    wrote sidst redigeret af
    #23

    @Larvitz nice!

    I am halfway with podman; still have compose files launched from systemd units that I write myself - they are all basically identical except the home directory setting 🙂

    I deliberately use compose start only, not run. I do not want restarts to be messing about pulling new images when I dont expect it!

    Is there an equivalent to quadlets for alternative init tools? I would not want to lock myself into systemd right now 😁 seriousky looking at BSD.

    larvitz@burningboard.netL 1 Reply Last reply
    0
    • slash909uk@mastodon.me.ukS slash909uk@mastodon.me.uk

      @Larvitz nice!

      I am halfway with podman; still have compose files launched from systemd units that I write myself - they are all basically identical except the home directory setting 🙂

      I deliberately use compose start only, not run. I do not want restarts to be messing about pulling new images when I dont expect it!

      Is there an equivalent to quadlets for alternative init tools? I would not want to lock myself into systemd right now 😁 seriousky looking at BSD.

      larvitz@burningboard.netL This user is from outside of this forum
      larvitz@burningboard.netL This user is from outside of this forum
      larvitz@burningboard.net
      wrote sidst redigeret af
      #24

      @Slash909uk I doin't know of any alternatives. Quadlets are transniently transformed into systemd units by a generator. That's all very systemd specific.

      FreeBSD's Podman port ships with rc.d service scripts already. You enable them with:

      sysrc podman_enable=YES
      service podman start
      sysrc podman_service_enable=YES
      service podman_service start

      Then, containers started with --restart=always will be automatically restarted after a host reboot. Podman's internal restart logic handles this, with the podman service acting as the supervisor. This is the closest equivalent to what quadlets do on Linux.

      slash909uk@mastodon.me.ukS 1 Reply Last reply
      0
      • larvitz@burningboard.netL larvitz@burningboard.net

        @Slash909uk I doin't know of any alternatives. Quadlets are transniently transformed into systemd units by a generator. That's all very systemd specific.

        FreeBSD's Podman port ships with rc.d service scripts already. You enable them with:

        sysrc podman_enable=YES
        service podman start
        sysrc podman_service_enable=YES
        service podman_service start

        Then, containers started with --restart=always will be automatically restarted after a host reboot. Podman's internal restart logic handles this, with the podman service acting as the supervisor. This is the closest equivalent to what quadlets do on Linux.

        slash909uk@mastodon.me.ukS This user is from outside of this forum
        slash909uk@mastodon.me.ukS This user is from outside of this forum
        slash909uk@mastodon.me.uk
        wrote sidst redigeret af
        #25

        @Larvitz thanks, good to know there is BSD support already 👍

        larvitz@burningboard.netL 1 Reply Last reply
        0
        • larvitz@burningboard.netL larvitz@burningboard.net

          Running Podman in production for years now, and I don't miss the Docker daemon one bit.

          I just published a deep dive on managing OCI containers the Unix way: daemonless, rootless, and natively integrated with systemd via Quadlets.

          I cover:
          - Real secrets management
          - Auto-updates via systemd timers
          - The Docker compatibility layer

          This is the guide I wish I had when making the switch.

          Read it here: https://blog.hofstede.it/podman-in-production-quadlets-secrets-auto-updates-and-docker-compatibility/

          #Podman #Linux #DevOps #Systemd #Homelab #Sysadmin #Containers

          arouene@mastodon.socialA This user is from outside of this forum
          arouene@mastodon.socialA This user is from outside of this forum
          arouene@mastodon.social
          wrote sidst redigeret af
          #26

          @Larvitz Thanks for this great guide! I’m also a heavy user of
          podman since years, and it's my number one solution for deploying services.

          I had a question about the pod-in-pod deployment of forgejo / traefik,
          giving access to the docker.socket allows thoses pods to create pods, but then
          it can create privileged pods which mount the root volume of the host, right?
          Even with the NoNewPrivileges arg?

          Is there a way to control what a pod having access to the docker.socket can
          create?

          1 Reply Last reply
          0
          • slash909uk@mastodon.me.ukS slash909uk@mastodon.me.uk

            @Larvitz thanks, good to know there is BSD support already 👍

            larvitz@burningboard.netL This user is from outside of this forum
            larvitz@burningboard.netL This user is from outside of this forum
            larvitz@burningboard.net
            wrote sidst redigeret af
            #27

            @Slash909uk

            https://burningboard.net/@Larvitz/116357824557155636

            🙂

            1 Reply Last reply
            0
            • larvitz@burningboard.netL larvitz@burningboard.net

              Running Podman in production for years now, and I don't miss the Docker daemon one bit.

              I just published a deep dive on managing OCI containers the Unix way: daemonless, rootless, and natively integrated with systemd via Quadlets.

              I cover:
              - Real secrets management
              - Auto-updates via systemd timers
              - The Docker compatibility layer

              This is the guide I wish I had when making the switch.

              Read it here: https://blog.hofstede.it/podman-in-production-quadlets-secrets-auto-updates-and-docker-compatibility/

              #Podman #Linux #DevOps #Systemd #Homelab #Sysadmin #Containers

              oliv@toot.iopush.netO This user is from outside of this forum
              oliv@toot.iopush.netO This user is from outside of this forum
              oliv@toot.iopush.net
              wrote sidst redigeret af
              #28

              @Larvitz thanks. I never took the time to explore Podman, I think I will do it in close future thanks to your nice article 👍

              1 Reply Last reply
              0
              • larvitz@burningboard.netL larvitz@burningboard.net

                Running Podman in production for years now, and I don't miss the Docker daemon one bit.

                I just published a deep dive on managing OCI containers the Unix way: daemonless, rootless, and natively integrated with systemd via Quadlets.

                I cover:
                - Real secrets management
                - Auto-updates via systemd timers
                - The Docker compatibility layer

                This is the guide I wish I had when making the switch.

                Read it here: https://blog.hofstede.it/podman-in-production-quadlets-secrets-auto-updates-and-docker-compatibility/

                #Podman #Linux #DevOps #Systemd #Homelab #Sysadmin #Containers

                svenhennessen@mastodon.socialS This user is from outside of this forum
                svenhennessen@mastodon.socialS This user is from outside of this forum
                svenhennessen@mastodon.social
                wrote sidst redigeret af
                #29

                @Larvitz We are using podman for a year now as a local Docker replacement for developing distributed apps (.NET, Postgres, MSSQL, Kafka, etc.) on MacOS/Windows. The early quirks are gone, several months now without an issue.

                larvitz@burningboard.netL 1 Reply Last reply
                0
                • svenhennessen@mastodon.socialS svenhennessen@mastodon.social

                  @Larvitz We are using podman for a year now as a local Docker replacement for developing distributed apps (.NET, Postgres, MSSQL, Kafka, etc.) on MacOS/Windows. The early quirks are gone, several months now without an issue.

                  larvitz@burningboard.netL This user is from outside of this forum
                  larvitz@burningboard.netL This user is from outside of this forum
                  larvitz@burningboard.net
                  wrote sidst redigeret af
                  #30

                  @svenhennessen awesome! I use it to run production workloads on my linux server (forgejo, Nextcloud, Keycloak etc.). Worked for the last 4 years without any issue.

                  1 Reply Last reply
                  0
                  • larvitz@burningboard.netL larvitz@burningboard.net

                    Running Podman in production for years now, and I don't miss the Docker daemon one bit.

                    I just published a deep dive on managing OCI containers the Unix way: daemonless, rootless, and natively integrated with systemd via Quadlets.

                    I cover:
                    - Real secrets management
                    - Auto-updates via systemd timers
                    - The Docker compatibility layer

                    This is the guide I wish I had when making the switch.

                    Read it here: https://blog.hofstede.it/podman-in-production-quadlets-secrets-auto-updates-and-docker-compatibility/

                    #Podman #Linux #DevOps #Systemd #Homelab #Sysadmin #Containers

                    bexelbie@toot.ioB This user is from outside of this forum
                    bexelbie@toot.ioB This user is from outside of this forum
                    bexelbie@toot.io
                    wrote sidst redigeret af
                    #31

                    @Larvitz I use podman for all my unorchestrated containers. Love it. How we I’ve stayed away from podman secrets as they used to be written to disk in plaintext. Did that get fixed?

                    larvitz@burningboard.netL 1 Reply Last reply
                    0
                    • bexelbie@toot.ioB bexelbie@toot.io

                      @Larvitz I use podman for all my unorchestrated containers. Love it. How we I’ve stayed away from podman secrets as they used to be written to disk in plaintext. Did that get fixed?

                      larvitz@burningboard.netL This user is from outside of this forum
                      larvitz@burningboard.netL This user is from outside of this forum
                      larvitz@burningboard.net
                      wrote sidst redigeret af
                      #32

                      @bexelbie The secrets (by default) are stored in json files under /var/lib/containers/storage/secrets .. Only protected by the file-system permissions. If you want them to be encrypted at rest, you could use something like OpenBao (OSS fork of Hashicorp Vault)

                      1 Reply Last reply
                      0
                      • larvitz@burningboard.netL larvitz@burningboard.net

                        Running Podman in production for years now, and I don't miss the Docker daemon one bit.

                        I just published a deep dive on managing OCI containers the Unix way: daemonless, rootless, and natively integrated with systemd via Quadlets.

                        I cover:
                        - Real secrets management
                        - Auto-updates via systemd timers
                        - The Docker compatibility layer

                        This is the guide I wish I had when making the switch.

                        Read it here: https://blog.hofstede.it/podman-in-production-quadlets-secrets-auto-updates-and-docker-compatibility/

                        #Podman #Linux #DevOps #Systemd #Homelab #Sysadmin #Containers

                        junicast@chaos.socialJ This user is from outside of this forum
                        junicast@chaos.socialJ This user is from outside of this forum
                        junicast@chaos.social
                        wrote sidst redigeret af
                        #33

                        @Larvitz I have been running podman in production for years as well and I must say what an excellent documentation that is. I didn't know about quadlets but I will integrate it into my Ansible workflow for sure.

                        1 Reply Last reply
                        0
                        • larvitz@burningboard.netL larvitz@burningboard.net

                          Running Podman in production for years now, and I don't miss the Docker daemon one bit.

                          I just published a deep dive on managing OCI containers the Unix way: daemonless, rootless, and natively integrated with systemd via Quadlets.

                          I cover:
                          - Real secrets management
                          - Auto-updates via systemd timers
                          - The Docker compatibility layer

                          This is the guide I wish I had when making the switch.

                          Read it here: https://blog.hofstede.it/podman-in-production-quadlets-secrets-auto-updates-and-docker-compatibility/

                          #Podman #Linux #DevOps #Systemd #Homelab #Sysadmin #Containers

                          morl99@hessen.socialM This user is from outside of this forum
                          morl99@hessen.socialM This user is from outside of this forum
                          morl99@hessen.social
                          wrote sidst redigeret af
                          #34

                          @Larvitz great guide! I am not buying the recommendation on using Docker Desktop on Mac though. I have been using Podman Desktop for the last year and I just think it's great. I really have no reason to go back to Docker for this.

                          1 Reply Last reply
                          0
                          • larvitz@burningboard.netL larvitz@burningboard.net

                            Running Podman in production for years now, and I don't miss the Docker daemon one bit.

                            I just published a deep dive on managing OCI containers the Unix way: daemonless, rootless, and natively integrated with systemd via Quadlets.

                            I cover:
                            - Real secrets management
                            - Auto-updates via systemd timers
                            - The Docker compatibility layer

                            This is the guide I wish I had when making the switch.

                            Read it here: https://blog.hofstede.it/podman-in-production-quadlets-secrets-auto-updates-and-docker-compatibility/

                            #Podman #Linux #DevOps #Systemd #Homelab #Sysadmin #Containers

                            reynir@social.data.coopR This user is from outside of this forum
                            reynir@social.data.coopR This user is from outside of this forum
                            reynir@social.data.coop
                            wrote sidst redigeret af
                            #35

                            @Larvitz hi! Thanks for sharing. FYI in your article you use '’' (U+2019 "Right Single Quotation Mark") for apostrophes in e.g. »isn’t« and this confuses my screenreader (thankfully I am sighted).

                            1 Reply Last reply
                            0
                            Svar
                            • Svar som emne
                            Login for at svare
                            • Ældste til nyeste
                            • Nyeste til ældste
                            • Most Votes


                            • Log ind

                            • Har du ikke en konto? Tilmeld

                            • Login or register to search.
                            Powered by NodeBB Contributors
                            Graciously hosted by data.coop
                            • First post
                              Last post
                            0
                            • Hjem
                            • Seneste
                            • Etiketter
                            • Populære
                            • Verden
                            • Bruger
                            • Grupper