[Bug]: `run --virtualization` on M1 fails late with internalError; `machine create` checks up front
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 68/100
Direzione di ricerca
Start by tracing the run command's --virtualization path and compare its host checks with those used by machine create; the issue names no source files or tests. Reproduce on an unsupported Apple Silicon host if available, then locate the existing machine create check and its tests. Done when run and create reject unsupported hosts up front with a clear error.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I have done the following
- I have searched the existing issues
- If possible, I've reproduced the issue using the 'main' branch of this project (reproduced on the 1.7.1 release)
Steps to reproduce
On an Apple M1:
container run --rm --virtualization alpine:3.22 true
container machine create --name test --virtualization alpine:3.22
Problem description
run fetches the image and boots the VM, then fails with:
Error: failed to bootstrap container (cause: "internalError: "failed to bootstrap container <id> (cause: "unsupported: "nested virtualization is not supported on the platform"")"")
machine create fails right away with a clear message:
Error: nested virtualization is not supported on this host (requires Apple Silicon M3+ and macOS 15+)
Expected: run/create do the same up-front host check.
Related: on an M4 Pro, --virtualization with the default kernel (6.18.56) succeeds but /dev/kvm is missing. --help mentions CONFIG_KVM=y, but a runtime warning would save a debugging round (see #1222).
Environment
- OS: macOS 27.2.1 (26B131)
- Xcode: n/a (signed release pkg)
- Container: 1.7.1 (a15b460)
Code of Conduct
- I agree to follow this project's Code of Conduct
- Lingua principale
- Swift
- Stelle
- 51.9k
- Fork
- 1.8k
- Merge medio
- 2g 3h
- PR unite (30g)
- 27
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di apple/container
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: Kernel download ignores credentials in HTTPS_PROXY and fails with proxyAuthenticationRequiredAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
apple/container#2499 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: `container machine logs -f` exits immediately when the log is emptyForse già presa @srivilliamsai l’ha presa 5 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
apple/container#2492 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: Intermittent failure in PathUtilsTests.testNewDirectoryIsExcludedAndExistingChoiceIsKeptAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
apple/container#2474 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
[Request]: container ls --filter label=key=valueForse già presa @kavix l’ha presa 21 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
apple/container#2403 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di apple/container
Issue simili
-
compiler diagnostics quality ownership SIL ownership
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 64/100
I maintainer di solito rispondono entro 1 giorno
-
T-Defect
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
element-hq/element-x-ios#6536 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Switch to new string APIApertafxios-coreexperience
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
mozilla-mobile/firefox-ios#36661 ·
I maintainer di solito rispondono entro 1 giorno
-
needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
manaflow-ai/cmux#45713 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno