Sharp
Sharp
CCoder.com
Created by Sharp on 8/21/2023 in #help
envbox + envbuilder template
https://github.com/coder/envbuilder/issues/25 https://github.com/coder/envbuilder/issues/50 It looks like I need both these issues fixed before I can continue. Good to know. I can put this to bed for now
62 replies
CCoder.com
Created by Sharp on 8/21/2023 in #help
envbox + envbuilder template
I don't think its unreasonable for people to still want docker build access inside a devcontainer
62 replies
CCoder.com
Created by Sharp on 8/21/2023 in #help
envbox + envbuilder template
Would sysbox be the solution to use on gcp?
62 replies
CCoder.com
Created by Sharp on 8/21/2023 in #help
envbox + envbuilder template
(But I think that is impossible right now from my testing?)
62 replies
CCoder.com
Created by Sharp on 8/21/2023 in #help
envbox + envbuilder template
That is why I am trying to get envbox and envbuilder to play nice
62 replies
CCoder.com
Created by Sharp on 8/21/2023 in #help
envbox + envbuilder template
On k3s, no. They don't support it yet
62 replies
CCoder.com
Created by Sharp on 8/21/2023 in #help
envbox + envbuilder template
But on GCP, envbox seems like a lot of effort to go to when in theory I can just mount the docker sock
62 replies
CCoder.com
Created by Sharp on 8/21/2023 in #help
envbox + envbuilder template
I do need something. That is why I am trying to add envbox in my k3s setup
62 replies
CCoder.com
Created by Sharp on 8/21/2023 in #help
envbox + envbuilder template
If I want to run docker commands inside of envbuilder?
62 replies
CCoder.com
Created by Sharp on 8/21/2023 in #help
envbox + envbuilder template
Yeah, but I am still going to need to expose docker to the container (the envbuilder container) in some way right? Or does GCP just handle that? I also struggled to get GPU's to work with that
62 replies
CCoder.com
Created by Sharp on 8/21/2023 in #help
envbox + envbuilder template
Actually @kyle: ignoring my k3s envbox/envbuilder issue for a second, what would be the right way of putting envbuilder inside a gcp vm? Because you probably are okay accepting DooD at that point and just mounting the sock directly since its already in a gcp vm?
62 replies
CCoder.com
Created by Sharp on 8/21/2023 in #help
envbox + envbuilder template
(And then I can't imagine the pain of trying to then bundle all this in a google vm smh)
62 replies
CCoder.com
Created by Sharp on 8/21/2023 in #help
envbox + envbuilder template
So that is half of the problem solved, but I still need envbox it seems
62 replies
CCoder.com
Created by Sharp on 8/21/2023 in #help
envbox + envbuilder template
@Phorcys In case you are ever asked this again, it seems that devcontainer does just work, but docker is not present from inside the workspace
62 replies
CCoder.com
Created by Sharp on 8/21/2023 in #help
envbox + envbuilder template
Although I feel like it can't... How would I access docker in the Dev container? I guess we shall see
62 replies
CCoder.com
Created by Sharp on 8/21/2023 in #help
envbox + envbuilder template
Time to test. I'm going to feel like an idiot if it just works 🤣
62 replies
CCoder.com
Created by Sharp on 8/21/2023 in #help
envbox + envbuilder template
@Phorcys you might know the answer. Looking at https://github.com/coder/coder/blob/main/examples/templates/devcontainer-kubernetes/main.tf it seems the answer is no
62 replies
CCoder.com
Created by Sharp on 8/21/2023 in #help
envbox + envbuilder template
Wait a second. Maybe I am being silly. Does envbuilder work in a k8s pod without any kind of sysbox of DIND solution?
62 replies
CCoder.com
Created by Sharp on 8/21/2023 in #help
envbox + envbuilder template
Further update, I no longer have that error, but now it just hangs. Is there a good way to debug this? I think the problem is viewing the logs of the inner container.
62 replies
CCoder.com
Created by Sharp on 8/21/2023 in #help
envbox + envbuilder template
@kyle Okay so an update, I can get it working with the base envbox terraform file, but when I add my image (with no other changes) it hangs
62 replies