You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm unsure if this issue belong to this repo or coder/coder. Tell me if I should move it.
Currently registry.coder.com have only two examples of envbuilder/devcontainer ( docker and k8s)
Do you know if it will be possible to use envbuilder to provision a single workspace per VM ? (VM as isolation model)
The use-case I have in mind is to provide a secure way of using docker in the workspace.
The exact same way codespaces do by default with the feature docker-in-docker ( related to #25 )
The docker-in-docker feature is not secure as it allows to breakout the container and access the underlying host.
But on codespaces that's totally fine because Azure VMs are not shared. (one workspace per VM)
However, tell me if I'm wrong but envbuilder is mainly used with linux NS isolation (k8s, openshift or docker with multiple workspaces on the same VM) .
In that case providing docker would be a little tricky and seem there is only two solutions :
The gitpod solution : rootless docker & slirp4netns + several hacks to make it work. (seem harder, less performant)
We should have a sample that does this... and ideally for every cloud. On GCP you can actually launch a VM with a container image, and that image could be envbuilder, which would replicate the Codespaces experience you mentioned.
I'm unsure if this issue belong to this repo or
coder/coder
. Tell me if I should move it.Currently
registry.coder.com
have only two examples of envbuilder/devcontainer (docker
andk8s
)Do you know if it will be possible to use envbuilder to provision a single workspace per VM ? (VM as isolation model)
The use-case I have in mind is to provide a secure way of using docker in the workspace.
The exact same way
codespaces
do by default with the featuredocker-in-docker
( related to #25 )The
docker-in-docker
feature is not secure as it allows to breakout the container and access the underlying host.But on
codespaces
that's totally fine because Azure VMs are not shared. (one workspace per VM)However, tell me if I'm wrong but envbuilder is mainly used with linux NS isolation (
k8s
,openshift
ordocker
with multiple workspaces on the same VM) .In that case providing docker would be a little tricky and seem there is only two solutions :
rootless docker
&slirp4netns
+several hacks
to make it work. (seem harder, less performant)sysbox
orenvbox
Envbuilder does not run in a sysbox container #50 (easier)(Note: for both solutions I doubt
docker-in-docker
feature can be used as is)The text was updated successfully, but these errors were encountered: