docker-exec
Run multiple commands in a docker container. Very useful if you need a container where you are able to run multiple commands. Every command that runs in a container is encapsulated in a javascript promise and returns once the command is done.
Requirements
This module is based on docker. Please follow the installation guide and a specific guide for Mac.
Usage
// var ds = new DockerRunner();dsstart;
On Mac install boot2docker and change the initialization:
// for mac usevar ds = host: 'http://127.0.0.1' port: 4243;
Contributing
- Fork it ( http://github.com/chris-rock/exec-simple/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Author
- Christoph Hartmann chris@lollyrock.com
License
MIT