adocker-mysql
Docker mysql utility
Last updated a year ago by okunishinishi .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install adocker-mysql 
SYNC missed versions from official npm registry.

adocker-mysql

Build Status npm Version JS Standard

Docker mysql utility

Installation

$ npm install adocker-mysql --save

Usage

'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

Current Tags

  • 4.0.4                                ...           latest (a year ago)

19 Versions

  • 4.0.4                                ...           a year ago
  • 4.0.3                                ...           a year ago
  • 4.0.2                                ...           a year ago
  • 4.0.1                                ...           a year ago
  • 4.0.0                                ...           a year ago
  • 3.0.5                                ...           a year ago
  • 3.0.4                                ...           a year ago
  • 3.0.3                                ...           a year ago
  • 3.0.2                                ...           a year ago
  • 3.0.1                                ...           a year ago
  • 3.0.0                                ...           a year ago
  • 1.2.4                                ...           2 years ago
  • 1.2.3                                ...           2 years ago
  • 1.2.2                                ...           2 years ago
  • 1.2.1                                ...           2 years ago
  • 1.2.0                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 19
This Month 38
Last Day 0
Last Week 0
Last Month 19
Dependencies (2)
Dev Dependencies (10)

Copyright 2014 - 2017 © taobao.org |