4.0.4 • Published 9 years ago
adocker-mysql v4.0.4
adocker-mysql
Docker mysql utility
Installation
$ npm install adocker-mysql --saveUsage
'use strict'
const adockerMysql = require('adocker-mysql')
const mysql = adockerMysql('my-mysql-container-01', {
onError: (err) => {
// Error handler for each commands
console.error(err)
process.exit(1)
}
})
const {run, start, stop, remove, logs} = mysql.cli()
;(async () => {
await run()
/* ... */
await logs()
/* ... */
await stop()
/* ... */
await start()
await remove({force: true})
})()License
This software is released under the MIT License.
Links
4.0.4
9 years ago
4.0.3
9 years ago
4.0.2
9 years ago
4.0.1
9 years ago
4.0.0
9 years ago
3.0.5
9 years ago
3.0.4
9 years ago
3.0.3
9 years ago
3.0.2
9 years ago
3.0.1
9 years ago
3.0.0
9 years ago
1.2.4
10 years ago
1.2.3
10 years ago
1.2.2
10 years ago
1.2.1
10 years ago
1.2.0
10 years ago
1.1.0
10 years ago
1.0.1
10 years ago
1.0.0
10 years ago