this post was submitted on 26 May 2025
96 points (96.2% liked)

Selfhosted

48689 readers
1762 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

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!
top 19 comments
sorted by: hot top controversial new old
[–] enemenemu@lemm.ee 13 points 1 month ago (3 children)

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

[–] zr0@lemmy.dbzer0.com 22 points 1 month ago (3 children)

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

[–] pipe01@programming.dev 9 points 1 month ago

You can use the same compose file with podman for the most part

[–] irotsoma@lemmy.blahaj.zone 6 points 1 month ago (1 children)

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.

[–] zr0@lemmy.dbzer0.com 3 points 1 month ago

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.

[–] flightyhobler@lemmy.world 3 points 1 month ago (1 children)

I take it it only pulls if the image is different/newer?

[–] otter@lemmy.zip 3 points 1 month ago
[–] airgapped@piefed.social 16 points 1 month ago (1 children)

Question please, how would podman alleviate container update woes?

[–] irmadlad@lemmy.world 4 points 1 month ago

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.

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.

[–] eutampieri@feddit.it 2 points 1 month ago (1 children)

Is there anything similar, but for k8s?

[–] httperror418@lemmy.world 2 points 1 month ago (1 children)

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

[–] eutampieri@feddit.it 1 points 1 month ago

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

[–] jagged_circle@feddit.nl -2 points 1 month ago (1 children)

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

[–] MangoPenguin@lemmy.blahaj.zone 5 points 1 month ago* (last edited 1 month ago) (1 children)

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

[–] jagged_circle@feddit.nl -1 points 1 month ago

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