Programatically build docker container
Use-case
When you need to programatically build, create (stop and remove it if duplicate container already exist), attach and start container -
Usage
name: 'cool-one' // Will be used at build and when runned port: 3306 // Host port exposed: 5432 // Container port, that need to correlate with the one in Dockerfile envs: test: 1 // Environment variable which will be used when container is started image: 'path' // Path to docker file;
Listen to events
let builder = ...;builder;builder;builder;builder;builder;builder;builder;
Run tests
In order to run tests you should have installed and running docker.