Open funkytaco opened 1 week ago
An addendum: $ podman-bootc rm --all
$ podman-bootc list ID REPO SIZE CREATED RUNNING SSH PORT $ podman-bootc run localhost/bootc-ami:latest Creating bootc disk image... Installing image: docker://localhost/bootc-ami:latest Digest: sha256:7880730f1febec7e00425fa3d8ea6871b890897ae0c52656d93fc16a1ae2868d ERROR Installing to disk: Creating rootfs: No root filesystem specified Error: unable to install bootc image: failed to create disk image: failed to run bootc install
now I get this extra error.... note how list
didn't give this error above after rm
$podman-bootc list ID REPO SIZE CREATED RUNNING SSH PORT Error: open /Users/neo/.cache/podman-bootc/06251d70f9953a11ac443f47b74193861a19635f72e8b5bda2efaf839d2d6392/bc.cfg: no such file or directory Usage: podman-bootc list [flags]
Flags: -h, --help help for list
Global Flags: --log-level string Set log level
Hi,
The last release is a bit old, and it doesn't include that option, you need to use --head
to install podman-bootc:
brew install --head podman-bootc
I'm following a demo being run on Fedora, but I'm running on MacOS Sonoma.
podman-bootc run --filesystem=xfs localhost/bootc-ami:latest Error: unknown flag: --filesystem
Does MacOS not have this flag?
`podman-bootc run --help Run a bootc container as a VM
Usage: podman-bootc run [flags]
Flags: -B, --background Do not spawn SSH, run in background --cloudinit string --cloudinit
-h, --help help for run
--no-creds Do not inject default SSH key via credentials; also implies --background
--quiet Suppress output from bootc disk creation and VM boot console
--rm Remove the VM and it's disk when the SSH session exits. Cannot be used with --background
-u, --user string --user (default: root) (default "root")
Global Flags: --log-level string Set log level `
I installed podman-bootc via the homebrew tap.
Thanks.
update:
$ podman-bootc run localhost/bootc-ami:latest
Creating bootc disk image... Installing image: docker://localhost/bootc-ami:latest Digest: sha256:7880730f1febec7e00425fa3d8ea6871b890897ae0c52656d93fc16a1ae2868d ERROR Installing to disk: Creating rootfs: No root filesystem specified Error: unable to install bootc image: failed to create disk image: failed to run bootc install