Godot from Container - Linux #7774
nevermore23274
started this conversation in
Platforms
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So I have Godot running out of a container, but have zero idea if this is even wanted. So, figured I'd share and if anybody wants it they can roll with it. As I just got this working 10 minutes ago, I haven't had much time to refine it. Really this is just so you can have the engine on your system, or not. Right now it has no persistence, but I'm working on that. (basically just need it to mount onto local drive for the actual project)
Right now, I'm looking at the sloppiness of how I'm basically just rerunning the executable over and over in the shell script. The reason for this: When you select your project, that window closes and the engine opens. When it closes, the container will close. So I made a gross way of making it stay open. (in other words, you'll need to kill the container, not just close out the program in order to leave the engine) Not to mention that I'm using root as it helped circumvent some of the issues with hardware.
For now, I made this on POP OS and am working on getting it to work with Fedora (though my Fedora is a Windows Surface tablet that I used ( thank you https://github.com/linux-surface/linux-surface ) so it's a bit of a tricky atm). I'll get a makefile working later with all the installs to help simplify it, but for now this works on my POP laptop so I thought I'd share.
Also note I'm using podman, but this should work if you just replace "podman" with "docker" if that's what you're wanting. https://github.com/nevermore23274/godot-engine-container
Beta Was this translation helpful? Give feedback.
All reactions