Skip to content

Cannot build java project or node project in container, permission denied #11279

@zachary-wang12

Description

@zachary-wang12
  • VSCode Version: 1.105.1 (user setup)

  • Local OS Version: Windows_NT x64 10.0.26200

  • Remote OS Version: Linux (Debian) 6.6.87.2-microsoft-standard-WSL2

  • Remote Extension/Connection Type: Dev Containers

    Docker Info
    Client: Docker Engine - Community
    Version:    28.5.1
    Context:    rootless
    Debug Mode: false
    Plugins:
    buildx: Docker Buildx (Docker Inc.)
        Version:  v0.29.1
        Path:     /usr/libexec/docker/cli-plugins/docker-buildx
    compose: Docker Compose (Docker Inc.)
        Version:  v2.40.2
        Path:     /usr/libexec/docker/cli-plugins/docker-compose
    
    Server:
    Containers: 1
    Running: 1
    Paused: 0
    Stopped: 0
    Images: 6
    Server Version: 28.5.1
    Storage Driver: overlay2
    Backing Filesystem: extfs
    Supports d_type: true
    Using metacopy: false
    Native Overlay Diff: true
    userxattr: true
    Logging Driver: json-file
    Cgroup Driver: systemd
    Cgroup Version: 2
    Plugins:
    Volume: local
    Network: bridge host ipvlan macvlan null overlay
    Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
    CDI spec directories:
    /etc/cdi
    /var/run/cdi
    Swarm: inactive
    Runtimes: io.containerd.runc.v2 runc
    Default Runtime: runc
    Init Binary: docker-init
    containerd version: b98a3aace656320842a23f4a392a33f46af97866
    runc version: v1.3.0-0-g4ca628d1
    init version: de40ad0
    Security Options:
    seccomp
    Profile: builtin
    rootless
    cgroupns
    Kernel Version: 6.6.87.2-microsoft-standard-WSL2
    Operating System: Debian GNU/Linux 13 (trixie)
    OSType: linux
    Architecture: x86_64
    CPUs: 16
    Total Memory: 15.58GiB
    Name: HostName
    ID: 4b67a0a4-a00d-4aab-ac09-e95532456718
    Docker Root Dir: /home/user/.local/share/docker
    Debug Mode: false
    Experimental: false
    Insecure Registries:
    ::1/128
    127.0.0.0/8
    Live Restore Enabled: false
    
    WARNING: No cpuset support
    WARNING: No io.weight support
    WARNING: No io.weight (per device) support
    WARNING: No io.max (rbps) support
    WARNING: No io.max (wbps) support
    WARNING: No io.max (riops) support
    WARNING: No io.max (wiops) support
    
  • Does this issue occur when you try this locally?: Yes/No

  • Does this issue occur when you try this locally and all extensions are disabled?: Cannot test

I checked several similar issues, but didn't get any useful info.

#10681 #10631 : Closed automatically because it needs more information and has not had recent activity

Metadata

Metadata

Assignees

Labels

containersIssue in vscode-remote containers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions