You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+36-12Lines changed: 36 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ Note that **DockerSlim** is now **MinToolkit** or just **Mint** (it was also cal
21
21
22
22
## Overview
23
23
24
-
**Mint** allows developers to inspect, optimize and debug their containers using its `xray`, `slim` (aka `build`), `debug`, `lint`, `run`, `images`, `merge`, `registry`, `vulnerability` (and other) commands. It simplifies and improves your developer experience building, customizing and using containers. It makes your containers better, smaller and more secure while providing advanced visibility and improved usability working with the original and minified containers.
24
+
**Mint** allows developers to inspect, optimize and debug their containers using its `xray`, `slim` (aka `build`), `debug`, `lint`, `run`, `images`, `imagebuild`, `merge`, `registry`, `vulnerability` (and other) commands. It simplifies and improves your developer experience building, customizing and using containers. It makes your containers better, smaller and more secure while providing advanced visibility and improved usability working with the original and minified containers.
25
25
26
26
Don't change anything in your container image and minify it by up to 30x making it secure too! Optimizing images isn't the only thing it can do though. It can also help you understand and author better container images.
If you don't specify any command `mint` will start in the interactive prompt mode.
270
271
271
272
### COMMANDS
272
273
273
-
-`slim` - Create a minimal container image for your selected image generating the supported security profiles. This is the most popular command. (aka `build`)
274
+
-`slim` - Create a minimal container image for your selected image generating the supported security profiles. This is the most popular command. (aka `build`).
274
275
-`debug` - Debug minimal or regular container images running in Docker, Podman, Kubernetes and ContainerD.
275
276
-`xray` - Performs static analysis for the target container image (including 'reverse engineering' the Dockerfile for the image). Use this command if you want to know what's inside of your container image and what makes it fat.
276
-
-`lint` - Analyzes container instructions in Dockerfiles (Docker image support is WIP)
277
+
-`lint` - Analyzes container instructions in Dockerfiles (Docker image support is WIP).
-`--image-name` - Container image name to use (including tag).
620
+
-`--image-archive-file` - Local file path for the image tar archive file (used for the `depot` and `buildkit` engines).
621
+
-`--dockerfile` - Local Dockerfile path (for `buildkit` and `depot`) or a relative to the build context directory (for `docker` or `podman`). Default: `Dockerfile`.
622
+
-`--context-dir` - Local build context directory. Default: `.`.
623
+
-`--build-arg` - Build time variable (ARG). [can use this flag multiple times]
624
+
-`--label` - Image label to add. [can use this flag multiple times]
625
+
-`--architecture` - Build architecture (`amd64` or `arm64`).
0 commit comments