diff --git a/pages/common/docker-slim.md b/pages/common/docker-slim.md index fd43c3da6c..540f21ca92 100644 --- a/pages/common/docker-slim.md +++ b/pages/common/docker-slim.md @@ -1,24 +1,7 @@ # docker-slim -> Analyze and optimize Docker images. -> More information: . +> 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` diff --git a/pages/common/slim.md b/pages/common/slim.md new file mode 100644 index 0000000000..ceee1d3311 --- /dev/null +++ b/pages/common/slim.md @@ -0,0 +1,24 @@ +# slim + +> Analyze and optimize Docker images. +> More information: . + +- 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`