Skip to content

cannot delete devpod. permission denied #1941

@andrii-kriachko

Description

@andrii-kriachko

What happened?

Unable to delete rootless compose devpod.

What did you expect to happen instead?

deletion

How can we reproduce the bug? (as minimally and precisely as possible)

My devcontainer.json:

{
  "dockerComposeFile": "compose.yml",
  "service": "dev",
  "workspaceFolder": "/workspace",
  "forwardPorts": [
    8080
  ],
  "postCreateCommand": "pip install --upgrade pip; pip install -r requirements.txt"
}

My compose.yml:

services:
  dev:
    build:
      context: ..
      dockerfile: .devcontainer/Dockerfile

    volumes:
      - ..:/workspace:cached

    command: sleep infinity

My Dockerfile:

FROM mcr.microsoft.com/devcontainers/python:3.13

ENV PYTHONUNBUFFERED 1

# [Optional] If your requirements rarely change, uncomment this section to add them to the image.
# COPY requirements.txt /tmp/pip-tmp/
# RUN pip3 --disable-pip-version-check --no-cache-dir install -r /tmp/pip-tmp/requirements.txt \
#    && rm -rf /tmp/pip-tmp

# [Optional] Uncomment this section to install additional OS packages.
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
#     && apt-get -y install --no-install-recommends <your-package-list-here>

Local Environment:

  • DevPod Version: v0.6.15
  • Operating System: linux
  • ARCH of the OS: AMD64

DevPod Provider:

  • Local provider: docker

Anything else we need to know?
rootless docker installation

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions