Git Product home page Git Product logo

td's Introduction

td (Treasure Data Client) on Docker

Docker Cloud build status Docker Pulls Docker Cloud Automated build

dockeri.co

Description

This is a Docker image wrapping the command line client tool td of" Treasure Data ". Ruby installation, Gem installation, authentication information, etc. can all be managed by Docker container.

Please contact me anytime if you have a problem or request! My information is posted at the bottom of this document.

Requirements

All you need is one.

Installation

You do not need to install !

Usage

authenticate by running:

# Authentication settings to use APIKEY
$ docker run --name td-config genzouw/td apikey:set '*********************************************'
API key is set.
Use 'td db:create <db_name>' to create a database.

OR

# Authentication settings to use USER_ID and PASSWORD
$ docker run --name td-config genzouw/td account

Once you authenticate successfully, credentials are preserved in the volume of the td-config container.

To list databases using these credentials, run the container with --volumes-from:

# Execute (ex: `db:list`)
$ docker run --rm --volumes-from td-config genzouw/td db:list
+--------------------+------------+
| Name               | Count      |
+--------------------+------------+
| sample_datasets    | 0          |
| information_schema | 0          |
| genzouw_db         | 1153098416 |
+--------------------+------------+
3 rows in set

I recommend that you set the following alias in ~/.*rc.

$ alias td='docker run --rm --volumes-from td-config genzouw/td'

License

This software is released under the MIT License, see LICENSE.

Help

Got a question ?

File a Github issue, send an email to [email protected] or tweet to @genzouw on Twitter.

Author Information

genzouw

td's People

Contributors

genzouw avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.