Tag: Container
All the articles with the tag "Container".
`--memory-swap=0` Doesn't Turn Swap Off
A 2017 write-up that tabulates the container resource-limit options. It works as a map, but three spots snag if you copy from it. Two swap rules are written as opposites, the example's swap size is doubled, and the period default is off by ten.
Revisiting Docker Build and Run: The Dot in `docker build .` Isn't the Dockerfile Path
A post I clipped while trying to isolate a database in a container. What the dot in `docker build .` actually is, why the example Dockerfile won't run as written, and what you actually need when the thing you're containerising is a database.