mirror of
https://github.com/apple/container.git
synced 2026-10-15 02:29:21 +00:00
Remove machine user extension points, update machine docs. (#2322)
- Closes #2321. - Removes image script and ORAS resource extension point handling for container machine user setup. - Replaces image script resource with hardcoded script. - Adds more flexible user setup options to `container machine`. - Updates container machine documentation to clearly identify convenience-isolation tradeoffs.
This commit is contained in:
1 parent
2ef8aef92a
commit
0a48a1bdbf
21 files changed
+634
-292
No files matched your search
@@ -1126,6 +1126,13 @@ container machine create [<options>] <image>
|
||||
* `--os <os>`: Set OS if image can target multiple operating systems (default: linux)
|
||||
* `--platform <platform>`: Platform for the image if it's multi-platform. This takes precedence over --os and --arch
|
||||
|
||||
**User Options**
|
||||
|
||||
* `-u, --user <user>`: Set the user for the container machine account (format: name|uid[:gid]). Defaults to the host user
|
||||
* `--uid <uid>`: Set the user ID for the container machine account. Defaults to the host user's
|
||||
* `--gid <gid>`: Set the group ID for the container machine account. Defaults to the host user's
|
||||
* `--home <home>`: Set the home directory for the container machine account. Defaults to /home/<user>
|
||||
|
||||
**Registry Options**
|
||||
|
||||
* `--scheme <scheme>`: Scheme to use when connecting to the container registry. One of (http, https) (default: https)
|
||||
|
||||
Reference in new issue
Block a user