Safeguard
Tag

non-root

Safeguard articles tagged "non-root" — guides, analysis, and best practices for software supply chain and application security.

6 articles

Container Security

Best practices for containerizing .NET applications securely

.NET 8 gave containers a built-in non-root user and chiseled images that cut one team's CVE count 92% — most Dockerfiles still don't use either.

Jul 13, 20266 min read
AI Security

Securing Docker Containers: A Practical Hardening Guide

Securing Docker containers is less about one setting and more about a chain of defaults: slim base images, non-root users, scanned layers, and locked-down runtime privileges.

Mar 9, 20266 min read
Containers

Kubernetes runAsUser: How to Run Containers as a Non-Root User

What the Kubernetes runAsUser security context does, how to set it correctly, and the common mistakes that quietly leave pods running as root.

Jun 11, 20255 min read
Containers

Writing a Secure Kubernetes Dockerfile: A Practical Hardening Guide

The Dockerfile you write decides most of a pod's attack surface before Kubernetes ever schedules it. Here is how to build images that run non-root, stay small, and survive a security review.

May 27, 20255 min read
Containers

Python Dockerfile Best Practices for Secure, Small Images

The Python Dockerfile best practices that matter most for security are running as a non-root user, choosing a slim base, using multi-stage builds, and pinning dependencies. Here is a working reference Dockerfile and why each line is there.

May 20, 20255 min read
Containers

How to Write a Secure Node.js Dockerfile

A hardened Node.js Dockerfile starts with a pinned base image, a non-root user, and a multi-stage build. Here is how to write one that survives a real security review.

Mar 18, 20256 min read

Self-healing security runs on Safeguard.

Your first fix PR is minutes away.

No sales call required, even your agent can complete the purchase over MCP.

non-root — Safeguard Blog