Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • 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
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Selfhosted
  3. GitHub - sergi0g/cup: 🥤Docker container updates made easy

GitHub - sergi0g/cup: 🥤Docker container updates made easy

Scheduled Pinned Locked Moved Selfhosted
selfhosted
21 Posts 15 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E [email protected]

    Why not moving to podman and letting it do its magic?

    A This user is from outside of this forum
    A This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #5

    Question please, how would podman alleviate container update woes?

    exu@feditown.comE 1 Reply Last reply
    0
    • Z [email protected]

      It sucks to migrate to podman if you have been using Docker Compose heavily.

      Also, updating is done with

      docker compose pull
      

      and

      docker compose up -d
      

      every 24h via cronjob

      I This user is from outside of this forum
      I This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #6

      There's a plugin for compose, but podman itself does have some differences here and there. I'm starting to migrate my own stuff as Docker is getting more money hungry. Womder if they'll try to IPO in a few years. Seems like that's what these kinds of companies do after they start to decline from alienating users. Just wish that portainer and docker hadn't killed all the GUIs for docker and swarm was better supported.

      The company i work for has also required us to migrate from Docker as the hub and desktop app are no longer totally free. I expect more and more limitations will show up on the free versions as usually is the case with companies like this.

      N Z 2 Replies Last reply
      2
      • I [email protected]

        There's a plugin for compose, but podman itself does have some differences here and there. I'm starting to migrate my own stuff as Docker is getting more money hungry. Womder if they'll try to IPO in a few years. Seems like that's what these kinds of companies do after they start to decline from alienating users. Just wish that portainer and docker hadn't killed all the GUIs for docker and swarm was better supported.

        The company i work for has also required us to migrate from Docker as the hub and desktop app are no longer totally free. I expect more and more limitations will show up on the free versions as usually is the case with companies like this.

        N This user is from outside of this forum
        N This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #7

        I hate what I'm reading here... But I have already thought about the possible enshitification of docker and docker-compose...

        It really sucks to always have to relearn everything from the beginning... Now that I feel comfortable I have to relearn a new way to keep my homelab up and running.

        Kinda understand how Plex people feel when someone tells them to switch over to jellyfin...Can't wait to see Jellyfin or Arr stack going a similar route 😮‍💨😮‍💨!

        Edit: Similar feeling goes toward Traefik... 😕🫤

        U 1 Reply Last reply
        0
        • A [email protected]

          Question please, how would podman alleviate container update woes?

          exu@feditown.comE This user is from outside of this forum
          exu@feditown.comE This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #8

          https://docs.podman.io/en/latest/markdown/podman-auto-update.1.html

          1 Reply Last reply
          3
          • otters_raft@lemmy.caO [email protected]

            Given that Watchtower is potentially unmaintained now, this might be a cool alternative?

            Screenshot:

            Features from their github:

            • Extremely fast. Cup takes full advantage of your CPU and is hightly optimized, resulting in lightning fast speed. On my Raspberry Pi 5, it took 3.7 seconds for 58 images!
            • Supports most registries, including Docker Hub, ghcr.io, Quay, lscr.io and even Gitea (or derivatives)
            • Doesn't exhaust any rate limits. This is the original reason I created Cup. I feel that this feature is especially relevant now with Docker Hub reducing its pull limits for unauthenticated users.
            • Beautiful CLI and web interface for checking on your containers any time.
            • The binary is tiny! At the time of writing it's just 5.4 MB. No more pulling 100+ MB docker images for a such a simple program.
            • JSON output for both the CLI and web interface so you can connect Cup to integrations. It's easy to parse and makes webhooks and pretty dashboards simple to set up!
            E This user is from outside of this forum
            E This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #9

            Is there anything similar, but for k8s?

            H 1 Reply Last reply
            0
            • E [email protected]

              Is there anything similar, but for k8s?

              H This user is from outside of this forum
              H This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #10

              Similar in which regard? Containers can be covered by this, but I'm assuming you mean for things like charts?

              E 1 Reply Last reply
              0
              • I [email protected]

                There's a plugin for compose, but podman itself does have some differences here and there. I'm starting to migrate my own stuff as Docker is getting more money hungry. Womder if they'll try to IPO in a few years. Seems like that's what these kinds of companies do after they start to decline from alienating users. Just wish that portainer and docker hadn't killed all the GUIs for docker and swarm was better supported.

                The company i work for has also required us to migrate from Docker as the hub and desktop app are no longer totally free. I expect more and more limitations will show up on the free versions as usually is the case with companies like this.

                Z This user is from outside of this forum
                Z This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #11

                Yeah I saw that plugin a few years ago and it was not ready for production yet.

                I am going a whole different route, but have the same motivation: get rid of docker and improve the security.

                I will move from docker compose to Nomad. And I will also not use containers itself anymore. I want/need more security. You can achieve this with MicroVM (Firecracker). However, you would need to build those VM images yourself. But there is a solution to it. Kata-containers. They allow to deploy OCI compliant containers into seperate MicroVM’s. Then you have true isolation from the host kernel, while not losing much of start-up time.

                T 1 Reply Last reply
                0
                • N [email protected]

                  I hate what I'm reading here... But I have already thought about the possible enshitification of docker and docker-compose...

                  It really sucks to always have to relearn everything from the beginning... Now that I feel comfortable I have to relearn a new way to keep my homelab up and running.

                  Kinda understand how Plex people feel when someone tells them to switch over to jellyfin...Can't wait to see Jellyfin or Arr stack going a similar route 😮‍💨😮‍💨!

                  Edit: Similar feeling goes toward Traefik... 😕🫤

                  U This user is from outside of this forum
                  U This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #12

                  Let me stop you right there: the chances of Jellyfin going rogue are much smaller. It's libre software. It's GPL. It's copyleft. We are pretty much safe.

                  N 1 Reply Last reply
                  1
                  • H [email protected]

                    Similar in which regard? Containers can be covered by this, but I'm assuming you mean for things like charts?

                    E This user is from outside of this forum
                    E This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #13

                    Meaning that I get to see my deployment and check if the image is updated.
                    If not, change the deployment image

                    1 Reply Last reply
                    0
                    • otters_raft@lemmy.caO [email protected]

                      Given that Watchtower is potentially unmaintained now, this might be a cool alternative?

                      Screenshot:

                      Features from their github:

                      • Extremely fast. Cup takes full advantage of your CPU and is hightly optimized, resulting in lightning fast speed. On my Raspberry Pi 5, it took 3.7 seconds for 58 images!
                      • Supports most registries, including Docker Hub, ghcr.io, Quay, lscr.io and even Gitea (or derivatives)
                      • Doesn't exhaust any rate limits. This is the original reason I created Cup. I feel that this feature is especially relevant now with Docker Hub reducing its pull limits for unauthenticated users.
                      • Beautiful CLI and web interface for checking on your containers any time.
                      • The binary is tiny! At the time of writing it's just 5.4 MB. No more pulling 100+ MB docker images for a such a simple program.
                      • JSON output for both the CLI and web interface so you can connect Cup to integrations. It's easy to parse and makes webhooks and pretty dashboards simple to set up!
                      jagged_circle@feddit.nlJ This user is from outside of this forum
                      jagged_circle@feddit.nlJ This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #14

                      How does it prevent you from downloading maliciously modified/images?

                      mangopenguin@lemmy.blahaj.zoneM 1 Reply Last reply
                      0
                      • U [email protected]

                        Let me stop you right there: the chances of Jellyfin going rogue are much smaller. It's libre software. It's GPL. It's copyleft. We are pretty much safe.

                        N This user is from outside of this forum
                        N This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #15

                        I really hope you're right 😕 !!

                        1 Reply Last reply
                        0
                        • jagged_circle@feddit.nlJ [email protected]

                          How does it prevent you from downloading maliciously modified/images?

                          mangopenguin@lemmy.blahaj.zoneM This user is from outside of this forum
                          mangopenguin@lemmy.blahaj.zoneM This user is from outside of this forum
                          [email protected]
                          wrote on last edited by [email protected]
                          #16

                          Not really its job, it just shows you updates are available. No docker update manager checks for maliciously modified images.

                          jagged_circle@feddit.nlJ 1 Reply Last reply
                          1
                          • otters_raft@lemmy.caO [email protected]

                            Given that Watchtower is potentially unmaintained now, this might be a cool alternative?

                            Screenshot:

                            Features from their github:

                            • Extremely fast. Cup takes full advantage of your CPU and is hightly optimized, resulting in lightning fast speed. On my Raspberry Pi 5, it took 3.7 seconds for 58 images!
                            • Supports most registries, including Docker Hub, ghcr.io, Quay, lscr.io and even Gitea (or derivatives)
                            • Doesn't exhaust any rate limits. This is the original reason I created Cup. I feel that this feature is especially relevant now with Docker Hub reducing its pull limits for unauthenticated users.
                            • Beautiful CLI and web interface for checking on your containers any time.
                            • The binary is tiny! At the time of writing it's just 5.4 MB. No more pulling 100+ MB docker images for a such a simple program.
                            • JSON output for both the CLI and web interface so you can connect Cup to integrations. It's easy to parse and makes webhooks and pretty dashboards simple to set up!
                            mangopenguin@lemmy.blahaj.zoneM This user is from outside of this forum
                            mangopenguin@lemmy.blahaj.zoneM This user is from outside of this forum
                            [email protected]
                            wrote on last edited by
                            #17

                            Just gave it a try, lovely simple interface!

                            Is it possible to show the container names or compose projects using an image? For example I have ferretdb showing a major update from 1 > 2, but I don't know where that image is used so I can check or update the compose file deploying it.

                            1 Reply Last reply
                            1
                            • otters_raft@lemmy.caO [email protected]

                              Given that Watchtower is potentially unmaintained now, this might be a cool alternative?

                              Screenshot:

                              Features from their github:

                              • Extremely fast. Cup takes full advantage of your CPU and is hightly optimized, resulting in lightning fast speed. On my Raspberry Pi 5, it took 3.7 seconds for 58 images!
                              • Supports most registries, including Docker Hub, ghcr.io, Quay, lscr.io and even Gitea (or derivatives)
                              • Doesn't exhaust any rate limits. This is the original reason I created Cup. I feel that this feature is especially relevant now with Docker Hub reducing its pull limits for unauthenticated users.
                              • Beautiful CLI and web interface for checking on your containers any time.
                              • The binary is tiny! At the time of writing it's just 5.4 MB. No more pulling 100+ MB docker images for a such a simple program.
                              • JSON output for both the CLI and web interface so you can connect Cup to integrations. It's easy to parse and makes webhooks and pretty dashboards simple to set up!
                              irmadlad@lemmy.worldI This user is from outside of this forum
                              irmadlad@lemmy.worldI This user is from outside of this forum
                              [email protected]
                              wrote on last edited by
                              #18

                              I may have to give Cups a try. Watchtower is cool and all, but my issue is this:

                              INFO[35542] Stopping /READECK (1ec5dfc944bc) with SIGTERM 
                              INFO[35543] Creating /READECK                            
                              INFO[35544] Removing image 08fb22cb922b                  
                              INFO[35544] Session done                                  Failed=0 Scanned=34 Updated=2 notify=no
                              INFO[57099] Found new codeberg.org/readeck/readeck:latest image (ed6901bd8a5a) 
                              INFO[57108] Found new ghcr.io/karakeep-app/karakeep:latest image (0513b9703516) 
                              INFO[57133] Stopping /READECK (eed5398e0096) with SIGTERM 
                              INFO[57134] Creating /READECK                            
                              ERRO[57134]** Error response from daemon: the container-wide MAC address must match the endpoint-specific MAC address for the main network**, or be left empty 
                              INFO[57134] Session done 
                              

                              The bold part is where the problem occurs. So when there is an error response from the daemon, it stops all updates to that container, and leaves it deleted. This has happened to me several times, but not always. It does update other containers but sometimes it gets a little wonky and I haven't been able to fix that with anything that I have tried.

                              1 Reply Last reply
                              2
                              • mangopenguin@lemmy.blahaj.zoneM [email protected]

                                Not really its job, it just shows you updates are available. No docker update manager checks for maliciously modified images.

                                jagged_circle@feddit.nlJ This user is from outside of this forum
                                jagged_circle@feddit.nlJ This user is from outside of this forum
                                [email protected]
                                wrote on last edited by
                                #19

                                Why would you expend time and effort building a house ontop of a cesspool?

                                1 Reply Last reply
                                0
                                • Z [email protected]

                                  Yeah I saw that plugin a few years ago and it was not ready for production yet.

                                  I am going a whole different route, but have the same motivation: get rid of docker and improve the security.

                                  I will move from docker compose to Nomad. And I will also not use containers itself anymore. I want/need more security. You can achieve this with MicroVM (Firecracker). However, you would need to build those VM images yourself. But there is a solution to it. Kata-containers. They allow to deploy OCI compliant containers into seperate MicroVM’s. Then you have true isolation from the host kernel, while not losing much of start-up time.

                                  T This user is from outside of this forum
                                  T This user is from outside of this forum
                                  [email protected]
                                  wrote on last edited by
                                  #20

                                  What i read here is concerning. Non that i was getting into the swing of drocker .... 😞
                                  Is LXC the future then?

                                  Z 1 Reply Last reply
                                  0
                                  • T [email protected]

                                    What i read here is concerning. Non that i was getting into the swing of drocker .... 😞
                                    Is LXC the future then?

                                    Z This user is from outside of this forum
                                    Z This user is from outside of this forum
                                    [email protected]
                                    wrote on last edited by
                                    #21

                                    Docker uses LXC. LXC is actually at the core of many container engines.

                                    1 Reply Last reply
                                    0
                                    Reply
                                    • Reply as topic
                                    Log in to reply
                                    • Oldest to Newest
                                    • Newest to Oldest
                                    • Most Votes


                                    • Login

                                    • Login or register to search.
                                    • First post
                                      Last post
                                    0
                                    • Categories
                                    • Recent
                                    • Tags
                                    • Popular
                                    • World
                                    • Users
                                    • Groups