2 ms·
been using docker-slim[1] for a couple years and am really happy with it. Also I build everything from source and try to avoid glibc wherever I can, use harden
by DyslexicAtheist 7y ago
been using docker-slim[1] for a couple years and am really happy with it.
Also I build everything from source and try to avoid glibc wherever I can, use hardened malloc and -D_FORTIFY_SOURCE=2 everything. also use static linking wherever I can and try to --disable-foo with configure if I can get away with it. Using a minimalistic approach that restricts everything (down to a syscall whitelist) sounds like it's high maintenence but when done in combination with a catalog of what runs in these containers and some plumbing to poll upstream for repo updates allows me to ignore a lot of what affects most people wrt security. As a bonus I learn about it quickly if upstream introduces a major change and I'm forced to study the source and get to decide if they were "out of their mind again" with these changes.
Keeps me abreast of how my platform behaves and when it doesn't as it should (it's kind of a forward investment for efficient root cause analysis that beats "have you tried turning it off and on again")
Docker imo doesn't deserve the hype. Most of the flaws I deal with in my setup are due to docker instability (often in docker swarm) ... it's the next thing I actually want to replace because it's just overhyped "static linking for Millennials".
[1] https://github.com/docker-slim/docker-slim https://github.com/docker-slim/docker-slim
- Jonnax 7y agoDocker Swarm has been pretty much deprecated. When Mirantis bought it, they said they'll support for 2 years but Kubernetes is their focus.
- DyslexicAtheist 7y agothanks, a good reason to ditch it then.