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
You can override all Docker connection options using these flags: `--host`, `--tls`, `--tls-verify`, `--tls-cert-path`. These flags correspond to the standard Docker options (and the environment variables). Note that you can also use the `--host` flag (similar to `DOCKER_HOST`) to point to a Unix socket (e.g., `--host=unix:///var/run/docker.sock`).
1003
+
You can override all Docker connection options using these flags: `--host`, `--tls`, `--tls-verify`, `--tls-cert-path`, `--crt-context`. These flags correspond to the standard Docker options (and the environment variables). Note that you can also use the `--host` flag (similar to `DOCKER_HOST`) to point to a Unix socket (e.g., `--host=unix:///var/run/docker.sock`).
1004
+
1005
+
The `--crt-context` flag is currently supported with the Docker runtime and it's similar to using the `--context` flag or `DOCKER_CONTEXT`. Note that Mint will use `DOCKER_CONTEXT` if it's configured.
Copy file name to clipboardExpand all lines: pkg/app/master/command/cliflags.go
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,7 @@ const (
29
29
FlagTLSCertPath="tls-cert-path"
30
30
FlagHost="host"
31
31
FlagCRTConnection="crt-connection"
32
+
FlagCRTContext="crt-context"
32
33
FlagStatePath="state-path"
33
34
FlagInContainer="in-container"
34
35
FlagArchiveState="archive-state"
@@ -58,6 +59,7 @@ const (
58
59
FlagAPIVersionUsage="Container runtime API version"
59
60
FlagHostUsage="Docker host address or socket (prefix with 'tcp://' or 'unix://')"
60
61
FlagCRTConnectionUsage="Container runtime connection (for non-Docker runtimes / for Docker user --host)"
62
+
FlagCRTContextUsage="Container runtime context name if supported (for Docker similar to setting '--context' or DOCKER_CONTEXT)"
61
63
FlagStatePathUsage="app state base path"
62
64
FlagInContainerUsage="app is running in a container"
63
65
FlagArchiveStateUsage="archive app state to the selected Docker volume (default volume - mint-state). By default, enabled when app is running in a container (disabled otherwise). Set it to 'off' to disable explicitly."
0 commit comments