如何在 vscode 之外构建并运行 .devcontainer 文件夹?

rap*_*tlw 3 docker visual-studio-code

VS Code 有这个很酷的功能,您可以创建利用 docker 的开发容器,并可以帮助您的团队在容器化和统一的方式上下文中构建软件。但是,我还想使用 VS Code 之外的开发容器。有什么办法可以做到吗?

Bor*_*lms 5

我创建了一个脚本来执行此操作。它采用现有的 devcontainer.json 并在 docker 中运行容器。您可以在此处找到更多信息https://blog.wille-zone.de/post/run-devcontainer-outside-of-visual-studio-code/