我目前正在建立一个VSCODE DEVCONTAINER,可以与我的团队分享。
该容器是使用 devcontainer build
构建的,并推开了我们的私人注册表。然后在存储库中,我们正在拉那个容器
我的问题是围绕 devcontainer.json
用于预构建容器的文件。看来我找不到任何答案。
我实际上可以从上下文?从文档中,他们只会从一对夫妇那里展示一对。但是其他人呢? (尤其是设置
)
I am currently build a VSCode devcontainer to share with my team.
The container is built on a Gitlab pipeline using devcontainer build
and pushed on our private registry. Then in the repo we are pulling that container
My question is around the devcontainer.json
file used for the prebuilt container. It seems I can't find any answer nowhere.
What property can I actually use from the reference in a devcontainer build
context? From the doc, they only show a couple from an couple. But what about the others? (especially settings
)
发布评论
评论(1)
您可以从
devcontainer.json
中的私有注册表中指定容器映像。devcontainer.json
ref: https://code.visualstudio.com/docs/remote/create-dev-container#_create-a-devcontainerjson-file
You can specify the container image from your private registry in the
devcontainer.json
.devcontainer.json
Ref: https://code.visualstudio.com/docs/remote/create-dev-container#_create-a-devcontainerjson-file