2 ms·
hmm, I tried this yesterday, Catalina, fresh install of podman/qemu: ; podman machine start INFO[0000] waiting for clients... I
by bazzargh 5y ago
hmm, I tried this yesterday, Catalina, fresh install of podman/qemu:
; podman machine start
INFO[0000] waiting for clients...
INFO[0000] listening tcp://0.0.0.0:7777
INFO[0000] new connection from to /var/folders/tv/ykgkkzr902n062tzjgbtwdc1bgt9y_/T/podman/qemu_podman-machine-default.sock
Waiting for VM ...
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2]
I hadn't dug into it because the docs for this feature are still missing, and I presumed it hasn't launched - I'd seen it in the demo https://podman.io/community/meeting/notes/2021-04-06/#podman-on-mac-preview https://podman.io/community/meeting/notes/2021-04-06/#podman...
So I took a look again:
; vim ~/.config/containers/podman/machine/qemu/podman-machine-default.json
# added arguments to cmd, "-cpu", "host"
# based on reading https://github.com/GNS3/gns3-server/issues/1639 for that error
; rm /var/folders/tv/ykgkkzr902n062tzjgbtwdc1bgt9y_/T/podman/qemu_podman-machine-default.sock
# podman machine start will complain if you don't remove the
# socket file after the crash above. `fuser` showed nothing
# connected to it
; podman machine start
INFO[0000] waiting for clients...
INFO[0000] listening tcp://0.0.0.0:7777
INFO[0000] new connection from to /var/folders/tv/ykgkkzr902n062tzjgbtwdc1bgt9y_/T/podman/qemu_podman-machine-default.sock
Waiting for VM ...
; podman machine ls
NAME VM TYPE CREATED LAST UP
podman-machine-default\* qemu 45 seconds ago Currently running
; podman pull alpine
Resolved "alpine" as an alias (/etc/containers/registries.conf.d/000-shortnames.conf)
Trying to pull docker.io/library/alpine:latest...
Getting image source signatures
Copying blob sha256:a0d0a0d46f8b52473982a3c466318f479767577551a53ffc9074c9fa7035982e
Copying blob sha256:a0d0a0d46f8b52473982a3c466318f479767577551a53ffc9074c9fa7035982e
Copying config sha256:14119a10abf4669e8cdbdff324a9f9605d99697215a0d21c360fe8dfa8471bab
Writing manifest to image destination
Storing signatures
14119a10abf4669e8cdbdff324a9f9605d99697215a0d21c360fe8dfa8471bab
; podman run -it alpine sh
/ #
Works!