lqhuang / containers

lqhuang's tech stacks in container way

Repository from Github https://github.comlqhuang/containersRepository from Github https://github.comlqhuang/containers

containers

lqhuang's tech stacks in container way

Why

Serveral main stream container images are not good enough for fast prototyping and local dev & testing. In my humble opinions:

  • Docker official image may not the best choice for local dev. For example: My most frequently used image postgres is
    1. run as root user (it's not a big deal but bad practice and annoying for some cases)
    2. no TLS by default
    3. missing some useful extensions (eg: pgvector)
  • On the other sides, bitnami container images are good and developer oriented. But they are a bit of over engineering and introduce extra configuration burdens (eg: all data folders are layouted under /bitnami/xxx)

And I want to make a collections of lightweight and developer friendly container images for my own frequently used teck stacks.

Goals

  • lightweight with enough features
    • lightwight is still first priority
  • rootless friendly
    • prefer non root user
    • assign a target user or align to real user easily
  • security (yes, in local env)
    • prefer TLS by default
    • disable no-password accessing
    • (optional) mTLS
  • maintainable
  • optimize for compose stack
  • (optional) optimize for devcontainers

NON-Goals

  • production ready
  • smallest size as possible

Credits

About

lqhuang's tech stacks in container way

License:Apache License 2.0