Skip to content

Commit a4a5711

Browse files
Managorivanbaluta
andauthored
slim: add page, docker-slim: convert to alias (#19708)
Co-authored-by: Ivan Baluta <[email protected]>
1 parent 7af5597 commit a4a5711

File tree

2 files changed

+27
-20
lines changed

2 files changed

+27
-20
lines changed

pages/common/docker-slim.md

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,7 @@
11
# docker-slim
22

3-
> Analyze and optimize Docker images.
4-
> More information: <https://github.com/slimtoolkit/slim>.
3+
> This command is an alias of `slim`.
54
6-
- Start DockerSlim on interactive mode:
5+
- View documentation for the original command:
76

8-
`docker-slim`
9-
10-
- Analyze Docker layers from a specific image:
11-
12-
`docker-slim xray --target {{image:tag}}`
13-
14-
- Lint a Dockerfile:
15-
16-
`docker-slim lint --target {{path/to/Dockerfile}}`
17-
18-
- Analyze and generate an optimized Docker image:
19-
20-
`docker-slim build {{image:tag}}`
21-
22-
- Display help for a subcommand:
23-
24-
`docker-slim {{subcommand}} --help`
7+
`tldr slim`

pages/common/slim.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# slim
2+
3+
> Analyze and optimize Docker images.
4+
> More information: <https://github.com/slimtoolkit/slim#usage-details>.
5+
6+
- Start Slim on interactive mode:
7+
8+
`slim`
9+
10+
- Analyze Docker layers from a specific image:
11+
12+
`slim xray --target {{image:tag}}`
13+
14+
- Lint a Dockerfile:
15+
16+
`slim lint --target {{path/to/Dockerfile}}`
17+
18+
- Analyze and generate an optimized Docker image:
19+
20+
`slim build {{image:tag}}`
21+
22+
- Display help for a subcommand:
23+
24+
`slim {{subcommand}} --help`

0 commit comments

Comments
 (0)