Monday 7 December 2015

Best (most elegant and/or modern) solutions for managing docker from within NodeJS?

One of the ways that I'm able to do this is through Ansible. And this is definitely a sound option, but it involves more overhead and more time. Are there some elegant ways to orchestrate docker containers through NodeJS? What about simply using bash? Do bash callbacks in Node only finish once the action is finished? E.g. if I built a container, received a bash callback in Node and stderr was empty, does this now mean the container is running? (Though I'm aware I can also check by running 'docker ps', but just curious about the semantics

Submitted December 07, 2015 at 09:29PM by SomeRandomBuddy

No comments:

Post a Comment