Containers
Containers¶
Docker | Kubernetes - Beginners | Intermediate | Advanced
Docker¶
Docker Commands Cheat Sheet
Docker for beginners
Docker Commands
Build Tiny VMs from docker
CLI tools for maintaining dockers
Make Lifecycle hooks for Docker Containers
Podman:
Podman Docker without root
Podman Desktop
Docker File¶
Tips:
1. Copy files last to make best use of caching
2. Copy Minimal Files
3. RUN apt-get update && apt-get -y install --no-install-recommends openjdk-8-jdk && rm -rf /var/lib/apt/lists/*
Docker Deamon¶
https://cheatsheetseries.owasp.org/cheatsheets/Docker_Security_Cheat_Sheet.html
Signing Containers¶
https://github.com/sigstore/cosign
Kubernetes¶
Kubernetes CLI manager
lightweight Kubernetes for Pis
CLI tools¶
minikube is local Kubernetes, focusing on making it easy to learn and develop for Kubernetes.
kind is a tool for running local Kubernetes clusters using Docker container “nodes”.
RasPI Cluster¶
https://2byt.es/post/bantamcloud/02-configure/
Security¶
Best Practices For Container Environments
Kubernetes:
9 Kubernetes Security Best Practices
Kube-hunter hunts for security weaknesses in Kubernetes clusters
Test Kubernetes for Security for security best practices
Docker:
The Docker Bench for Security is a script that checks for dozens of common best-practices around deploying Docker containers in production.
Docker Security Cheat Sheet