Mac 에서 podman machine 설정시 옵션
Description:
Initialize a virtual machine
Usage:
podman machine init [options] [NAME]
Examples:
podman machine init podman-machine-default
Options:
--cpus uint Number of CPUs (default 4)
--disk-size uint Disk size in GiB (default 100)
--ignition-path string Path to ignition file
--image string Bootable image for machine
-m, --memory uint Memory in MiB (default 2048)
--now Start machine now
--playbook string Run an Ansible playbook after first boot
--rootful Whether this machine should prefer rootful container execution
-s, --swap uint Swap in MiB
--timezone string Set timezone (default "local")
--usb stringArray USB Host passthrough: bus=$1,devnum=$2 or vendor=$1,product=$2
--user-mode-networking Whether this machine should use user-mode networking, routing traffic through a host user-space process
--username string Username used in image (default "core")
-v, --volume stringArray Volumes to mount, source:target (default [/Users:/Users,/private:/private,/var/folders:/var/folders])
옵션 없는 경우 기본 값은 다음과 같음
- cpus: 4 core
- disk: 100GiB
- Ram: 2GiB (No Swap)
- timezone: local
- username: core
- volume: default
예를 들어 기본이 2GiB인데 4GiB를 할당 하려는 경우
podman machine init -m 4096