# Extensions in Devcontainer not installing properly

**URL:** <https://forum.cursor.com/t/extensions-in-devcontainer-not-installing-properly/20436>\
**Category:** Bug Reports\
**Created:** [September 30, 2024, 6:26pm UTC](https://forum.cursor.com/t/extensions-in-devcontainer-not-installing-properly/20436 "2024-09-30T18:26:12Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![fperezm](https://avatars.discourse-cdn.com/v4/letter/f/e99b99/32.png) [@fperezm](https://forum.cursor.com/u/fperezm)\
**Post date:** [September 30, 2024, 6:26pm UTC](https://forum.cursor.com/t/extensions-in-devcontainer-not-installing-properly/20436/1 "2024-09-30T18:26:12Z")

</div>

Some extensions in devcontainer are not installing correctly. For example pylance, my current solution is to manually install it and reload the window.

---

<div class="post-metadata">

**Author:** ![eldy](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/eldy/32/18268_2.png) [@eldy](https://forum.cursor.com/u/eldy)\
**Post date:** [January 3, 2025, 12:30pm UTC](https://forum.cursor.com/t/extensions-in-devcontainer-not-installing-properly/20436/2 "2025-01-03T12:30:15Z")

</div>

I do have similar problems, some extensions are not installed even if they are listed in devcontainer.json. They can be manually installed but by default they are not there.  
The problem seems to be only in Cursor, VSCode installs them all automatically

---

<div class="post-metadata">

**Author:** ![tomjschwanke](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/tomjschwanke/32/19037_2.png) [@tomjschwanke](https://forum.cursor.com/u/tomjschwanke)\
**Post date:** [January 8, 2025, 8:57am UTC](https://forum.cursor.com/t/extensions-in-devcontainer-not-installing-properly/20436/3 "2025-01-08T08:57:02Z")

</div>

Same problem here. `yy0931.vscode-sqlite3-editor` is listed in the devcontainer file but I still have to install it manually. VSCode still installs it without issue

---

<div class="post-metadata">

**Author:** ![danperks](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/danperks/32/19087_2.png) [@danperks](https://forum.cursor.com/u/danperks)\
**Post date:** [January 10, 2025, 1:38pm UTC](https://forum.cursor.com/t/extensions-in-devcontainer-not-installing-properly/20436/4 "2025-01-10T13:38:14Z")

</div>

Improvements coming to dev containers hopefully, which may fix some bugs and improve stability. Keep an eye out for an update in the near future on this.

---

<div class="post-metadata">

**Author:** ![Oli-Ward](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/oli-ward/32/21998_2.png) [@Oli-Ward](https://forum.cursor.com/u/Oli-Ward)\
**Post date:** [January 24, 2025, 11:32am UTC](https://forum.cursor.com/t/extensions-in-devcontainer-not-installing-properly/20436/5 "2025-01-24T11:32:52Z")

</div>

I am also having similar problems, can install the extensions from the sidebar, but it does not load them from the devcontainer json.

I have also had issues sshing inside a linux box from the devcontainer, it previously worked but after doing it over an ngrok tunnel to the same box, I can no longer do it locally. Is this behaviour related to any dev container fixes that are being rolled out?

---

<div class="post-metadata">

**Author:** ![debian3](https://avatars.discourse-cdn.com/v4/letter/d/e68b1a/32.png) [@debian3](https://forum.cursor.com/u/debian3)\
**Post date:** [January 24, 2025, 11:41am UTC](https://forum.cursor.com/t/extensions-in-devcontainer-not-installing-properly/20436/6 "2025-01-24T11:41:12Z")

</div>

Problem is still there on 0.45.2. Lot of extension in devcontainer.json doesn’t install. I was hoping 0.45 would fix this.

---

<div class="post-metadata">

**Author:** ![danperks](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/danperks/32/19087_2.png) [@danperks](https://forum.cursor.com/u/danperks)\
**Post date:** [January 24, 2025, 2:06pm UTC](https://forum.cursor.com/t/extensions-in-devcontainer-not-installing-properly/20436/7 "2025-01-24T14:06:42Z")

</div>

To be clear, the issue here is that extensions are not automatically installed in DevContainers?

---

<div class="post-metadata">

**Author:** ![debian3](https://avatars.discourse-cdn.com/v4/letter/d/e68b1a/32.png) [@debian3](https://forum.cursor.com/u/debian3)\
**Post date:** [January 24, 2025, 2:18pm UTC](https://forum.cursor.com/t/extensions-in-devcontainer-not-installing-properly/20436/8 "2025-01-24T14:18:20Z")

</div>

yes, they are listed in the devcontainer.json, but they don’t get installed when building the container. Some does, and some doesn’t (not sure why). In VS Code, they all install fine.

---

<div class="post-metadata">

**Author:** ![danperks](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/danperks/32/19087_2.png) [@danperks](https://forum.cursor.com/u/danperks)\
**Post date:** [January 24, 2025, 2:47pm UTC](https://forum.cursor.com/t/extensions-in-devcontainer-not-installing-properly/20436/9 "2025-01-24T14:47:02Z")

</div>

Are the ones that dont install imported from VSCode when you first downloaded Cursor?

It’s possible the imported extensions do not have compatibility with the devcontainers server that gets installed, so you have to manually click install, which gets the latest compatible version.

I may be wrong, but try delete and reinstall an extension that isn’t installing automatically on your local machine, then try to connect and see if its installed then!

---

<div class="post-metadata">

**Author:** ![debian3](https://avatars.discourse-cdn.com/v4/letter/d/e68b1a/32.png) [@debian3](https://forum.cursor.com/u/debian3)\
**Post date:** [January 28, 2025, 4:18pm UTC](https://forum.cursor.com/t/extensions-in-devcontainer-not-installing-properly/20436/10 "2025-01-28T16:18:32Z")

</div>

> [@danperks](#):
>
> I may be wrong

Yes, you are, that’s not how it works. The extension in devcontainer.json are installed inside the container, not on the local machine. Still not solved in 0.45.4  
You should not mark a thread as “Solved” if a fix is coming, that’s not what solved mean.

---

<div class="post-metadata">

**Author:** ![Linkpad](https://avatars.discourse-cdn.com/v4/letter/l/90db22/32.png) [@Linkpad](https://forum.cursor.com/u/Linkpad)\
**Post date:** [January 30, 2025, 10:24am UTC](https://forum.cursor.com/t/extensions-in-devcontainer-not-installing-properly/20436/11 "2025-01-30T10:24:03Z")

</div>

Can confirm that in cursor 0.45.4 the issue is not solved.

Here’s more information that could maybe help fix the issue :

- when I search the extension “task runner” in the extension tab, it work (id: `SanaAjani.taskrunnercode`) and I can install it in devcontainer, I can also add it in my devcontainer.json.

- When re-opening my devcontainer, the startup script fail to install the extension automatically (`SanaAjani.taskrunnercode`) here’s some log :

```auto
[5816 ms] [09:42:45] [127.0.0.1][4822f07a][ExtensionHostConnection] New connection established.
[5818 ms] [09:42:45] [127.0.0.1][4822f07a][ExtensionHostConnection] <584> Launched Extension Host Process.
[7395 ms] [09:42:47] Extension 'sanaajani.taskrunnercode' not found.
Make sure you use the full extension ID, including the publisher, e.g.: ms-dotnettools.csharp

```

I found out that, some extensions get installed correctly and when it’s the case they are available on [open-vsx.org](http://open-vsx.org), and when it fail they are not on [open-vsx.org](http://open-vsx.org), so that could probably be the issue ?

---

<div class="post-metadata">

**Author:** ![lokimon](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/lokimon/32/24276_2.png) [@lokimon](https://forum.cursor.com/u/lokimon)\
**Post date:** [February 4, 2025, 4:27pm UTC](https://forum.cursor.com/t/extensions-in-devcontainer-not-installing-properly/20436/12 "2025-02-04T16:27:38Z")

</div>

Any help on this? Super annoying that some extensions have to be install “manually”.

```auto
[195224 ms] [16:12:42] Extension 'ms-vscode.cpptools-extension-pack' not found.
Make sure you use the full extension ID, including the publisher, e.g.: ms-dotnettools.csharp
[16:12:42] Extension 'wraith13.zoombar-vscode' not found.
Make sure you use the full extension ID, including the publisher, e.g.: ms-dotnettools.csharp
[16:12:42] Extension 'zachflower.uncrustify' not found.
Make sure you use the full extension ID, including the publisher, e.g.: ms-dotnettools.csharp

```

---

<div class="post-metadata">

**Author:** ![debian3](https://avatars.discourse-cdn.com/v4/letter/d/e68b1a/32.png) [@debian3](https://forum.cursor.com/u/debian3)\
**Post date:** [February 4, 2025, 7:47pm UTC](https://forum.cursor.com/t/extensions-in-devcontainer-not-installing-properly/20436/13 "2025-02-04T19:47:24Z")

</div>

Still not fixed in 0.45.9

```auto
[102416 ms] [19:42:28] Extension installed successfully: hbenl.vscode-test-explorer file:///root/.cursor-server/extensions/extensions.json
[19:42:28] Extension installed successfully: actboy168.tasks file:///root/.cursor-server/extensions/extensions.json
[19:42:28] Extension installed successfully: aaron-bond.better-comments file:///root/.cursor-server/extensions/extensions.json
[19:42:28] Extension installed successfully: ms-azuretools.vscode-docker file:///root/.cursor-server/extensions/extensions.json
[19:42:28] Extension installed successfully: ms-vscode.test-adapter-converter file:///root/.cursor-server/extensions/extensions.json
[19:42:28] Extension installed successfully: bradlc.vscode-tailwindcss file:///root/.cursor-server/extensions/extensions.json
[19:42:28] Extension installed successfully: eamodio.gitlens file:///root/.cursor-server/extensions/extensions.json
[102423 ms] [19:42:28] Extension 'hbenl.vscode-test-explorer' v2.22.1 was successfully installed.
[19:42:28] Extension 'actboy168.tasks' v0.16.0 was successfully installed.
[19:42:28] Extension 'aaron-bond.better-comments' v3.0.2 was successfully installed.
[19:42:28] Extension 'ms-azuretools.vscode-docker' v1.29.4 was successfully installed.
[19:42:28] Extension 'ms-vscode.test-adapter-converter' v0.2.1 was successfully installed.
[19:42:28] Extension 'bradlc.vscode-tailwindcss' v0.10.2 was successfully installed.
[19:42:28] Extension 'eamodio.gitlens' v16.2.1 was successfully installed.
[102424 ms] [19:42:28] Error: Failed Installing Extensions: jakebecker.elixir-ls, phoenixframework.phoenix, adamzapasnik.elixir-test-explorer, ms-vscode.vscode-websearchforcopilot, ms-vscode.vscode-commander, github.copilot, github.copilot-chat
    at Kc.installExtensions (file:///vscode/cursor-server/bin/linux-arm64/cce0110ca40ceb61e76ecea08d24210123895320/out/server-main.js:71:35452)

```

---

<div class="post-metadata">

**Author:** ![debian3](https://avatars.discourse-cdn.com/v4/letter/d/e68b1a/32.png) [@debian3](https://forum.cursor.com/u/debian3)\
**Post date:** [February 9, 2025, 1:01pm UTC](https://forum.cursor.com/t/extensions-in-devcontainer-not-installing-properly/20436/14 "2025-02-09T13:01:55Z")

</div>

Still not fixed in 0.45.11

---

<div class="post-metadata">

**Author:** ![danperks](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/danperks/32/19087_2.png) [@danperks](https://forum.cursor.com/u/danperks)\
**Post date:** [February 19, 2025, 10:03pm UTC](https://forum.cursor.com/t/extensions-in-devcontainer-not-installing-properly/20436/15 "2025-02-19T22:03:12Z")

</div>

Thanks for the detailed logs!

You’re right, there does seem to be an issue regarding extension installation here. I’m hopeful we can improve the experience around DevContainers soon.

---

<div class="post-metadata">

**Author:** ![williamlac](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/williamlac/32/20476_2.png) [@williamlac](https://forum.cursor.com/u/williamlac)\
**Post date:** [March 11, 2025, 8:57am UTC](https://forum.cursor.com/t/extensions-in-devcontainer-not-installing-properly/20436/16 "2025-03-11T08:57:11Z")

</div>

Hello! Just to give more traction to this here. I see this happening on my setup also, but something else i noticed, Python and Python Debugger for example are never installed, but if i search python on the extensions list, it starts installing them and offers to reload the window, without me having to click on install

---

<div class="post-metadata">

**Author:** ![lindjacob](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/lindjacob/32/40514_2.png) [@lindjacob](https://forum.cursor.com/u/lindjacob)\
**Post date:** [March 25, 2025, 4:24pm UTC](https://forum.cursor.com/t/extensions-in-devcontainer-not-installing-properly/20436/17 "2025-03-25T16:24:41Z")

</div>

The problem persists

---

<div class="post-metadata">

**Author:** ![Fisher-Wang](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/fisher-wang/32/43791_2.png) [@Fisher-Wang](https://forum.cursor.com/u/Fisher-Wang)\
**Post date:** [April 3, 2025, 3:06am UTC](https://forum.cursor.com/t/extensions-in-devcontainer-not-installing-properly/20436/18 "2025-04-03T03:06:21Z")

</div>

Same here

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [December 21, 2025, 8:57am UTC](https://forum.cursor.com/t/extensions-in-devcontainer-not-installing-properly/20436/19 "2025-12-21T08:57:42Z")

</div>

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.
