snippetbashTip
slim — Analyze and optimize Docker images. More information: <https://github.com/slimtoolkit/slim#usage-det
Viewed 0 times
commandimagesdockerandoptimizeanalyzeclislim
Problem
How to use the
slim command: Analyze and optimize Docker images. More information: <https://github.com/slimtoolkit/slim#usage-details>.Solution
slim — Analyze and optimize Docker images. More information: <https://github.com/slimtoolkit/slim#usage-details>.Start Slim on interactive mode:
slimAnalyze Docker layers from a specific image:
slim xray --target {{image:tag}}Lint a Dockerfile:
slim lint --target {{path/to/Dockerfile}}Analyze and generate an optimized Docker image:
slim build {{image:tag}}Display help for a subcommand:
slim {{subcommand}} --helpCode Snippets
Start Slim on interactive mode
slimAnalyze Docker layers from a specific image
slim xray --target {{image:tag}}Lint a Dockerfile
slim lint --target {{path/to/Dockerfile}}Analyze and generate an optimized Docker image
slim build {{image:tag}}Display help for a subcommand
slim {{subcommand}} --helpContext
tldr-pages: common/slim
Revisions (0)
No revisions yet.