ClineDockerSecurity
Docker Cline Rules
Cline rules for Docker: container security, image optimization, and production container patterns.
.clinerules
- Use docker init to scaffold Dockerfiles with current best practices - Apply chainguard images for minimal attack surface in production - Use cosign for image signing; verify signatures in deployment pipeline - Apply COPY --link for faster, more cache-friendly layer creation - Use BuildKit inline cache with --cache-to and --cache-from in CI - Generate SBOM during image build with docker buildx bake - Apply seccomp and AppArmor profiles for container syscall restriction - Use Docker Scout to analyze and remediate image vulnerabilities
How to use with Cline
Create a `.clinerules` file in your project root. Cline reads this file and applies the rules to all AI-assisted coding.
#docker#cline#security#containers#coding-rules
Related Rules
Python Cline Rules
ClinePython
Cline AI coding rules for Python: automated coding patterns and best practices for the Cline VS Code extension.
Code Style
python · clineCopy Ready
React Cline Rules
ClineReact
Cline rules for React: component patterns, performance, and modern React architecture.
Architecture
react · clineCopy Ready
Next.js Cline Rules
ClineNext.js
Cline rules for Next.js: full-stack patterns, deployment, and modern Next.js conventions.
Architecture
nextjs · clineCopy Ready
Testing Cline Rules
Clinetesting
Cline rules for testing: advanced testing patterns, observability-driven testing, and test automation.
Testing
testing · clineCopy Ready