System Commands
Commands for managing system components
builder
Section titled “builder”Manage an image builder instance
Usage:
container builder <subcommand>
Subcommands
Section titled “Subcommands”Start builder
Usage:
builder start [command options]
Options:
-c, --cpus <cpus>
- Number of CPUs to allocate to the container (default:2
)-m, --memory <memory>
- Amount of memory in bytes, kilobytes (K), megabytes (M), or gigabytes (G) for the container, with MB granularity (for example, 1024K will result in 1MB being allocated for the container) (default:2048MB
)
status
Section titled “status”Print builder status
Usage:
builder status [command options]
Options:
--json
- Display detailed status in json format
Stop builder
Usage:
builder stop
delete
Section titled “delete”Delete builder
Usage:
builder delete [command options]
Options:
-f, --force
- Force delete builder even if it is running
system
Section titled “system”Aliases: s
Manage system components
Usage:
container system <subcommand>
Subcommands
Section titled “Subcommands”Manage local DNS domains
Usage:
container system dns <subcommand>
Subcommands
Section titled “Subcommands”create
Section titled “create”Create a local DNS domain for containers (must run as an administrator)
Usage:
container system dns create <domain-name>
delete
Section titled “delete”Aliases: rm
Delete a local DNS domain (must run as an administrator)
Usage:
container system dns delete <domain-name>
Aliases: ls
List local DNS domains
Usage:
container system dns list
default
Section titled “default”Set or unset the default local DNS domain
Usage:
container system dns default <subcommand>
Fetch system logs for container services
Usage:
container system logs [--debug] [--last <last>] [--follow]
Options:
--last <last>
- Fetch logs starting from the specified time period (minus the current time); supported formats: m, h, d (default:5m
)-f, --follow
- Follow log output
Start container services
Usage:
container system start [--path <path>] [--debug] [--enable-kernel-install] [--disable-kernel-install]
Options:
-p, --path <path>
- Path to the container-apiserver binary (default:/usr/local/bin/container
)--debug
- Enable debug logging for the runtime daemon--enable-kernel-install/--disable-kernel-install
- Specify whether the default kernel should be installed or not. The default behavior is to prompt the user for a response
Stop all container services
Usage:
container system stop [--prefix <prefix>]
Options:
-p, --prefix <prefix>
- Launchd prefix for container services (default:com.apple.container.
)
status
Section titled “status”Show the status of container services
Usage:
container system status [--prefix <prefix>]
Options:
-p, --prefix <prefix>
- Launchd prefix for container services (default:com.apple.container.
)
kernel
Section titled “kernel”Manage the default kernel configuration
Usage:
container system kernel <subcommand>