-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Container support #1
Comments
Please assign it to me! We've talked about approaches to this issue, so I could take the lead on it! |
Hey @lanjoni. I've done my research and a couple of tests, and I came to a possible solution, which implies on modifications to docker itself. The library I'll be using is crystal-docker, which doesn't have support for socket based connections e.g: I also found this article that explains the benefits of making this change. Besides the security problems, the only backside is that everyone wanting to use the What do you think about this? I'm open to ideas. |
Hi @J0sueTM! Perhaps the solution itself is somewhat simpler than running Crystal per container. Well, the advantage of using Crystal is that we can use an executable with the code already compiled. The main point may be: we don't need a container to run Crystal but we need containers to run the resolutions of other programming languages. Perhaps it would be more practical not to worry about executing a container in Crystal to communicate with others, after all, the compiled one will be executed on the host and will have to upload containers and execute code from other programming languages, also validating the output of each code executed as it is already doing today. What do you think about that? |
Hey, the first PR for this case was merged on #15! |
Some updates to do:
|
Besides these necessary updates, we've found a couple of things that aren't related first hand to this PR, but still inflicts on it, which are:
|
Okay, we all know that it's not practical for anyone to have all the programming languages installed right? But, what if I had a flag stating that to execute, an alternative command must be executed, that is: a command to be executed in a specific programming language container?
Wow! It would be simply incredible, wouldn't it?
Well, this issue is open for exactly that! Comment here and let's discuss more or open your pull request!
The text was updated successfully, but these errors were encountered: