Skip to main content

slim

Use this skill when the user wants to shrink Docker images, analyze container layers, lint Dockerfiles, or debug running containers — Docker Slim toolkit for security and size optimization.

소스 정보

저장소
javimosch/supercli
최근 소스 활동
2026년 7월 20일 20:48
감지된 SKILL.md 언어
영어
스타
51
포크
7

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
slim
description
Use this skill when the user wants to shrink Docker images, analyze container layers, lint Dockerfiles, or debug running containers — Docker Slim toolkit for security and size optimization.
# slim Plugin DockerSlim (slimtoolkit/slim) minifies container images by removing unused files, analyzes image layers, lints Dockerfiles, and attaches debug shells to running containers. CNCF sandbox project. ## Installation ```bash brew install docker-slim # or curl -sL https://raw.githubusercontent.com/slimtoolkit/slim/master/scripts/install-slim.sh | sudo -E bash - ``` ## Basic Usage ```bash # Optimize an image (creates a smaller variant) slim build myapp:latest # Static analysis of layers and files slim xray myapp:latest # Lint a Dockerfile slim lint Dockerfile # Debug a running container slim debug <container-id> ``` ## Common Flags ```bash # Custom tag for optimized image slim build myapp:latest --tag myapp:slim # Include extra paths in the minified image slim build myapp:latest --include-path /app/config # Show layer change details slim xray myapp:latest --changes all ``` ## Usage Examples - "Shrink this Docker image for production" - "Analyze what's inside this container image" - "Lint my Dockerfile for best practices" - "Debug a running container interactively" ## SuperCLI ```bash sc slim image build myapp:latest sc slim image xray myapp:latest sc slim dockerfile lint Dockerfile sc plugins learn slim ```
GitHub에서 보기