Skip to main content

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

Project details


Download files

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

Source Distribution

karakuri-0.2.6.tar.gz (3.5 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

karakuri-0.2.6.linux-x86_64.tar.gz (5.9 kB view details)

Uploaded Source

karakuri-0.2.6-py2.7.egg (7.1 kB view details)

Uploaded Egg

File details

Details for the file karakuri-0.2.6.tar.gz.

File metadata

  • Download URL: karakuri-0.2.6.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for karakuri-0.2.6.tar.gz
Algorithm Hash digest
SHA256 b8fd94b841bdce642e1db0d0d2631b1cc628750e940efb8dca10d155a1cbdd54
MD5 02ae808a3b06654632674cfd7b9f5396
BLAKE2b-256 b3d1d3d7a73035481cf0bc8da1ab5f9ffbbf88b3e410f2db5045596e616edd1e

See more details on using hashes here.

File details

Details for the file karakuri-0.2.6.linux-x86_64.tar.gz.

File metadata

File hashes

Hashes for karakuri-0.2.6.linux-x86_64.tar.gz
Algorithm Hash digest
SHA256 a7a8c1fa257163a8ca723bfec82e025d2a40694d98fb0777ebd849f40e3155c5
MD5 f86a4b40c44cbc228047d136e1009339
BLAKE2b-256 ebf8990b9b41584623634571f7269c8c29f50d5e9cb17470bf04460bb6772ff6

See more details on using hashes here.

File details

Details for the file karakuri-0.2.6-py2.7.egg.

File metadata

  • Download URL: karakuri-0.2.6-py2.7.egg
  • Upload date:
  • Size: 7.1 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for karakuri-0.2.6-py2.7.egg
Algorithm Hash digest
SHA256 7dd424e66f70d72b4c0b0c3f35afbcf1a4f7d18196dea20118ff31cb46187139
MD5 91c9196a1822ff07e5c9b9724b9bc51d
BLAKE2b-256 59887ed6e26d8e816914b9266b8610b6c0e7eaddd42688b864d241dfc151c9aa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page