Skip to content
/ td Public

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.

Notifications You must be signed in to change notification settings

genzouw/td

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

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 genzouw@gmail.com or tweet to @genzouw on Twitter.

Author Information

genzouw

About

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.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published