GitHub - sergi0g/cup: š„¤Docker container updates made easy
(github.com)
from otters_raft@lemmy.ca to selfhosted@lemmy.world on 26 May 14:08
https://lemmy.ca/post/44842915
from otters_raft@lemmy.ca to selfhosted@lemmy.world on 26 May 14:08
https://lemmy.ca/post/44842915
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!
threaded - newest
Why not moving to podman and letting it do its magic?
It sucks to migrate to podman if you have been using Docker Compose heavily.
Also, updating is done with
and
every 24h via cronjob
I take it it only pulls if the image is different/newer?
Yes.
You can use the same compose file with podman for the most part
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.
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ā¦ šš«¤
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.
I really hope youāre right :/ !!
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.
What i read here is concerning. Non that i was getting into the swing of drocker ⦠:-( Is LXC the future then?
Docker uses LXC. LXC is actually at the core of many container engines.
Question please, how would podman alleviate container update woes?
docs.podman.io/en/ā¦/podman-auto-update.1.html
Today I learnt, thank you.
yes
So also codeberg/forgejo?
Iām currently on WUD (whatās up docker) which has some great functionality like custom templates to link to the actual release note.
Does cup allow similar thing? How does it compare to WUD if you have tested both ?
Edit:
Ohhh yeah okay⦠So I will stay on WUD and keep an eye on cup in case WUD goes unmaintained !
Is there anything similar, but for k8s?
Similar in which regard? Containers can be covered by this, but Iām assuming you mean for things like charts?
Meaning that I get to see my deployment and check if the image is updated. If not, change the deployment image
How does it prevent you from downloading maliciously modified/images?
Not really its job, it just shows you updates are available. No docker update manager checks for maliciously modified images.
Why would you expend time and effort building a house ontop of a cesspool?
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.I may have to give Cups a try. Watchtower is cool and all, but my issue is this:
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.