I am using wp-env on Windows 10, with wsl2 and Ubuntu-20.04. I can start a project and it works fine. When I run wp-env start on a stopped project I get a Docker error.
Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/run/desktop/mnt/host/wsl/docker-desktop-bind-mounts/Ubuntu-20.04/34ec5833acc422103f08cf6d54e92ac4931609adcd09f7a99577979325d327df" to rootfs at "/var/www/html": mount /run/desktop/mnt/host/wsl/docker-desktop-bind-mounts/Ubuntu-20.04/34ec5833acc422103f08cf6d54e92ac4931609adcd09f7a99577979325d327df:/var/www/html (via /proc/self/fd/14), flags: 0x5000: no such file or directory: unknown
"devDependencies": {
"@wordpress/env": "^5.4.0",
"@wordpress/eslint-plugin": "^13.3.0",
"@wordpress/scripts": "^24.3.0",
"npm-run-all": "^4.1.5",
"parse-gitignore": "^0.5.1"
},
"dependencies": {
"@wordpress/api-fetch": "^6.19.0",
"@wordpress/blocks": "^11.21.0",
"@wordpress/components": "^22.1.0",
"@wordpress/data": "^7.6.0",
"@wordpress/dom-ready": "^3.22.0",
"@wordpress/edit-post": "^6.19.0",
"@wordpress/icons": "^9.13.0",
"@wordpress/plugins": "^4.20.0",
"archiver": "^5.3.1"
}
Description
I am using wp-env on Windows 10, with wsl2 and Ubuntu-20.04. I can start a project and it works fine. When I run
wp-env starton a stopped project I get a Docker error.Step-by-step reproduction instructions
npm run env startSteps to resolve:
npm run env startScreenshots, screen recording, code snippet
No response
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes