https://github.com/chanwit/gattai
Mission control for Docker
https://github.com/chanwit/gattai
Last synced: about 1 year ago
JSON representation
Mission control for Docker
- Host: GitHub
- URL: https://github.com/chanwit/gattai
- Owner: chanwit
- Created: 2015-09-12T13:17:20.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-11-03T16:36:53.000Z (over 10 years ago)
- Last Synced: 2025-02-13T03:18:18.775Z (over 1 year ago)
- Language: Go
- Size: 344 KB
- Stars: 4
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gattai
Mission control for Docker
`gattai` is a client for Docker with the orchestration workflow in mind.
It is based on `docker/cli` so its commands are fully compatible with `docker`.
Basically, `gattai` can be a drop-in replacement for `docker` client.
In addition, `gattai` includes `libmachine` for machine provisioning, codes from `swarm` for built-in discovery management. It's planned to include `libcompose` for service composition in future releases.
## Quick Start
You can setup a Docker cluster with `gattai` in just 4 steps.
* `$ gattai init` will initialize a Gattai repository to store workflow-related files.
* Open and edit `provision.yml` as follows:
```
---
machines:
ocean:
driver: digitalocean
instances: 2
options:
digitalocean-access-token: $DIGITALOCEAN_ACCESS_TOKEN
digitalocean-region: sgp1
engine-install-url: "https://experimental.docker.com"
master:
from: ocean
```
* `$ gattai provision` will read `provision.yml` and prepare 3 machines, `ocean-1`, `ocean-2` and `master`, for you.
* `$ gattai cluster -m master ocean` will form a Docker cluster using `swarm`. The `master` machine will be your `swarm` manager and set active.
After the `cluster` command, you can now use `gattai` docker commands to place containers on your cluster.
See the cast below for `gattai` in action:
