lspcontainers.nvim icon indicating copy to clipboard operation
lspcontainers.nvim copied to clipboard

Running x64 containers on apple arm

Open igorr-reco opened this issue 7 months ago • 1 comments

When trying to use lspcontainers on arm mac, I'm getting errors like

[ERROR][2024-07-09 17:14:18] .../vim/lsp/rpc.lua:770 "rpc" "/usr/local/bin/docker" "stderr" "Unable to find image 'lspcontainers/typescript-language-server:latest' locally\n" [ERROR][2024-07-09 17:14:20] .../vim/lsp/rpc.lua:770 "rpc" "/usr/local/bin/docker" "stderr" "latest: Pulling from lspcontainers/typescript-language-server\n" [ERROR][2024-07-09 17:14:20] .../vim/lsp/rpc.lua:770 "rpc" "/usr/local/bin/docker" "stderr" "docker: no matching manifest for linux/arm64/v8 in the manifest list entries.\nSee 'docker run --help'.\n"

As far as I understand rosetta allows to run x64 containers on arm chips. But I'm a bit struggling to understand what should I change in setup to make lspcontainers to download x64 containers and run those instead of searching for containers build specifically for arm

Will be very glad for any hints :)

igorr-reco avatar Jul 09 '24 14:07 igorr-reco