1.0.0-alpha.1 • Published 7 years ago
docker-shell v1.0.0-alpha.1
docker-shell
Run shell commands in a running Docker container
Example
const DockerShell = require('docker-shell')
const shell = new DockerShell({
// default options
containerImage: 'node:alpine'
})
const packageName = 'ember-cli'
shell.run(`npm install -g ${packageName}`)
.then(({ kill, container }) => {
kill()
})
1.0.0-alpha.1
7 years ago