commit 2d2191f81846f92867284d06a018afcaad14b3f3 parent 2245699a365fc85b1d8feb112ff4bf39090841ca Author: ling0x <ling0x@users.noreply.github.com> Date: Fri, 4 Sep 2026 14:51:09 +0100 docker commands Diffstat:
| M | commands/docker.txt | | | 12 | ++++++++++++ |
| M | references/bookmarks.txt | | | 10 | ++++++++-- |
2 files changed, 20 insertions(+), 2 deletions(-)
diff --git a/commands/docker.txt b/commands/docker.txt @@ -5,3 +5,14 @@ Pretty display docker ps: docker ps --format '{{.Names | printf "%-20s"}} {{.Ports}}' | sort docker ps --format "table {{.Names}}\t{{.Status}}\t{{.Ports}}\t{{.Networks}}" + + +Spin up 1 single container from a compose.yml: + +docker compose -f docker/compose.yml up <container-name> + +# stop it (keeps the container, can restart later) +docker compose -f docker/compose.dev.yml stop sanctum_frontend_dev + +# stop + remove the container (but keep volumes/networks) +docker compose -f docker/compose.dev.yml rm -sf sanctum_frontend_dev +\ No newline at end of file diff --git a/references/bookmarks.txt b/references/bookmarks.txt @@ -1,5 +1,11 @@ # Bookmarks -[The Software Architecture Chronicles by @hgraca](https://herbertograca.com/2017/07/03/the-software-architecture-chronicles/) +The Software Architecture Chronicles by @hgraca: +https://herbertograca.com/2017/07/03/the-software-architecture-chronicles/ -[Code Reviews: Before You Even Run The Code](https://lornajane.net/posts/2015/code-reviews-before-you-even-run-the-code) +Code Reviews: Before You Even Run The Code: +https://lornajane.net/posts/2015/code-reviews-before-you-even-run-the-code + + +How we saved 100 terabytes of memory by optimizing 1.1.1.1’s DNS cache: +https://blog.cloudflare.com/dns-cache-memory-optimization-1111/