PowerShell 7.4-debian-11 image triggers an internal CLR error when executing a PowerShell command when run via Docker Desktop on Apple Silicon
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- docker, dockerfile, powershell
- Ambito
- devops, infrastructure
Direzione di ricerca
Inizia riproducendo il comando docker run documentato su Apple Silicon con Docker Desktop, quindi esamina l’immagine PowerShell 7.4 Debian 11 e la relativa configurazione di runtime in relazione all’errore Regex1_Scan e all’errore CLR interno segnalati. Il lavoro è completato quando Write-Warning Test produce l’avviso previsto senza terminare il processo PowerShell.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest image.
- Search the existing issues.
- Verified that this is not a Known Issue
- Verified this is not an issues in the underlying windows container that should be reported to Windows Feedback Hub
Steps to reproduce
- Use a Mac with Apple Silicon
- Use macOS Sonoma 14.2.1 (23C71)
- Use Docker Desktop 4.28.0 (139021)
- Run the following commands in a terminal (
%is the zsh prompt,PS />is the prompt inside the container):
% docker run -it --name "ps74" --platform "linux/amd64" --rm "mcr.microsoft.com/powershell:7.4-debian-11"
PS /> Write-Warning Test
Expected behavior
WARNING: Test
Actual behavior
An error has occurred that was not properly handled. Additional information is shown below. The PowerShell process will exit.
Error details
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
at Regex1_Scan(RegexRunner, ReadOnlySpan`1)
Fatal error. Internal CLR error. (0x80131506)
at DynamicClass.Regex1_Scan(System.Text.RegularExpressions.RegexRunner, System.ReadOnlySpan`1<Char>)
Environment data
{
"schemaVersion": 2,
"mediaType": "application/vnd.docker.distribution.manifest.v2+json",
"config": {
"mediaType": "application/vnd.docker.container.image.v1+json",
"size": 3699,
"digest": "sha256:b04037c30904d6cf7f4691d77f7c908e203abb2cea5c70abad51799c8ca07c11"
},
"layers": [
{
"mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
"size": 31422489,
"digest": "sha256:c0edef2937fa3b888b0cc3f9f5a4db00a1be6f297be5f057a77d738f91e675a0"
},
{
"mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
"size": 72981391,
"digest": "sha256:47d8a5670baa302610b81b696367412a0ea2c33e27a73b0be67b4c511c45900d"
},
{
"mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
"size": 23842684,
"digest": "sha256:742248d80c879b816bfbc9481c14e1b078ed5dacea8f26453d3245d313f8bfde"
},
{
"mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
"size": 20896,
"digest": "sha256:ce8b82fb86b67eddc909e803fb07a192dbdce2ecf0098dc105be732e12d18628"
}
]
}
Visuals
- Lingua principale
- Dockerfile
- Stelle
- 449
- Fork
- 158
- Merge medio
- 3g 10h
- PR unite (30g)
- 1
Guida per i contributori
Apri 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 PowerShell/PowerShell-Docker
-
Git ApertaIssue-Enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
PowerShell/PowerShell-Docker#857 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
PowerShell/PowerShell-Docker#856 · 2 commenti · 1 reazione ·
-
Issue-Enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 48/100
PowerShell/PowerShell-Docker#854 ·
-
Issue-Enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
PowerShell/PowerShell-Docker#853 · 6 commenti · 17 reazioni ·
-
Issue-Enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
PowerShell/PowerShell-Docker#851 · 2 commenti · 2 reazioni ·
Tutte le issue di PowerShell/PowerShell-Docker
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
ethereum-optimism/factory#64 ·
-
Observer env strips CLAUDE_CODE_TMPDIR, which is the documented fix for a fatal temp-dir error Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
thedotmack/claude-mem#4161 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
bitcoindevkit/bdk-ffi#1125 ·
-
intake mcp-intake needs-ac needs-human-review priority:medium type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
Ikalus1988/MisakaNet#2019 · 2 commenti ·
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100