mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-17 16:00:46 +00:00
Update cheatsheets
This commit is contained in:
@@ -5,25 +5,8 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# docker-slim
|
||||
|
||||
> Analyze and optimize Docker images.
|
||||
> More information: <https://github.com/slimtoolkit/slim>.
|
||||
> This command is an alias of `slim`.
|
||||
|
||||
- Start DockerSlim on interactive mode:
|
||||
- View documentation for the original command:
|
||||
|
||||
`docker-slim`
|
||||
|
||||
- Analyze Docker layers from a specific image:
|
||||
|
||||
`docker-slim xray --target {{image:tag}}`
|
||||
|
||||
- Lint a Dockerfile:
|
||||
|
||||
`docker-slim lint --target {{path/to/Dockerfile}}`
|
||||
|
||||
- Analyze and generate an optimized Docker image:
|
||||
|
||||
`docker-slim build {{image:tag}}`
|
||||
|
||||
- Display help for a subcommand:
|
||||
|
||||
`docker-slim {{subcommand}} --help`
|
||||
`tldr slim`
|
||||
|
||||
Reference in New Issue
Block a user