The post indicates that the community member is able to run Docker successfully, but encounters an error when running the "pnpm dev" step. The comments suggest that the community members are facing similar issues when following the instructions in the documentation to run Webstudio in Docker with VS Code. Some community members have provided suggestions, such as adding "127.0.0.1 wstd.dev" to the /etc/hosts file, or using localhost instead of wstd.dev. However, there is no explicitly marked answer to the issue.
I get similar errors to @Tuấn Phong when following the guide in the docs on how to run Webstudio in Docker with VS Code. @TrySound Where is your screenshot from as I can't see it in the docs either?
I use devcontainer with vscode, and gonna to remove all other sections. Probably some packages installed on mac/windows interfere with docker install etc
I was able to overcome this error, by adding “127.0.0.1 wstd.dev” to my /etc/hosts file. Now the dashboard and login works, but projects still don’t work. They are on subdomains of wstd.dev and thus are not reachable. I’m still figuring out a solution to this, but if anyone here knows how to do that, I’d appreciate any help. Hope this helps anyone, facing similar issues.
While I haven’t found a proper answer until now, I found some success with using localhost instead of wstd.dev. It gives you warnings, as ssl doesn’t work with localhost, but it works. Also make sure to also log in over the localhost route, as switching afterwards results in errors in the docker container. If I find a proper answer I will post it here.