Skip to content

"mount path must be absolute" when creating a workspace #1871

Open
@daxuyin

Description

@daxuyin

Dear DevPod engineers and developers,

I created a DevPod docker Provider in a remote Ubuntu Linux platform (an Ubuntu 24.04.2 LTS vm on VMware Workstation), listening on default port 2375.
When creating a workspace with DevPod GUI on my local Windows 11, I received the following error message:

[00:49:30] info Creating devcontainer...
[00:49:31] info Clone repository
[00:49:31] info URL: https://github.com/microsoft/vscode-remote-try-python
[00:49:31] info Successfully cloned repository
[00:49:31] info Inspecting image mcr.microsoft.com/devcontainers/python:1-3.12
[00:49:32] info docker: Error response from daemon: invalid mount config for type "bind": invalid mount path: 'C:/Users/daxu/.devpod/agent/contexts/default/workspaces/my-workspace-remote-docker/content' mount path must be absolute
[00:49:32] info Run 'docker run --help' for more information
[00:49:32] info devcontainer up: start dev container: exit status 125
[00:49:32] info exit status 1
[00:49:32] error Try enabling Debug mode under Settings to see a more verbose output
[00:49:32] fatal run agent command: Process exited with status 1

The workspace was created with the sample image from Git Repo for python: https://github.com/microsoft/vscode-remote-try-python, and with VS Code as IDE.

Is there anything I missed or did incorrectly?

BTW, the same Windows 11, similar configuration, sample python image + VS Code, works fine when using the docker running on the local Windows 11

Could anyone please help me on this issue? Many thanks in advance,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions