Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
I fired up Cursor 2.0.75 and set up a very basic container for a Golang project. Upon loading up the IDE, it just hangs and never loads the project even with successful startup.
This was previous working until I fired up the new version of Cursor and I made no changes.
Steps to Reproduce
- Create a basic devcontainer setup - base image is
golang:1.25.3-bookworm, no dependencies - Re-launch the IDE into the project
- Allow container to build (note success)
- Wait for completion and note that project never loads
- Check the logs (no errors, no warnings)
Expected Behavior
One of the following:
- An error shows explaining that the container failed
- The project loads
Operating System
Linux
Current Cursor Version (Menu → About Cursor → Copy)
Version: 2.0.75
VSCode Version: 1.99.3
Commit: 9e7a27b76730ca7fe4aecaeafc58bac1e2c82120
Date: 2025-11-12T17:34:21.472Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Linux x64 6.17.4-76061704-generic
Additional Information
I also did the following:
- nuke everything Docker
- try additional projects that were previously working
Docker Version
Client: Docker Engine - Community
Version: 29.0.0
API version: 1.52
Go version: go1.25.4
Git commit: 3d4129b
Built: Mon Nov 10 21:46:03 2025
OS/Arch: linux/amd64
Context: default
Server: Docker Engine - Community
Engine:
Version: 29.0.0
API version: 1.52 (minimum version 1.44)
Go version: go1.25.4
Git commit: d105562
Built: Mon Nov 10 21:46:03 2025
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: v2.1.5
GitCommit: fcd43222d6b07379a4be9786bda52438f0dd16a1
runc:
Version: 1.3.3
GitCommit: v1.3.3-0-gd842d771
docker-init:
Version: 0.19.0
GitCommit: de40ad0
Files
All of the following is in the {PROJECT_ROOT}/.devcontainer folder.
devcontainer.json
{
"name": "MyApp",
"dockerComposeFile": "docker-compose.yml",
"service": "app-devcontainer",
"workspaceFolder": "/workspace",
"shutdownAction": "stopCompose",
"customizations": {
"vscode": {
"extensions": [
"golang.go",
"ms-azuretools.vscode-docker"
],
"settings": {
"go.toolsManagement.checkForUpdates": "local",
"go.useLanguageServer": true,
"go.gopath": "/go",
"go.goroot": "/usr/local/go"
}
}
},
"forwardPorts": [8080],
"portsAttributes": {
"8080": {
"label": "API",
"onAutoForward": "notify"
}
},
"postCreateCommand": "go mod download",
"remoteUser": "appdev"
}
Dockerfile
FROM golang:1.25.3-bookworm
# install standard tools
RUN apt-get update && apt-get install -y git curl && \
rm -rf /var/lib/apt/lists/*
# create a non-root user
ARG USERNAME=appdev
ARG USER_UID=1000
ARG USER_GID=${USER_UID}
RUN groupadd --gid ${USER_GID} ${USERNAME} && \
useradd --uid ${USER_UID} --gid ${USER_GID} -m ${USERNAME}
# set up Go environment
ENV GOPATH=/go
ENV PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
# install Go tools
# - gopls: Go language server (for code completion, formatting, and linting)
# - dlv: Go debugger (for debugging Go code)
RUN go install golang.org/x/tools/gopls@latest && \
go install github.com/go-delve/delve/cmd/dlv@latest
# switch to non-root user
USER $USERNAME
WORKDIR /workspace
docker-compose.yml
services:
app-devcontainer:
build:
context: .
dockerfile: Dockerfile
volumes:
- ..:/workspace:cached
command: sleep infinity
networks:
- myapp
networks:
myapp:
name: myapp
Does this stop you from using Cursor
Yes - Cursor is unusable