Add Zed to docs about Dev Containers#6732
Add Zed to docs about Dev Containers#6732deevroman wants to merge 1 commit intoopenstreetmap:masterfrom
Conversation
|
The whole point of dev containers was supposed to be that they provide a portable description of how to run things that can work across environments but between apparently needing an entirely different definition for codespaces and starting to fill up the documentation with a series of environment specific hacks it seems they are failing to fulfill that 😞 |
|
It seems to me that the problem is either somewhere near this setting openstreetmap-website/.devcontainer/devcontainer.json Lines 28 to 29 in faf250a Either in .devcontainer/Dockerfile, where the root user is specified by default However, I'm not good at Dev Containers configuration. Maybe even a feature freshness issue in Zed Anyway it's a small thing compared to the fact that this is the first time I've been able to get fully green tests on a Mac with Arm, without using Rosetta:
|
|
Well, I was glad early. There is also a difference between dev containers in VSCode and Zed. The documentation suggests using That is, for Zed, I had to add it to ports:
- "3000:3000"And start the server with the |
|
OK, "VSCode does some magic" might be the issue here. It could be that different IDEs are trying to be smart and do things that are neither on the common spec nor advertised by themselves. So if we slowly get things to work in different tools, it might solve things for others. I'm trying to test with Zed in a machine where I have it installed... but now VSCode is not working there 😡 I'll come back to this in a few days when my blood pressure is lower. |
|
Had another look. It appears that VSCode creates a |

Zed added support for Dev Containers in January of 2026. I tested the work of Dev Containers with this repository and the only remark is that Zed opens the terminal from under the
rootuser, which is why you get an error:env: ‘ruby’: No such file or directoryand
mise: not foundAdded information about this to Troubleshooting