Sign inSign up

genzouw/td

By genzouw

•Updated over 6 years ago

This is a Docker image wrapping the command line client tool td of" Treasure Data ".

Image
0

1.4K

genzouw/td repository overview

⁠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⁠

Tag summary

Content type

Image

Digest

Size

103.7 MB

Last updated

over 6 years ago

docker pull genzouw/td