docker
guides/tips/...etc
-
issues:
- java服務Dockerfile/Docker compose優化:
- 避免服務無法優雅地關閉,甚至本身的程式碼實作沒有將服務的狀態寫回去RDBMS,暫時先用手動SQL紀錄服務的狀態,避免重新啟動時,服務無法正常運作。
- java服務Dockerfile/Docker compose優化:
-
Dockerfile lint
- watchtower
- only working for docker image tag: latest
- Watchtower is intended to be used in homelabs, media centers, local dev environments, and similar.
- containrrr.dev/watchtower/stop-signals/
- containrrr.dev/watchtower/usage-overview/
- github.com/containrrr/watchtower
- A process for automating Docker container base image updates.
- docker-architecture
- github.com/dockur/windows
- github.com/dockur/macos
- github.com/moby/moby
- github.com/docker/cli
- github.com/docker/compose
- github.com/docker-archive/docker-ce/blob/master/README.md
- Containers versus virtual machines (VMs)
- Inline cache
- process gracefully shutdown
- askubuntu.com/questions/201303/what-is-a-defunct-process-and-why-doesnt-it-get-killed
- 執行 Docker 容器可使用 dumb-init 或 tini 改善程序優雅結束的問題
- tini
- A tiny but valid
initfor containers
- A tiny but valid
- dumb-init
- A minimal init system for Linux containers
- How do I start the docker daemon on macOS?
- docs.docker.com/engine/install/binaries/#install-client-binaries-on-macos
- github.com/abiosoft/colima
- Colima - container runtimes on macOS (and Linux) with minimal setup.