Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bitliner/docky
Docky - A toolkit for docker
https://github.com/bitliner/docky
Last synced: about 20 hours ago
JSON representation
Docky - A toolkit for docker
- Host: GitHub
- URL: https://github.com/bitliner/docky
- Owner: bitliner
- Created: 2015-07-02T21:27:35.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-08-15T13:51:54.000Z (over 5 years ago)
- Last Synced: 2024-04-09T21:32:16.235Z (10 months ago)
- Language: Shell
- Size: 1.92 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# This package is deprecated and outdated
# Docky - Toolkit for Docker
Docky generates **bash** scripts to manage multiple Docker containers.
Docker containers are described inside a Yaml file, following the same format of [docker-compose](https://docs.docker.com/compose/).
## Requirements
* [NPM - Node Package Manager](http://npm.org)
* Bash## Installation
```js
npm install -g docky
```## Usage
1. create `docker-compose.yml` file. It looks like
```
web:
build: .
ports:
- "5000:5000"
volumes:
- .:/code
links:
- redis
redis:
image: redis
```2. run `docky ./docker-compose.yml` to generate `docky.sh` file
4. run `./docky.sh` to list avaiable commands**Example of available commands**
![Alt text](./docs/usage.png)
## Workflow
### `run` command
## Commands
### Commands to manage all container at once
```sh
$ ./docky run # run all containers
```
```sh
$ ./docky start # start all containers
```
```sh
$ ./docky stop # stop all containers
```
```sh
$ ./docky build # build all images
```
```sh
$ ./docky push # push all images
```
```sh
$ ./docky pull # pull all images
```### Commands to manage a single container
Just add `_` to the commands above to manage all containers at once.
```sh
$ ./docky run_ # run container
```
```sh
$ ./docky start_ # start container
```
```sh
$ ./docky stop_ # stop container
```
```sh
$ ./docky build_ # build image
```
```sh
$ ./docky push_ # push image
```
```sh
$ ./docky pull # pull all images
```