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: docs/command-reference.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,19 @@ container run [OPTIONS] IMAGE [COMMAND] [ARG...]
54
54
*`--virtualization`: Expose virtualization capabilities to the container (requires host and guest support)
55
55
***Registry options**
56
56
*`--scheme <scheme>`: Scheme to use when connecting to the container registry. One of (http, https, auto) (default: auto)
57
+
58
+
***Behavior of `auto`**
59
+
60
+
When `auto` is selected, the target registry is considered **internal/local** if the registry host matches any of these criteria:
61
+
- The host is a loopback address (e.g., `localhost`, `127.*`)
62
+
- The host is within the `RFC1918` private IP ranges:
63
+
-`10.*.*.*`
64
+
-`192.168.*.*`
65
+
-`172.16.*.*` through `172.31.*.*`
66
+
- The host ends with the machine’s default container DNS domain (as defined in `DefaultsStore.Keys.defaultDNSDomain`, located [here](../Sources/ContainerPersistence/DefaultsStore.swift))
67
+
68
+
For internal/local registries, the client uses **HTTP**. Otherwise, it uses **HTTPS**.
69
+
57
70
***Progress options**
58
71
*`--disable-progress-updates`: Disable progress bar updates
0 commit comments