minideb
Lean and Mean Docker containers
Our great sponsors
minideb | Lean and Mean Docker containers | |
---|---|---|
6 | 38 | |
1,951 | 18,071 | |
1.0% | 1.5% | |
6.9 | 9.1 | |
14 days ago | 4 days ago | |
Shell | Go | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
minideb
-
Setting up a packaging environment for Alpine Linux (introducing alpkg)
postgres:15-bullseye 2bb008a38e7c 379MB
[1] https://github.com/bitnami/minideb
However, it is sometimes a good idea to benchmark the speed of different images, as sometimes a significant speed loss is possible.
-
I deleted 78% of my Redis container and it still works
as is stated initially, that goes back to how bitnami is building its Docker images, basing on a set of debian packages (minideb) - there's also a shell library/framework embedded that does useful things, but that makes you read more code when you go check how the sausage is made. That minideb is the basis for the higher CVE count compared to scratch or alpine images.
> itβs a well-kept secret that no one wants to talk about
the maintainer side most casual docker image users aren't aware of I'd rephrase, but bitnami at least documents the issue
-
Minimal base images roundup
Ah, yeah it's a little more confusing because it's using the debootstrap tool (https://wiki.debian.org/Debootstrap) to build the container image filesystem. You can see all the gory logic here: https://github.com/bitnami/minideb/blob/master/buildone and https://github.com/bitnami/minideb/blob/master/mkimage It's a bunch of shell scripting that's not really meant to be interpreted by anyone that isn't a debian expert though, so don't feel bad if it looks really confusing. I think the overall thing is that minideb installs the absolute bare minimum system with debootstrap and even strips out a few essential packages like trusted SSL CAs, etc. If you need anything (including those essential packages) you're meant to just install_packages install them--it's all using the same apt sources and packages as debian.
I really like minideb from bitnami: https://github.com/bitnami/minideb
-
Microsoft repo installed on all Raspberry Piβs
Do you know why this is? Because it's part of the base file system. Here is a line from the build script for minideb (basically the smallest image needed to run a container): https://github.com/bitnami/minideb/blob/e4f37e8a5d271d93b79c3f4caa49c4ceb95d8eec/mkimage#L52
Lean and Mean Docker containers
-
An Overview of Kubernetes Security Projects at KubeCon Europe 2023
Slim.ai presents the data in a more user friendly way than many of the other tools in this post. On top of its open source SlimToolkit for identifying the contents of an image, Slim.ai uses Trivy for vulnerability scanning.
-
Tips for reducing Docker image size
What about https://github.com/slimtoolkit/slim?
-
Standard container sizes
Anyone tried using https://github.com/docker-slim/docker-slim To minify an image?..
- A practical approach to structuring Golang applications
-
M1: Docker doesn't find shared x64 shared objects even though platform was specified
Distroless images are better left for people with serious need for lightweight images and good Linux knowledge because they require lot of planning with the build so that they stay light and work. If you need lighter images but docker isn't your main tool and you can't afford to take hours and hours of practicing different build strategies you can check docker-slim (https://dockersl.im/). With this tool you can easily size down the images.
-
I deleted 78% of my Redis container and it still works
Maybe this would help in that regard: https://github.com/docker-slim/docker-slim
-
Are there tools that tell you if you can optimize your dockerfiles?
I have heard of slim.ai, there core tool is open source https://github.com/docker-slim/docker-slim
- We're optimizing our Docker image and we're pretty happy with how it's going: 3.37GB > 1.13GB. Next stop, a single Docker image Budibase deployment π
-
Ask HN: Who is hiring? (April 2022)
* We have a lightweight engineering process based on trust, self-alignment and visibility.
Email me at [email protected] if you'd like to learn more.
P.S.
Take a look at DockerSlim ( https://github.com/docker-slim/docker-slim ) if you are interested in working on the open source project that powers our SaaS.
-
Down With the Sickness
In last weeks blog I talked about what my plan was for release 2.9. My main areas of concern was finishing the migration to make use of the images stored in our Docker registry. The other area I was planning on taking on was to slim down those images in the registry by using Docker-Slim.
What are some alternatives?
Go random string generator - Flexible and customizable random string generator
pipx - Install and Run Python Applications in Isolated Environments
dive - A tool for exploring each layer in a docker image
gophish - Open-Source Phishing Toolkit
simple-scrypt - A convenience library for generating, comparing and inspecting password hashes using the scrypt KDF in Go π
memguard - Secure software enclave for storage of sensitive information in memory.
stego-toolkit - Collection of steganography tools - helps with CTF challenges
passlib - :key: Idiotproof golang password validation library inspired by Python's passlib
MeTube - Self-hosted YouTube downloader (web UI for youtube-dl / yt-dlp)
lego - Let's Encrypt/ACME client and library written in Go
dongle - A simple, semantic and developer-friendly golang package for encoding&decoding and encryption&decryption
distroless - π₯ Language focused docker images, minus the operating system.