slim: add page, docker-slim: convert to alias (#19708)

Co-authored-by: Ivan Baluta <50071699+ivanbaluta@users.noreply.github.com>
This commit is contained in:
Managor
2025-12-01 17:06:00 +02:00
committed by GitHub
co-authored by Ivan Baluta
parent 7af5597b0f
commit a4a5711201
2 changed files with 27 additions and 20 deletions
+3 -20
View File
@@ -1,24 +1,7 @@
# 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`
+24
View File
@@ -0,0 +1,24 @@
# slim
> Analyze and optimize Docker images.
> More information: <https://github.com/slimtoolkit/slim#usage-details>.
- Start Slim on interactive mode:
`slim`
- Analyze 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}} --help`