Dev Containers does not work in 0.45.0

Unfortunately upgraded to 0.45.0 few minutes ago:

Version: 0.45.0
VSCode Version: 1.96.2
Commit: f06cc5e62b757b2bf61ec052a8701fb2da9ded20
Date: 2025-01-20T19:17:28.428Z
Electron: 32.2.6
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Darwin arm64 24.2.0

After that it rebuild the current devcontainer and updated the extensions. After the window reload I stuck with the following message:

[7 ms] Dev Containers 0.394.0 in VS Code 1.96.2 (f06cc5e62b757b2bf61ec052a8701fb2da9ded20).
[7 ms] The Dev Containers extension is supported only in Microsoft versions of VS Code

Hpw could one develope an

“upgrade_migration_repo” for agents…

A litmus of agentic continuity…

have a base account repo. Into it various aspects of your logic and outputs and context reside.

When adapting to a new model, new agentic platform, or a latest update - put the agents through validation testing and USER ACCEPTANCE TESTING that the IDE (which is now the agent) can seamlessly move forward and wont backward break â– â– â– â– ?

Should there be an agentic versioning handoff?

Are there internal release notes that can be back-propagated to the existing agentic install such as:

"Im about to update to this [URL to release code that agents can slurp] – and I want you to evaluate our @codebase for any adjustments that need be written/done/logged/communicated – and give me a detailed rollout with rollback.

(in major ■■■■ (give me a DR plan) etc…

sas 70 the agent. Sarbox the agent, etc…

Could you try uninstalling and reinstalling the extension.

And if that does not work, could you try removing the extension: rm -r ~/.cursor/extensions/extension-name, then reinstall. Then restart Cursor via cmd+shift+p > reload window

How do you even install the dev container extension? I’ve tried so much different versions and none will install or even be recognized by cursor…

try manually install it:

https://marketplace.visualstudio.com/_apis/public/gallery/publishers/ms-vscode-remote/vsextensions/remote-containers/0.394.0/vspackage

Hi!

We published our own extension for dev containers. If it’s still not working for you, could you try uninstalling the existing extension, and then install the Cursor remote containers extension? You can find it by searching for @id:anysphere.remote-containers in the extension search box. (Attaching a screenshot)

Hi! Could you check this error that occurs when I try to attach to the docker conatiner with anysphere.remote-containers?
my cursor version is 0.50.5, the extension version is 0.0.12

I can attach using vscode but cannot with cursor.

[Error  - 06:53:55.284] Failed to install remote server in container: Error: Failed to install remote server in container: Error: Command failed with exit code 1: stdout: Killing all running Cursor servers
No running servers found
Killing running servers: 
Removing all existing Cursor installations
removed '/root/.cursor-server/bin/96e5b01ca25f8fbd4c4c10bc69b15f6228c80770/node_modules/https-proxy-agent/dist/index.d.ts.map'
...
removed directory '/root/.cursor-server/bin'
removed '/root/.cursor-server/.installation_lock'
Waiting for lock...
Lock acquired, proceeding with installation.
Installing server script
Cursor server path: /tmp/cursor-server-89252217-de94-4624-bd17-71b9fe9d1579.tar.gz
Using provided cursor server path: /tmp/cursor-server-89252217-de94-4624-bd17-71b9fe9d1579.tar.gz
Error server did not start successfully
Server log file: /root/.cursor-server/.96e5b01ca25f8fbd4c4c10bc69b15f6228c80770.log
Segmentation fault

and server log file is just “Segmentation Fault”

Hi @kiwicloooou, could you share the Dockerfile or docker image, and the dev container config that you are using? Thanks!

Hi, This is my Dockerfile. Thank you!

FROM ubuntu:20.04 AS base

ARG PYTHON_VERSION=3.12

# set environment variables
ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=Asia/Seoul

# for python
RUN apt-get update -y
RUN apt-get install software-properties-common -y
RUN add-apt-repository ppa:deadsnakes/ppa -y
RUN apt-get install -y python${PYTHON_VERSION}
RUN echo $(python3 --version)

# update and install packages
RUN apt-get install -y --no-install-recommends \
    build-essential \
    curl \
    git \
    awscli \
    zip \
    unzip \
    python3-pip \
    python3-setuptools \
    python3-wheel \
    # python${PYTHON_VERSION}-distutils \
    python3-distutils \
    software-properties-common \
    vim \
    zsh \
    autojump

# change default python3 & pip version to arg python3 version
RUN ln -s -f /usr/bin/python${PYTHON_VERSION} /usr/bin/python3 && \
    curl -sS https://bootstrap.pypa.io/get-pip.py | python3

RUN python3 -m pip install --upgrade pip

# Install zsh and set default
RUN chsh -s $(which zsh)

RUN apt-get install -y language-pack-en
RUN update-locale
RUN apt-get clean && \
    apt-get autoclean && \
    apt-get autoremove -y && \
    rm -rf /var/lib/cache/* && \
    rm -rf /var/lib/log/* \
    rm -rf /var/lib/apt/lists/*


# install poetry
RUN curl -sSL https://install.python-poetry.org | python3 -
RUN echo 'export PATH="/root/.local/bin:$PATH"' >> /root/.zshrc
RUN echo '/setup.sh' >> /root/.zshrc

# Add your setup script to the image
COPY setup.sh /setup.sh
RUN chmod +x /setup.sh

# Set your setup script as the entry point so it runs on container start
CMD ["zsh"]
1 Like

Thanks – I tried building a similar issue and wasn’t able to reproduce it. Would you be able to rm -rf /root/.cursor-server within the container, and try again?

If that doesn’t work, would you be able to create a new dev container? You can do so by running docker rm -fv <container id>. Note that this would cause any ephemeral state that is not stored inside a bind mount or named volume to be lost.

Thank you for checking. I’ll give that a try. Have a great day!