Tagged articles
10 articles
Page 1 of 1
Open Source Linux
Open Source Linux
Dec 19, 2023 · Operations

How to Securely Run Business Containers as Non‑Root: Practical Docker & Kubernetes Techniques

This article shares practical experience on converting business containers to run without root privileges, covering the importance of non‑root execution, essential security concepts, Dockerfile USER settings, entrypoint scripts, handling machine‑UUID access, and concrete examples for CoreDNS, Consul, MySQL, Redis, etc.

ENTRYPOINTNon-rootcontainer-security
0 likes · 18 min read
How to Securely Run Business Containers as Non‑Root: Practical Docker & Kubernetes Techniques
Liangxu Linux
Liangxu Linux
Dec 4, 2023 · Cloud Native

Running Business Containers as Non-Root: Practical Guide and Real-World Scripts

This article explains why running business containers without root privileges is essential for security, outlines the necessary background and risks, and provides detailed step‑by‑step methods, Dockerfile snippets, entrypoint scripts, and real‑world examples for MySQL, Redis, CoreDNS, Consul, and cAdvisor to achieve safe non‑root container deployments.

Container SecurityCoreDNSENTRYPOINT
0 likes · 16 min read
Running Business Containers as Non-Root: Practical Guide and Real-World Scripts
Liangxu Linux
Liangxu Linux
Jan 1, 2022 · Cloud Native

How to Gracefully Stop Docker Containers Using Signals, ENTRYPOINT, and CMD

This article explains Linux signals, the difference between exec and shell forms of Dockerfile ENTRYPOINT and CMD, and demonstrates with Go and shell script examples how to configure containers so that docker stop sends SIGTERM correctly for a clean shutdown instead of a forced kill.

ContainerDockerENTRYPOINT
0 likes · 11 min read
How to Gracefully Stop Docker Containers Using Signals, ENTRYPOINT, and CMD
Efficient Ops
Efficient Ops
Jul 19, 2015 · Cloud Native

Master Building Docker WordPress Images and Understanding ENTRYPOINT vs CMD

This guide walks you through preparing Docker, building a csphere/wordpress:4.2 image, running the container with proper environment variables, and clarifies the differences between ENTRYPOINT and CMD through hands‑on examples, helping you master container image creation and command execution in Docker.

ENTRYPOINTImage BuildingWordPress
0 likes · 9 min read
Master Building Docker WordPress Images and Understanding ENTRYPOINT vs CMD