Updated cheatsheets for vim, docker, podman, microk8s, stratis, and git with additional sections for completeness
This commit is contained in:
@@ -77,4 +77,4 @@ newgrp docker
|
||||
- Content trust: `docker trust sign <image>`
|
||||
- Use minimal base images: Prefer alpine or distroless for smaller attack surface.
|
||||
|
||||
This cheatsheet prioritizes security and efficiency. For critical systems, perform additional penetration testing and use tools like Docker Bench for Security.
|
||||
## Docker Swarm\n- Initialize swarm: `docker swarm init`\n- Join worker: `docker swarm join --token <token> <manager-ip>:2377`\n- List nodes: `docker node ls`\n- Deploy stack: `docker stack deploy -c docker-compose.yml <stack>`\n- Leave swarm: `docker swarm leave --force`\n\nThis cheatsheet prioritizes security and efficiency. For critical systems, perform additional penetration testing and use tools like Docker Bench for Security.\n\nSources: Based on https://www.docker.com/blog/docker-cheat-sheet/ and official docs."
|
||||
Reference in New Issue
Block a user