3 ms·
Hmm, this is very interesting. Currently I use CodeRunner on my mac to do this kind of one-offs but I rarely save them. It's mainly an easily way for me to test
by joshstrange 7y ago
Hmm, this is very interesting. Currently I use CodeRunner on my mac to do this kind of one-offs but I rarely save them. It's mainly an easily way for me to test out a theory on how some code will behave in an isolated environment. I would be interested in this if it could run itself inside a docker container as well so I could easily throw it on my NAS. I guess I could just run it in a VM but...
- netgusto 7y ago> if it could run itself inside a docker container It could be done by running the snippet containers in the same docker host as the one running nodebook (by exposing the host's docker socket to the nodebook container). Is this what you have in mind?
- joshstrange 7y agoYes, I was thinking docker-in-docker was probably the answer to that. Or a single docker container with all runtimes installed in it so you didn't have to deal with the DiD overhead. Hell, I could probably just throw it into a docker with just node/php/java (since that is my main use-case) and call it a day.