3 ms·
Yes, like jonmurdoch mentioned, calling shell commands from your node application will work. However, the Docker CLI is really only a CLI and has no magic in i
by nherment 10y ago
Yes, like jonmurdoch mentioned, calling shell commands from your node application will work.
However, the Docker CLI is really only a CLI and has no magic in it. If I remember correctly, it even talks HTTP to the docker server (please don't take that at face value).
In that case it should be possible to talk directly to docker through HTTP calls.
...indeed, a quick search about "nodejs docker client" gives you a few options, one of which is https://github.com/apocas/dockerode https://github.com/apocas/dockerode.
- gladsva 10y agoahh.. awesome, this library looks to have everything I could need. Thank you.