Slim(toolkit) (@SlimToolkit) profile picture

Inspect, minify and debug your containers. Slim reduces the attack surface of your containers and it also generates security profiles for them.

Cloud capital of the world ;-)
Joined May 2019
Photo by Slim(toolkit) (@SlimToolkit)
will be posting about #DockerSlim / #SlimToolkit exclusively on my own account, @kcqon , now that I have the check mark. so much easier to post when you have no limits :)
1
3
724
Another new Python example (Flask, based on the official Docker example). Uses a slim base image, but even then the minified version is 5 times smaller: github.com/slimtoolkit/examp…
3
3
667
New examples for python3-based FastAPI apps (with PIP and Poetry package managers): '3rdparty/python_fastapi_official' (24 times smaller) and '3rdparty/python_poetry_fastapi_svx' (4 times smaller for an already manually optimized Dockerfile) - github.com/slimtoolkit/examp…
2
3
392
The new release also includes an experimental 'merge' command to merge two minified images generated by the 'build' command. Useful for more complicated cli containers or service containers that have multiple execution profiles.
2
443
The latest release, 1.40.3, fixes the sensor related failures on Mac OS (amd and M1) if you use 'brew install'
1
345
When you use the containerized version of the 'slim' app you'll need to volume mount the files you reference in any of the file flags like '--include-path-file' or '--compose-file' (because those files need to be accessible in the 'slim' app container)
1
281
Looks like the --include-* 'build' command flags need better/more docs... '--include-path' allows you to keep the target file (only), '--include-bin' allows you to keep the target file & all of its dynamically loaded .so libraries if the target is an executable/shared lib itself
1
2
451
If you are curious how the main app and sensor binaries are built you can use the 'appbom' command/flag: 'slim appbom' and 'slim-sensor --appbom'
3
624
Yes, the account name looks different :) Slim is adding support for new container tools and runtimes, which is which is why @SlimToolkit is the new name for #DockerSlim
6
1,026
And speaking of Kubernetes... Here's an example that uses the experimental support for the Kubernetes runtime to minify container images github.com/docker-slim/examp…
4
12
7,041
Some of the Stackshare posts are useful, but some are pretty silly... For example, there's post about DockerSlim vs Kubernetes :-)
2
1
11
3,109
What's your favorite debug image for troubleshooting your container environments (for your scratch/slim images or just in general)? docker-slim will have shortcuts for those in the 'debug' command
2
5
The updated Carbon ( carbon.now.sh ) app minification demo is now using the new Next.js helper flags https://nitter.cf/t.co/QR3cxDOOSF (eg to keep all static assets in your Next.js app). No need to know the exact app location in the container :)
3
4
Cool site if you are new to open source projects and you are looking to get started goodfirstissue.dev @DockerSlim has a few good first issues mentioned there too (always open to new contributions... happy to do a code walk through too with anyone interested)
1
1
Using compose files with @DockerSlim got easier with the latest update (not need to define extra parameters for the target service/container) github.com/docker-slim/docke…
2
Did you know that slimming container images & @DockerSlim are a part of the #CNCF "Software Supply Chain Best Practices" (@DockerSlim will be saving the original metadata & adding its minified metadata soon. Please reach out to collaborate!) project.linuxfoundation.org/… #SupplyChain
3
1
14
With the new support for docker-compose you can minify one of the images by pointing at its service name (other services will be started as deps). Eg: docker-slim build --target-compose-svc appsvc --compose-file node-compose-demo.yaml (see node_redis_compose example for details)
1
2
a couple of blog posts about Multi-stage gotchas and workarounds: jozala.com/posts/2019-10-01-… pythonspeed.com/articles/fas…
Over @SlimDevOps we are hiring frontend, backend, and Kubernetes engineers to help us build end to end container lifecycle management tools, and help maintain our open source projects including @DockerSlim for optimizing container images. github.com/slim-ai/engineeri…
3
13
3
28