Skip to main content
Help us improve Python packaging – donate today!

Task management tool for docker image

Project Description

# Karakuri

Task manager for docker image

## Requirements

* Python2
* pip
* Docker(either local or remote)

## Installation

pip install karakuri

or

pip install git+https://github.com/rail44/karakuri.git

## Config

Create `karakuri.yml` for your product.

example:

tasks:
start: bundle exec rake start
test: bundle exec rspec
default: start
links:
- db
- cache
services:
db:
image: orchardup/postgresql
ports:
- "5432"
cache:
image: tutum/memcached
ports:
- "11211"


Base systax is equivalent [fig.yml](http://orchardup.github.io/fig/yml.html).

Environment variables are avilable for linked containers.
It is able to be used same as [fig's](http://orchardup.github.io/fig/env.html).
For above example, you can use `$DB_1_PORT` in your app's database config.

**Karakuri** will try to find `karakuri.yml` from root(`/`) or `WORKDIR`.
You must add it to either.

## Usage

docker build -t <image_name> .
karakuri <image_name> <command>

If `$DOCKER_HOST` is defined, **Karakuri** will set it for Docker daemon.
For example, you can be able to run test with

karakuri <image_name> do test

Release history Release notifications

This version
History Node

0.2.6

History Node

0.2.3

History Node

0.2.2

History Node

0.2.1

History Node

0.2.0

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

History Node

0.0.2

History Node

0.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
karakuri-0.2.6.linux-x86_64.tar.gz (5.9 kB) Copy SHA256 hash SHA256 Dumb Binary any Aug 5, 2014
karakuri-0.2.6-py2.7.egg (7.1 kB) Copy SHA256 hash SHA256 Egg 2.7 Aug 5, 2014
karakuri-0.2.6.tar.gz (3.5 kB) Copy SHA256 hash SHA256 Source None Aug 5, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page