Post B1Vzg7IlrzCVfgNETw by amonakov@mastodon.gamedev.place
(DIR) More posts by amonakov@mastodon.gamedev.place
(DIR) Post #B1Vzg7IlrzCVfgNETw by amonakov@mastodon.gamedev.place
2025-12-22T18:08:57Z
0 likes, 0 repeats
I know I'm extremely many years late with this question, but... Is it just me, or is typical Docker workflow kinda wasteful? I just spawned a container with "podman run --rm -it alpine", installed two packages (+200 deps), found that the thing I needed to do is denied by seccomp, exited, relaunched with --security-opt "seccomp=unconfined"... and needed to grab those 202 pkgs from mirrors again.(we have a local cache/proxy to avoid fetches in CI jobs)
(DIR) Post #B1Vzg8vnoM14j1duxU by wolf480pl@mstdn.io
2025-12-22T18:32:16Z
0 likes, 0 repeats
@amonakov you could've not used `--rm` and reused the container, or turned the old container with all the deps installed into a new image, and ran a new container from thatbut like, that's effortand I'm not aware of a CLI that makes this type of workflow smooth
(DIR) Post #B1VzqIaekpR7ZsavSq by wolf480pl@mstdn.io
2025-12-22T18:34:08Z
0 likes, 0 repeats
@amonakov but also, I think Docker being inefficient is kinda the point.In every universe I've seen so far*, Docker appeared as soon as people stopped caring about efficiency.*which is 1, and not all of it