Sign inSign up

ahmubashshir/unemployd

By ahmubashshir

•Updated about 6 hours ago

Probably the least productive container you'll ever run

Image
Developer tools
0

1.1K

ahmubashshir/unemployd repository overview

⁠unemployd

This is probably the least productive container you'll ever run.

It's for those times when your Docker Compose stack or Kubernetes deployment needs a container that doesn't actually need to do anything.

It does absolutely nothing, just to keep your container orchestrator happy. It even waits for SIGINT or SIGTERM before leaving, because apparently, doing nothing isn't enough; it has to do nothing responsibly.

⁠Usage

podman run --rm -d ahmubashshir/unemployd:latest

Replace podman with docker if that's your thing.

See example.yaml⁠ for Kubernetes or Compose.

⁠FAQs

  • Q: Why does this exist?
    A: The orchestrator wanted a container. Who am I to argue?
  • Q: What does it do?
    A: Absolutely nothing. Please don't distract it.
  • Q: Only Docker Hub?
    A: Nope! GHCR1⁠ too.
  • Q: Should I use it?
    A: If you need a container that does nothing, you've come to the right place.
  • Q: Why not just use sleep infinity?
    A: You dare want a proper rootfs just to sleep on it?
  • Q: Does it consume resources?
    A: It consumes a PID, some memory, and less than one AF2⁠ sector.
  • Q: Why is it called unemployd?
    A: It got the job. It just doesn't do the job.
  • Q: Does it support graceful shutdown?
    A: Of course. Even unemployed daemons have to know when to leave.
  • Q: Is this production-ready?
    A: It's production-nothing.
  • Q: Why did you create it?
    A: I had nothing better to do.

⁠License

See LICENSE⁠.

⁠Footnotes

  1. ghcr.io/ahmubashshir/unemployd:latest ↩⁠

  2. Advanced Format (4Kn)⁠ ↩⁠

Tag summary

Content type

Image

Digest

sha256:1b5af731d…

Size

549 Bytes

Last updated

about 6 hours ago

docker pull ahmubashshir/unemployd